Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Enable bfloat16 for sparse_w16a16 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin authored and robertgshaw2-neuralmagic committed Feb 22, 2024
1 parent 7527b9c commit 3c11f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/model_executor/layers/sparsity/sparse_w16a16.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_name(cls) -> str:

@classmethod
def get_supported_act_dtypes(cls) -> List[torch.dtype]:
return [torch.half]
return [torch.float16, torch.bfloat16]

@classmethod
def get_min_capability(cls) -> int:
Expand Down

0 comments on commit 3c11f56

Please sign in to comment.