We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 461367a commit 5522954Copy full SHA for 5522954
1 file changed
src/diffusers/quantizers/nunchaku/nunchaku_quantizer.py
@@ -35,6 +35,9 @@ def validate_environment(self, *args, **kwargs):
35
36
device_capability = torch.cuda.get_device_capability()
37
38
+ if device_capability[0] == 9:
39
+ raise ValueError("Loading Nunchaku checkpoints is not supported on Hopper NVIDIA GPUs.")
40
+
41
has_nvfp4_config = (
42
self.quantization_config.svdq_w4a4 is not None
43
and self.quantization_config.svdq_w4a4["precision"] == "nvfp4"
0 commit comments