We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f05bdb6 commit f50101eCopy full SHA for f50101e
1 file changed
iotdb-core/ainode/iotdb/ainode/core/inference/inference_request_pool.py
@@ -121,8 +121,8 @@ def _step(self):
121
122
for requests in grouped_requests:
123
batch_inputs = self._backend.move_tensor(
124
- self._batcher.batch_request(requests), self._backend.torch_device("cpu")
125
- ) # The input data should first load to CPU in current version
+ self._batcher.batch_request(requests), self.device
+ )
126
batch_input_list = []
127
for i in range(batch_inputs.size(0)):
128
batch_input_list.append({"targets": batch_inputs[i]})
0 commit comments