File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
mistralrs-quant/src/dummy Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,11 @@ impl QuantMethod for DummyLayer {
2929 _imatrix_weight : Option < Vec < f32 > > ,
3030 _guard : QuantizeOntoGuard ,
3131 ) -> candle_core:: Result < std:: sync:: Arc < dyn QuantMethod > > {
32- candle_core:: bail!( "DummyLayer should not ever be present in forward pass!" )
32+ // This is necessary for the immediate ISQ
33+ Ok ( self )
3334 }
3435 fn dtype_and_device ( & self ) -> ( candle_core:: DType , candle_core:: Device ) {
35- ( candle_core:: DType :: F64 , candle_core:: Device :: Cpu )
36+ ( candle_core:: DType :: F32 , candle_core:: Device :: Cpu )
3637 }
3738 fn forward ( & self , _a : & candle_core:: Tensor ) -> candle_core:: Result < candle_core:: Tensor > {
3839 candle_core:: bail!( "DummyLayer should not ever be present in forward pass!" )
You can’t perform that action at this time.
0 commit comments