Skip to content

Commit 8b3a3d4

Browse files
committed
resolve conflicts with master
2 parents efc6331 + b4c542d commit 8b3a3d4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

iotdb-core/ainode/iotdb/ainode/core/inference/inference_request_pool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def _step(self):
144144
batch_output = None
145145
self._logger.error("[Inference] Unsupported pipeline type.")
146146
batch_output = self._inference_pipeline.postprocess(batch_output)
147-
148147
offset = 0
149148
for request in requests:
150149
request.output_tensor = request.output_tensor.to(self.device)

iotdb-core/ainode/iotdb/ainode/core/model/sundial/pipeline_sundial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ def postprocess(self, outputs: torch.Tensor):
5858
"""
5959
outputs = outputs.mean(dim=1).unsqueeze(1)
6060
outputs = super().postprocess(outputs)
61-
return outputs
61+
return outputs

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/function/tvf/ForecastTableFunction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676

7777
public class ForecastTableFunction implements TableFunction {
7878

79+
private static final TsBlockSerde SERDE = new TsBlockSerde();
80+
7981
public static class ForecastTableFunctionHandle implements TableFunctionHandle {
8082
String modelId;
8183
int maxInputLength;

0 commit comments

Comments
 (0)