Skip to content

Commit ba93559

Browse files
burak-turkfacebook-github-bot
authored andcommitted
introduce img_root_secondary to torchx macros (#1060)
Summary: Pull Request resolved: #1060 Differential Revision: D74093902
1 parent fe90bf8 commit ba93559

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

torchx/specs/api.py

+2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ class macros:
172172
base_img_root = "${base_img_root}"
173173
app_id = "${app_id}"
174174
replica_id = "${replica_id}"
175+
img_root_secondary = "${img_root_secondary}"
175176

176177
# rank0_env will be filled with the name of the environment variable that
177178
# provides the master host address. To get the actual hostname the
@@ -187,6 +188,7 @@ class Values:
187188
replica_id: str
188189
rank0_env: str
189190
base_img_root: str = "DEPRECATED"
191+
img_root_secondary: str = ""
190192

191193
def apply(self, role: "Role") -> "Role":
192194
"""

0 commit comments

Comments
 (0)