Estimate in-memory layer size given on-disk size and target dtype bytes. Default: no expansion (on-disk size = in-memory size).
(&self, on_disk_bytes: u64, _dtype_bytes: u64)
| 52 | /// Estimate in-memory layer size given on-disk size and target dtype bytes. |
| 53 | /// Default: no expansion (on-disk size = in-memory size). |
| 54 | fn estimate_layer_vram(&self, on_disk_bytes: u64, _dtype_bytes: u64) -> u64 { |
| 55 | on_disk_bytes |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | /// No quantization — plain safetensors, loaded as-is. |
nothing calls this directly
no outgoing calls
no test coverage detected