-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BugFix] Pop instead of del CUDA_VISIBLE_DEVICES
In case RAY_EXPERIMENTAL_NOSET_CUDA_VISIBLE_DEVICES is set, then ray won't manipulate CUDA_VISIBLE_DEVICES. If it happens that the node env also doesn't set CUDA_VISIBLE_DEVICES, a KeyError will be thrown as we directly access it with os.environ["CUDA_VISIBLE_DEVICES"] Signed-off-by: Hollow Man <[email protected]>
- Loading branch information
1 parent
fe743b7
commit 7fdf61e
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters