File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,12 @@ def build_runai_command(
9292
9393 scratch_mount_path = env .get ("SCRATCH_MOUNT_PATH" , "/mloscratch" )
9494 scratch_root = env .get ("SCRATCH_HOME_ROOT" ) or f"{ scratch_mount_path } /homes"
95+ scratch_home = env .get ("SCRATCH_HOME" ) or f"{ scratch_root } /{ env ['LDAP_USERNAME' ]} "
9596 working_dir = env .get ("WORKING_DIR" ) or f"{ scratch_root } /{ env ['LDAP_USERNAME' ]} "
9697 hf_home = env .get ("HF_HOME" ) or f"{ scratch_mount_path } /hf_cache"
9798 run_uid = str (args .uid ) if args .uid is not None else env ["LDAP_UID" ]
9899 run_gid = str (args .gid ) if args .gid is not None else env ["LDAP_GID" ]
99100
100- scratch_home = working_dir
101-
102101 literal_env = {
103102 "HOME" : f"/home/{ env ['LDAP_USERNAME' ]} " ,
104103 "NB_USER" : env ["LDAP_USERNAME" ],
You can’t perform that action at this time.
0 commit comments