()
| 478 | |
| 479 | #[test] |
| 480 | fn detect_quantization_plain_config() { |
| 481 | let tmp = tempfile::tempdir().unwrap(); |
| 482 | let cfg_path = tmp.path().join("config.json"); |
| 483 | fs::write(&cfg_path, r#"{"hidden_size": 4096}"#).unwrap(); |
| 484 | let q = detect_quantization(&cfg_path); |
| 485 | assert_eq!(q.name(), "none"); |
| 486 | } |
| 487 | |
| 488 | #[test] |
| 489 | fn detect_quantization_fp8_config() { |
nothing calls this directly
no test coverage detected