llama.cpp
Quant: OCP FP8 E4M3 support
#27512
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
40
Changes
View On
GitHub
Quant: OCP FP8 E4M3 support
#27512
ORippler
merged 40 commits into
master
from
osimons/ocp_fp8
github-actions
added
testing
github-actions
added
ggml
github-actions
added
conversion
ORippler
force pushed
from
7ab744c7
to
d21c273f
69 days ago
ORippler
force pushed
from
d21c273f
to
cef6c528
64 days ago
ORippler
force pushed
from
cef6c528
to
060faf68
39 days ago
ORippler
force pushed
from
060faf68
to
340a287d
39 days ago
ORippler
force pushed
from
340a287d
to
60dcb35a
39 days ago
ORippler
force pushed
from
60dcb35a
to
91fe47f3
39 days ago
ORippler
force pushed
from
91fe47f3
38 days ago
github-actions
added
model
ORippler
force pushed
to
b44ab5c3
38 days ago
ORippler
force pushed
to
574eb984
37 days ago
ORippler
commented on 2026-10-07
ORippler
force pushed
from
574eb984
to
8efdff03
29 days ago
ORippler
marked this pull request as ready for review
29 days ago
ORippler
requested a review
from
ggerganov
29 days ago
ORippler
requested a review
from
CISC
29 days ago
ORippler
force pushed
from
8efdff03
to
41dbb3b5
25 days ago
ORippler
force pushed
from
41dbb3b5
to
62a98751
25 days ago
ORippler
requested a review
25 days ago
github-actions
added
Apple Metal
am17an
dismissed these changes on 2026-10-13
am17an
dismissed their stale review
24 days ago
approved by mistake
ORippler
force pushed
from
62a98751
24 days ago
ORippler
requested a review
from
am17an
24 days ago
ORippler
force pushed
to
6bda1465
24 days ago
ORippler
force pushed
from
6bda1465
to
046a683f
23 days ago
am17an
approved these changes on 2026-10-15
ORippler
force pushed
from
046a683f
to
5d59657b
23 days ago
ORippler
requested a review
23 days ago
github-actions
added
devops
ORippler
force pushed
from
5d59657b
22 days ago
ORippler
force pushed
to
5dee337b
22 days ago
ORippler
force pushed
from
5dee337b
to
93f2cbde
18 days ago
ORippler
force pushed
from
93f2cbde
to
b84f0eb7
17 days ago
ORippler
force pushed
from
41ee520c
to
597effad
17 days ago
ORippler
force pushed
from
5012aefa
to
105721bc
17 days ago
ORippler
force pushed
from
105721bc
to
b737e966
17 days ago
ORippler
force pushed
from
b737e966
to
87c28f0c
16 days ago
pwilkin
approved these changes on 2026-10-23
ORippler
force pushed
from
905d5631
to
aa29e168
16 days ago
ORippler
requested a review
from
pwilkin
16 days ago
CISC
commented on 2026-10-23
ORippler
force pushed
from
ee4c0219
to
8b040af3
15 days ago
pwilkin
approved these changes on 2026-10-23
ORippler
force pushed
from
8b040af3
to
3ee00084
11 days ago
ORippler
requested a review
from
CISC
11 days ago
ORippler
force pushed
from
3ee00084
to
fe32e5a2
11 days ago
ORippler
force pushed
from
fe32e5a2
to
7cf892cb
11 days ago
CISC
approved these changes on 2026-10-27
ggerganov
commented on 2026-10-28
0cc4m
approved these changes on 2026-10-29
ORippler
requested a review
10 days ago
ORippler
requested a review
10 days ago
WIP OCP FP8 E4M3 support
a61fb04e
Fix python type-checker
f225f62d
Materialize input_scales also for FP8 when converting
d5c93499
Fix conversion of https://huggingface.co/RedHatAI/Qwen3.8-27B-NVFP4
a551e83a
Allow remaining FP8 tensors to be dequantized during conversion
01f27ffd
Allow tensor-strategy for FP8-only compressed-tensor ckpts
84b69cc6
Fix and test gguf-py behavior for FP8_E4M3
5566de00
Disallow QKV-fusion for FP8 temporarily
39bbcfa9
Fix conversion of fused qkvz & FP8 for Qwen3-Next
5a5d5cd0
Avoid fusing FP8 for --fuse-gate-up-exps as we may have different ws
a22a2358
Emit warnings when not fusing FP8 during conversion
e798cfe5
More FP8 conversion fixes
f0c24471
Add supported for strided copies to/from FP8 in CPU
e16593d4
remove unneeded scratch buffer from FP8 cpu cpy/dup path
f0046231
add explanatory comments and TODOs
291f0ac4
Add dedicated encoder and decoder tests for FP8
949e2fbd
Whitelist ggml_op_get_rows in metal instead of blacklisting
c6e02857
Fix more conversion bugs
6ba67406
Defer weight materialization during conversion
43a09ddc
Blacklist fp8 in metal backend instead of white-list
2dfa62ec
Adjust indents
d124cf97
Fix lint + execute tests
a532b97e
Add fast CPU kernel for F8_E4M3
2eb5e76b
Conversion fixes
6095b9a7
Fix remaining gaps
cc572673
Enable tied weights with shared scales
3b8c645a
Make mandatory-F32 rules apply to FP8 during conversion
dd35612e
Fix python type checks
69c13d6a
Fix kaleidai unit-test failures
32dff68e
Relax numeric precision constraints for pre-check
52708293
Leave fast-FP8 CPU on RISC-V for follow-up
f0c6caa9
Allow output scale tensors to be located in any gguf shard
e2ec2a70
Move test_conversion_fp8.py test execution to behavior-check.yaml
1ec1aecf
WIP OCP FP8 E4M3 support
a61fb04e
Fix python type-checker
f225f62d
Materialize input_scales also for FP8 when converting
d5c93499
Fix conversion of https://huggingface.co/RedHatAI/Qwen3.8-27B-NVFP4
a551e83a
Allow tensor-strategy for FP8-only compressed-tensor ckpts
84b69cc6
Fix and test gguf-py behavior for FP8_E4M3
5566de00
Disallow QKV-fusion for FP8 temporarily
39bbcfa9
Fix conversion of fused qkvz & FP8 for Qwen3-Next
5a5d5cd0
Avoid fusing FP8 for --fuse-gate-up-exps as we may have different ws
a22a2358
Emit warnings when not fusing FP8 during conversion
e798cfe5
More FP8 conversion fixes
f0c24471
Add supported for strided copies to/from FP8 in CPU
e16593d4
remove unneeded scratch buffer from FP8 cpu cpy/dup path
f0046231
add explanatory comments and TODOs
291f0ac4
Add dedicated encoder and decoder tests for FP8
949e2fbd
Whitelist ggml_op_get_rows in metal instead of blacklisting
c6e02857
Fix more conversion bugs
6ba67406
Defer weight materialization during conversion
43a09ddc
Blacklist fp8 in metal backend instead of white-list
2dfa62ec
Adjust indents
d124cf97
Fix lint + execute tests
a532b97e
Add fast CPU kernel for F8_E4M3
2eb5e76b
Conversion fixes
6095b9a7
Fix remaining gaps
cc572673
Enable tied weights with shared scales
3b8c645a
Make mandatory-F32 rules apply to FP8 during conversion
dd35612e
Fix python type checks
69c13d6a
Fix kaleidai unit-test failures
32dff68e
Relax numeric precision constraints for pre-check
52708293
Leave fast-FP8 CPU on RISC-V for follow-up
f0c6caa9
Allow output scale tensors to be located in any gguf shard
e2ec2a70
Move mixed compressed-tensor logic into dequant_fp8 + add unit-tests …
52f0c048
Install all requirements also on Windows for behavior-check
31049c8c
LF line endings
2505793e
Extract FP8 tests from llama-arch to its own test-fixture
9acf4473
Update gguf-py/gguf/scripts/gguf_convert_endian.py
6f53ba82
ORippler
force pushed
from
518b302a
to
6f53ba82
10 days ago
danbev
commented on 2026-10-29
ORippler
requested a review
from
ggerganov
10 days ago
ggerganov
approved these changes on 2026-10-29
danbev
approved these changes on 2026-10-29
ORippler
merged
68d20b88
into master
9 days ago
ggerganov
added
highlight
Login to write a write a comment.
Login via GitHub
Reviewers
danbev
ggerganov
0cc4m
CISC
pwilkin
am17an
Assignees
No one assigned
Labels
model
testing
devops
ggml
Apple Metal
conversion
highlight
Milestone
No milestone