Skip to content

Commit 76bbec9

Browse files
authored
support nvct (#2393)
1 parent 9ccbc6f commit 76bbec9

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

metaflow/plugins/argo/argo_workflows_cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"snowpark": "Step *%s* is marked for execution on Snowpark with Argo Workflows which isn't currently supported.",
4141
"slurm": "Step *%s* is marked for execution on Slurm with Argo Workflows which isn't currently supported.",
4242
"nvidia": "Step *%s* is marked for execution on Nvidia with Argo Workflows which isn't currently supported.",
43+
"nvct": "Step *%s* is marked for execution on Nvct with Argo Workflows which isn't currently supported.",
4344
}
4445

4546

metaflow/plugins/pypi/conda_decorator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ def runtime_task_created(
227227
self.interpreter = (
228228
self.environment.interpreter(self.step)
229229
if not any(
230-
decorator.name in ["batch", "kubernetes", "nvidia", "snowpark", "slurm"]
230+
decorator.name
231+
in ["batch", "kubernetes", "nvidia", "snowpark", "slurm", "nvct"]
231232
for decorator in next(
232233
step for step in self.flow if step.name == self.step
233234
).decorators

metaflow/plugins/pypi/conda_environment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ def get_environment(self, step):
326326
"nvidia",
327327
"snowpark",
328328
"slurm",
329+
"nvct",
329330
]:
330331
target_platform = getattr(decorator, "target_platform", "linux-64")
331332
break

0 commit comments

Comments
 (0)