Skip to content

Commit

Permalink
Update compressed_tensors_w8a8_fp8.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Yantom1 authored Sep 25, 2024
1 parent 3e8762e commit 5726801
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class CompressedTensorsW8A8Fp8(CompressedTensorsScheme):
def __init__(self, strategy: str, is_static_input_scheme: bool):
self.strategy = strategy
self.is_static_input_scheme = is_static_input_scheme
self.cutlass_fp8_supported = cutlass_fp8_supported(
) if torch.cuda.is_available() else False
self.cutlass_fp8_supported = not current_platform.is_hpu() and \
cutlass_fp8_supported()

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

0 comments on commit 5726801

Please sign in to comment.