Skip to content

Commit

Permalink
Update accelerator/mps_accelerator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tjruwase authored Apr 20, 2024
1 parent d75c634 commit b4d465b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions accelerator/mps_accelerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def build_extension(self):
def export_envs(self):
return []

# TODO: mpu's visible envs is confirmed, keep as CUDA_VISIBLE_DEVICES
def visible_devices_envs(self):
# TODO: could not find visible devices env for mps
return ['CUDA_VISIBLE_DEVICES']
Expand Down

0 comments on commit b4d465b

Please sign in to comment.