We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b051f02 commit 2b75949Copy full SHA for 2b75949
1 file changed
scripts/submit.py
@@ -113,9 +113,10 @@ def main() -> None:
113
config.slurm.num_nodes = 1
114
config.slurm.gpus_per_node = 1
115
116
+ if config.container is not None and config.container.env_file:
117
+ _apply_hf_env_from_file(config.container.env_file)
118
+
119
if config.offline or config.prefetch_assets:
- if config.container is not None and config.container.env_file:
- _apply_hf_env_from_file(config.container.env_file)
120
logger.info(
121
"offline=True: pre-fetching models and datasets on the login node "
122
"before submitting the job."
0 commit comments