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:
温差 2025-06-26 21:26:56 +08:00 committed by 博惟
parent 254614df87
commit a5cabddcea
1 changed files with 1 additions and 1 deletions

View File

@ -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