Skip to content

Commit e246154

Browse files
committed
Convert value to string before setting it as env var.
1 parent db6d05a commit e246154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/jobs/templates/driver_pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def set_env_var(self):
691691
}
692692
for k, v in defaults.items():
693693
if k not in os.environ:
694-
os.environ[k] = v
694+
os.environ[k] = str(v)
695695

696696
def run(self):
697697
"""Runs the user's command.

0 commit comments

Comments
 (0)