mirror of https://github.com/inclusionAI/AReaL
PullRequest: 293 fix get_param_realloc_path
Merge branch xss/debug of git@code.alipay.com:inclusionAI/AReaL.git into gh https://code.alipay.com/inclusionAI/AReaL/pull_requests/293 Reviewed-by: 博惟 <bowei.fw@antgroup.com> * fix get_param_realloc_path
This commit is contained in:
parent
254614df87
commit
a5cabddcea
|
@ -110,7 +110,7 @@ def get_save_path(args: "BaseExperimentConfig") -> str:
|
|||
|
||||
|
||||
def get_param_realloc_path(args: "BaseExperimentConfig"):
|
||||
path = f"{args.cluster.fileroot}/.cache/{getpass.getuser()}/param_realloc"
|
||||
path = f"{args.cluster.fileroot}/.cache/{getpass.getuser()}/param_realloc/{args.experiment_name}/{args.trial_name}"
|
||||
os.makedirs(path, exist_ok=True)
|
||||
return path
|
||||
|
||||
|
|
Loading…
Reference in New Issue