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 ebab63f commit 9c673b2Copy full SHA for 9c673b2
tests/examples/test_quantization_w4a4_fp4.py
@@ -1,4 +1,5 @@
1
2
+import json
3
import shlex
4
from pathlib import Path
5
from typing import List
@@ -51,6 +52,6 @@ def test_quantization_w4a4_fp4_example_script(
51
52
print(list(nvfp4_dirs[0].iterdir()))
53
54
# is the generated content in the expected format?
- config_json = Path(nvfp4_dirs[0] / "config.json").read_text()
55
+ config_json = json.loads(Path(nvfp4_dirs[0] / "config.json").read_text())
56
config_format = config_json["quantization_config"]["format"]
57
assert(config_format == "nvfp4-pack-quantized")
0 commit comments