Skip to content

Commit

Permalink
provide accelerators pipeline start upload (#474)
Browse files Browse the repository at this point in the history
* add accelerators to PipelineStartUpload

* bump version
  • Loading branch information
plutopulp authored Jul 26, 2024
1 parent bd5451d commit 3aa9aab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pipeline/cloud/schemas/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class PipelineStartUpload(BaseModel):
pipeline_tag: t.Optional[str]
cluster: PipelineClusterConfig | None = None
turbo_registry: bool = False
accelerators: list[Accelerator] = []


class PipelineStartUploadResponse(BaseModel):
Expand Down
1 change: 1 addition & 0 deletions pipeline/console/container/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def push_container(namespace: Namespace):
pipeline_tag=None,
cluster=pipeline_config.cluster,
turbo_registry=True if turbo_registry else False,
accelerators=pipeline_config.accelerators,
).dict(),
)
start_upload_dict = start_upload_response.json()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pipeline-ai"
version = "2.4.5"
version = "2.4.6"
description = "Pipelines for machine learning workloads."
authors = [
"Paul Hetherington <ph@mystic.ai>",
Expand Down

0 comments on commit 3aa9aab

Please sign in to comment.