Skip to content

Commit

Permalink
code crashes for rocm added proper type cast for env var
Browse files Browse the repository at this point in the history
Signed-off-by: Brian <[email protected]>
  • Loading branch information
bmahabirbu committed Jan 20, 2025
1 parent 25168aa commit 964a8ea
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 964a8ea

Please sign in to comment.