mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
nightly robustness fixes for linking across devices (#43771)
Summary: Fixes https://github.com/pytorch/pytorch/issues/43761 CC rgommers ezyang Pull Request resolved: https://github.com/pytorch/pytorch/pull/43771 Reviewed By: glaringlee Differential Revision: D23819835 Pulled By: malfet fbshipit-source-id: a3be2780c4b8bdbf347d456c4d14df863c2ff8c2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
42af2c7923
commit
7de512ced8
@ -489,7 +489,10 @@ def move_nightly_files(spdir, platform):
|
||||
if platform.startswith("win"):
|
||||
_copy_files(listing, source_dir, target_dir)
|
||||
else:
|
||||
_link_files(listing, source_dir, target_dir)
|
||||
try:
|
||||
_link_files(listing, source_dir, target_dir)
|
||||
except Exception:
|
||||
_copy_files(listing, source_dir, target_dir)
|
||||
|
||||
|
||||
def _available_envs():
|
||||
|
||||
Reference in New Issue
Block a user