()
| 487 | |
| 488 | #[test] |
| 489 | fn detect_quantization_fp8_config() { |
| 490 | let tmp = tempfile::tempdir().unwrap(); |
| 491 | let cfg_path = tmp.path().join("config.json"); |
| 492 | fs::write( |
| 493 | &cfg_path, |
| 494 | r#"{"quantization_config": {"quant_method": "fp8"}}"#, |
| 495 | ) |
| 496 | .unwrap(); |
| 497 | let q = detect_quantization(&cfg_path); |
| 498 | assert_eq!(q.name(), "fp8"); |
| 499 | } |
| 500 | |
| 501 | #[test] |
| 502 | fn detect_quantization_gptq_config() { |
nothing calls this directly
no test coverage detected