Commit 68641fe
committed
fix(models): fix method variable scope in quantization fallback
The method variable was declared inside the for loop, causing
'method is not defined' error when referenced after the loop.
Moved declaration outside loop to fix scope issue.
This allows the FP32 fallback to work correctly when INT4
quantization fails (e.g., on incompatible model architectures).1 parent a196057 commit 68641fe
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
227 | | - | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
0 commit comments