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 21, 2024
1 parent c0ded57 commit 6ece5c5
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 6ece5c5

Please sign in to comment.