Skip to content

Commit d30a69b

Browse files
mohamedzeidan2021Mohamed Zeidan
andauthored
revert node-count val (#253)
Co-authored-by: Mohamed Zeidan <[email protected]>
1 parent c7a285b commit d30a69b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hyperpod-pytorch-job-template/hyperpod_pytorch_job_template/v1_1/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class PyTorchJobConfig(BaseModel):
110110
min_length=1
111111
)
112112
node_count: Optional[int] = Field(
113-
default=1,
113+
default=None,
114114
alias="node_count",
115115
description="Number of nodes",
116116
ge=1

hyperpod-pytorch-job-template/hyperpod_pytorch_job_template/v1_1/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
"type": "null"
203203
}
204204
],
205-
"default": 1,
205+
"default": null,
206206
"description": "Number of nodes",
207207
"title": "Node Count"
208208
},

0 commit comments

Comments
 (0)