Skip to content

Commit

Permalink
Merge pull request #602 from containers/rocm-hotfix
Browse files Browse the repository at this point in the history
code crashes for rocm added proper type cast for env var
  • Loading branch information
ericcurtin authored Jan 21, 2025
2 parents 25168aa + 964a8ea commit e08af09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramalama/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_gpu():
i += 1

if gpu_bytes:
os.environ["HIP_VISIBLE_DEVICES"] = gpu_num
os.environ["HIP_VISIBLE_DEVICES"] = str(gpu_num)
return


Expand Down

0 comments on commit e08af09

Please sign in to comment.