Files
Arthur b7c4168479 Quantization cleanpup (#49548)
* first cleanup

* more cleanup

The various agent PRs most probably did not understand the core logic /
idea behind the weight converter, this left a lot of method patching
here and ther.
1. Deserialize: some method just need a cast, other need more work. The
ConversionOps added as the "first" operation, updating the weights
conversion (each one of them) are here for that.
2. TP: bloated code to just update a plan.
3. Patch: I have no idea how, but we accepted plans that had explicit
overwrite. This is legacy

* update

* sub config fixes

Saw another PR recently: #48759, had the same bug. this adresses it

* more simplification

* debloat more shit, standardize

* nits

* fucking bloatland

* Fix PR slow CI suggestion install: non-editable install

* update now that the $ bloat is gone

* Fix PR slow CI suggestion: install transformers in a venv (system site-packages not writable)

* metal tests: unanchored weight key

* nits this time

* up

* remove last pieces of dead code

* fix failing test

* fix test

* pr comments

* human coments

* Treat scales and etc individually?

* use a map

* replicate explicitely

* impl copy

* Quantized element size as property, one-line FP8Experts comments, ue8m0 float32 scale loading test

* Drop the $ anchor from the bailing_hybrid expert_bias renaming, patterns end on a name boundary now

* Restore the 1 byte quantized element size of FineGrainedFP8

* Quantized element size as a property in every quantizer
2026-10-16 11:38:59 +02:00
..
2026-10-13 15:11:48 +00:00