{"record":{"id":"7b5306c150dee2b3","repo":"tracel-ai/burn","slug":"not-implemented-7b5306","errorCode":null,"errorMessage":"not implemented","messagePattern":"not implemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/burn-router/src/ops/qtensor.rs","lineNumber":12,"sourceCode":"use burn_backend::{\n    ExecutionError, FloatDType, Shape, TensorData,\n    ops::QTensorOps,\n    quantization::{QuantScheme, QuantizationParametersPrimitive},\n    tensor::{Device, FloatTensor, QuantizedTensor},\n};\n\nuse crate::{BackendRouter, RouterChannel};\n\nimpl<R: RouterChannel> QTensorOps<Self> for BackendRouter<R> {\n    fn q_from_data(_data: TensorData, _device: &Device<Self>) -> QuantizedTensor<Self> {\n        unimplemented!()\n    }\n\n    fn quantize(\n        _tensor: FloatTensor<Self>,\n        _scheme: &QuantScheme,\n        _qparams: QuantizationParametersPrimitive<Self>,\n    ) -> QuantizedTensor<Self> {\n        unimplemented!()\n    }\n\n    fn quantize_dynamic(\n        _tensor: FloatTensor<Self>,\n        _scheme: &QuantScheme,\n    ) -> QuantizedTensor<Self> {\n        unimplemented!()\n    }\n\n    fn dequantize(_tensor: QuantizedTensor<Self>, _dtype: FloatDType) -> FloatTensor<Self> {","sourceCodeStart":1,"sourceCodeEnd":30,"githubUrl":"https://github.com/tracel-ai/burn/blob/d16f7ba2ed0d41408189384044cc886fb4c8f957/crates/burn-router/src/ops/qtensor.rs#L1-L30","documentation":"Stub guard in `BackendRouter`'s QTensorOps implementation: quantized tensor operations (`q_from_data`, `quantize`, etc.) are intentionally not implemented for the router backend; any call panics with `not implemented`.","triggerScenarios":"Thrown at crates/burn-router/src/ops/qtensor.rs:12 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a concrete backend that implements quantization (e.g., burn-ndarray, cubecl backends)","Dequantize the model weights before routing to this backend","Implement QTensorOps for the router channel if quantization routing is required"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d16f7ba2ed0d41408189384044cc886fb4c8f957","analyzedAt":"2026-09-05T13:19:14.260Z","contentChangedAt":"2026-09-05T13:19:14.260Z","schemaVersion":2},"datasetVersion":"2026-09-12T17:17:11.597Z"}