Engine hooks for the quantization plan loader: load_serialized, sharding op, in-place params #50907
[compressed-tensors] dequantize while loading through the conversion …
6030455c
[compressed-tensors] dequantize=True drops w8a8 activation quantizati…
ac8b3c96
[compressed-tensors] dequantize is the user's flag: base picks the lo…
eaadfac3
[compressed-tensors] static serialized names and load op, op resolves…
0501fe0f
[compressed-tensors] deserialize through the conversion mapping: weig…
93b11334
[quantization] per-layer quantization plan: mixed NVFP4 + FP8 checkpo…
6309e6ea
[quantization] plan: TypeGuard for the plans
387320fc
[quantization] no left name boundary: own-name converters use 3 name …
749a2632
[compressed-tensors] dequantize while loading through the conversion …
14796da4
[compressed-tensors] dequantize=True drops w8a8 activation quantizati…
81ff283f
[compressed-tensors] dequantize is the user's flag: base picks the lo…
3acfe149
[compressed-tensors] static serialized names and load op, op resolves…
acc40ca4
[compressed-tensors] deserialize through the conversion mapping: weig…
20b3c02e
[compressed-tensors] keep weights compressed unless dequantize=True
7cf9e8ae
[quantization] quantize on the fly through a "quantize" load operation
142380e8
[quantization] bnb dequantizes through the "dequantize" load operatio…
1a3ccb59
[quantization] every config takes `dequantize`, a loading attribute o…
9cad2c38
[quantization] gemma dequantizes through the "dequantize" load operation
1f799fc1
[quantization] remove post-load model.dequantize(): load with dequant…
4e221ebd
[quantization] "dequantize" load operation for every quantizer
8c93f47c
[loading] source patterns start on a name boundary; don't dequantize …
d621a7cd
[quantization] saving goes through the "serialize" load operation (to…
ae153968
[quantization] hqq "quantize" op; higgs repacks in "deserialize"; fbg…
cfccc9c0
[loading] non-persistent buffers holding a value keep it when moved o…
baf46a18
[quantization] sinq saves through "serialize"; fbgemm input_scale_ub …
d07429eb
[quantization] dequantize fused params stored under their own name; n…
cbb64d83
[quantization] quantizers import without torch; doc headings without …
2e7276ff
[quantization] review: `dequantizing` property, one FP4 table, leftov…
47e4ec2c
[quantization] `dequantizing` holds for configs without the attribute
0e4799db
[quantization] get_weight_conversions reads `dequantizing`
104943c3
[quantization] leave NVFP4, fused-experts dequantize, the fp8 chain f…
a5fcfdfe
[loading] keep WeightTransform.quantization_operation for peft
0e162f00
[quantization] port bnb dequantize tests to dequantize=True
9311c929
[quantization] bnb dequantize: undo Conv1D transpose, cast to the den…
4f110910
[compressed-tensors] test the default load keeps the compressed forma…
c1884c25
[quantization] say dequantized / unquantized instead of dense
fec5a1f2
[hqq] swap in empty HqqLinear before loading, load ops fill it in place
3d0dd750
[quantization] swap modules in one pass through a per-quantizer `quan…
103d28ba
[compressed-tensors] docs: default load keeps the compressed format a…
ac06ef59
Merge remote-tracking branch 'origin/compressed-tensors-dequantize-on…
dbfba366
[quantization] plan: one update_weight_conversions, quantizer sets ea…
5e2c8471
[quantization] plan: delegate after-load hooks, drop dequantized patt…
165c1f42
[eetq] dequantize without the kernel: undo the CUTLASS layout in torc…
5e01aa6b
[quantization] quantizer_for -> get_quantizer
33194b48
[quantization] dequantize without kernels: torch bnb 4-bit dequant, s…
5ac253ad
Merge remote-tracking branch 'origin/compressed-tensors-dequantize-on…
49d23434
Merge remote-tracking branch 'origin/quantize-load-operation' into HEAD
546564b6
[fp8] bring back replace_with_fp8_embedding
e5314e79
[fp8] drop replace_with_fp8_embedding again: quantized_module swaps t…
96923370
[quantization] load ModelOpt per-layer checkpoints (NVFP4, FP8, MXFP4…
d27969b6
[quantization plan] cleanup: core back near main, NVFP4 experts forwa…
8333cb22
Merge quantize-load-operation (#50240): quantize is a load operation,…
41722334
Merge main into mixed-nvfp4-fp8-plan
959185c0
Split: quantize / dequantize as load operations move to their own PR …
4d4e8b89
[docs] add a quantized format: from a FineGrainedFP8 config to a new …
c8e86f58
[fp8] deserialize ue8m0 scales saved as bytes by their bits (MXFP8)
a2ae59f4
[quantization] docs follow the plan; ModelOpt single quant_algo loads…
6e4953a7
human text
3a23dd5c
not a fan yes of this shit
706bebd6
nits
034c0c37
unbloat the fuck up
809e9e71
more unbloat
0377ebe8
is it simpler?
8d3639d1
one line
2e6066a2
trying to simplify
2431bfeb
simplify ?
adb262b9
nits
5e175d00
will this work?
a4f26d2c
cleanup?
8bc15305
this should make it simpler overall
5243cca0
reject stuffs that need more work for now
035a195f
nits
d5141f8d
renames
647fb5e4
nit
aca01928
super nit
85c8e9e7
doc and rename
efa360a2
space
417f08d1
update
769a6ffb
up
488376e9
Update src/transformers/core_model_loading.py
5564888e
Merge remote-tracking branch 'origin/main' into mixed-nvfp4-fp8-plan
47a6551f
Merge remote-tracking branch 'origin/mixed-nvfp4-fp8-plan' into mixed…
cf8a3e8b
Sort the integrations init (init_isort)
5e4d4fbc
Kimi-K2.5: name the qkv params its converter unfuses
7b1faa50
ai update for most review comments, cleaning up now
94909526
Address review: plan out of Auto, schema readers, per-format experts …
94c9abc2
FP8: drop the MXFP4 paths, MXFP4 experts run on their own interface
ef08fc2e
Rename renamed_names to checkpoint_renames; TODO for MiniMax M3's moe…
3e87b6b6
Shorten the FP8 DeepGEMM dispatch comments (noisy_comments)
baabd050
FP8 dequantize round trip (single format), NVFP4 experts via experts …
4cf548b3
cleanup some shit
04f6f81c
up
b9c16953
Dequantized models save unquantized again (TODO: quantize back)
5a253392
Merge remote-tracking branch 'origin/main' into mixed-nvfp4-fp8-plan
aabbd560
Quantization plan fixes: bitsandbytes loading, NVFP4 parallelism and …
bb5fc01b
Docstrings, spacing and an NVFP4 limitations note; NVFP4 EP test runs…
2baa90ff
quantizers: load_serialized, for engines with their own kernels
eeae8963
convert_and_load: pluggable sharding op + in-place params, for engine…
085c2145
convert_and_load in place: reshape a same-size value to the param's s…
2e2e5bb7
Quantization plan: a format kept serialized converts nothing
c031e021
convert_and_load: a converter target that is not a param falls back t…
2a7413ca
convert_and_load in place: load_in_place may be the engine's loader (…
dd2f1fc2
convert_and_load in place: an engine's loader owns the shape check (p…
cf0492b2
quantizers: load_before_model_ops, a format's op on each tensor befor…
86d091f3
quantization plan: a param only renamed gets its quantizer's load op …
3b0d8e64
Plan: a requantizing quantizer dequantizes before the model ops and q…
47276338
Loading: a key's converter is the one whose scope holds it, when scop…
263ac326
Simplify the quantization-plan loading
7cfacfe1
Renamings: any \N back-reference, not only \1
3c804904
Unbloat: drop dead merge_quantization_configs, one experts-swap helpe…
72e6a556
ArthurZucker
force-pushed the
mixed-nvfp4-fp8-plan
branch
from
2baa90ff
to
9350c066
2 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub