File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
buildkite/pipeline_generator Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,6 @@ class Step(BaseModel):
2727 optional : Optional [bool ] = False
2828 no_plugin : Optional [bool ] = False
2929 mirror : Optional [Dict [str , Dict [str , Any ]]] = None
30- torch_nightly : Optional [bool ] = False
31-
32- @model_validator (mode = "after" )
33- def normalize_torch_nightly_to_mirror (self ) -> Self :
34- """Support both `torch_nightly: true` and `mirror: {torch_nightly: {}}`.
35-
36- If the legacy `torch_nightly: true` field is set, promote it into the
37- `mirror` dict so the rest of the code only needs to check one place.
38- """
39- if self .torch_nightly :
40- if self .mirror is None :
41- self .mirror = {}
42- self .mirror .setdefault ("torch_nightly" , {})
43- return self
4430
4531 @model_validator (mode = "after" )
4632 def validate_multi_node (self ) -> Self :
You can’t perform that action at this time.
0 commit comments