Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
lshqqytiger committed Jul 7, 2024
1 parent 845d859 commit ee49046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/zluda.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test(device: DeviceLikeType) -> Union[Exception, None]:

def initialize_zluda():
device = devices.get_optimal_device()
if not devices.cuda_ok or not is_zluda(device):
if not torch.cuda.is_available() or not is_zluda(device):
return

do_hijack()
Expand Down

0 comments on commit ee49046

Please sign in to comment.