Skip to content

Commit

Permalink
Update bitsandbytes/functional.py
Browse files Browse the repository at this point in the history
Co-authored-by: Aarni Koskela <[email protected]>
  • Loading branch information
matthewdouglas and akx authored Oct 31, 2024
1 parent b9cb5c9 commit 6fa7905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitsandbytes/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def get_special_format_str():
return "row"


def is_on_gpu(tensors: Iterable[torch.Tensor]):
def is_on_gpu(tensors: Iterable[Optional[torch.Tensor]]):
on_gpu = True
gpu_ids = set()

Expand Down

0 comments on commit 6fa7905

Please sign in to comment.