Skip to content

Commit 123e63f

Browse files
committed
revert useless code updates
1 parent f4dbc6d commit 123e63f

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

integration-test/src/test/java/org/apache/iotdb/ainode/it/AINodeConcurrentForecastIT.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ private static void prepareDataForTableModel() throws SQLException {
7979
@Test
8080
public void concurrentGPUForecastTest() throws SQLException, InterruptedException {
8181
for (AINodeTestUtils.FakeModelInfo modelInfo : BUILTIN_LTSM_MAP.values()) {
82-
if (modelInfo.getModelId().equals("chronos2")) {
83-
// TODO: @yunbow30944 Support chronos2 model concurrent inference in GPU
84-
continue;
85-
}
8682
concurrentGPUForecastTest(modelInfo);
8783
}
8884
}

iotdb-core/ainode/iotdb/ainode/core/model/chronos2/models.py renamed to iotdb-core/ainode/iotdb/ainode/core/model/chronos2/model.py

File renamed without changes.

iotdb-core/ainode/iotdb/ainode/core/model/model_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def __repr__(self):
138138
repo_id="amazon/chronos-2",
139139
auto_map={
140140
"AutoConfig": "config.Chronos2ForecastingConfig",
141-
"AutoModelForCausalLM": "models.Chronos2Model",
141+
"AutoModelForCausalLM": "model.Chronos2Model",
142142
},
143143
),
144144
}

0 commit comments

Comments
 (0)