Add DeepSeek V4 #45643

ArthurZucker merged 44 commits into main from add-deepseek-v4
ArthurZucker
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker
ArthurZucker commented on 2026-04-27
ArthurZucker
ArthurZucker commented on 2026-04-27
ArthurZucker
ArthurZucker commented on 2026-04-27
ArthurZucker
ArthurZucker commented on 2026-04-27
ArthurZucker
ArthurZucker commented on 2026-04-28
ArthurZucker
ArthurZucker commented on 2026-04-28
ArthurZucker ArthurZucker force pushed from a79ed835 to b9a5c6b0 100 days ago
ArthurZucker Add DeepSeek V4 (modular)
26c62d03
ArthurZucker ArthurZucker force pushed from f2ffc230 to 26c62d03 100 days ago
ArthurZucker Split V4 HCA / CSA caches and compressors into independent classes
8b3c91ab
ArthurZucker Fix tests_generate / tests_tensor_parallel CI failures
b4b3a202
vasqu
vasqu commented on 2026-04-28
kylesayrs
0hujun
0hujun commented on 2026-04-29
ArthurZucker
ArthurZucker Address PR review feedback batch (comments 2-24)
6baa6534
ArthurZucker Address PR review feedback batch (comments 25-42)
838cc0cd
ArthurZucker Fix Fp8Dequantize.reverse_op to actually re-quantize on save
f18a6b8e
ArthurZucker
ArthurZucker commented on 2026-04-29
ArthurZucker Address Arthur's review batch + revisit two of vasqu's comments
921a8dc0
ArthurZucker
ArthurZucker commented on 2026-04-29
ArthurZucker
ArthurZucker commented on 2026-04-29
ArthurZucker Apply suggestions from code review
6d82332c
ArthurZucker Move DeepseekV4Config out of modular + simplify __post_init__
4ee8e479
ArthurZucker Fix V4 TP failures: dynamic num_key_value_groups + FP8-safe GroupedLi…
ea29922b
ArthurZucker Revert GroupedLinear F.linear loop, keep bmm
092dcd62
ArthurZucker
ArthurZucker commented on 2026-04-29
ArthurZucker Fix V4 GroupedLinear comment with real V4-Flash / V4-Pro config values
def7199e
ArthurZucker up
631151d4
ArthurZucker up
fa0369fd
ArthurZucker small cleanup
5f711e01
ArthurZucker repo fixes
b5998a0f
ArthurZucker nits
dcbe66bf
ArthurZucker more nits
aecf3192
ArthurZucker nits, small thing left to do
4fc49a03
ArthurZucker update
02356fec
ArthurZucker
ArthurZucker update DeepseekV4HCACache
8124d3e6
ArthurZucker more update
45c43230
ArthurZucker nits
a48b51b6
ArthurZucker update
46bc5642
ArthurZucker Merge branch 'add-deepseek-v4' of github.com:huggingface/transformers…
240647ad
ArthurZucker Merge branch 'add-deepseek-v4' of github.com:huggingface/transformers…
5eb7bec3
ArthurZucker update
8f807c19
ArthurZucker nits
0c62b587
ArthurZucker update
e32e9a84
ArthurZucker fixes
5b125c67
ArthurZucker nits
07aca9ff
ArthurZucker ArthurZucker marked this pull request as ready for review 97 days ago
ArthurZucker Merge branch 'main' of https://github.com/huggingface/transformers in…
913adcc4
ArthurZucker Fix CI: \N>1 backrefs in conversion mapping + drop irrelevant drift
7b5b54a2
ArthurZucker Drop TP plan from V4 attention path; keep EP-only on experts
7feb6a15
vasqu
vasqu commented on 2026-05-01
ArthurZucker Address vasqu review batch + skip quantized-TP test
d515ec5d
ArthurZucker Drop model. prefix from V4 conversion mapping + tester / parity cleanup
65e564f4
ArthurZucker Silence Unrecognized rope_parameters keys warning
a021e849
ArthurZucker Disable flex_attention on V4; guard tensor-only mask pad
0e35cfd4
ArthurZucker Switch V4 to EP-only plan (gpt-oss style)
a55ffee8
ArthurZucker Fix V4 yarn rope validation under nested rope_parameters
d86d46d1
ArthurZucker Trim V4 config-attribute allowlist from 24 → 6
ff720b31
ArthurZucker Inline V4 config legacy-kwarg + resolve_* helpers into __post_init__
c9460879
ArthurZucker Disable FlashAttention on V4: head_dim=512 exceeds the 256 cap
62a75c01
github-actions
ArthurZucker ArthurZucker added New model
ArthurZucker
ArthurZucker update
08e4cf82
ArthurZucker
github-actions
ArthurZucker ArthurZucker merged b6fb4ec0 into main 95 days ago
ArthurZucker ArthurZucker deleted the add-deepseek-v4 branch 95 days ago
github-actions
yiakwy-xpu-ml-framework-team
yiakwy-xpu-ml-framework-team commented on 2026-05-08
yiakwy-xpu-ml-framework-team
yiakwy-xpu-ml-framework-team
yiakwy-xpu-ml-framework-team commented on 2026-05-08
yiakwy-xpu-ml-framework-team
yiakwy-xpu-ml-framework-team commented on 2026-05-08
ArthurZucker
ArthurZucker
ArthurZucker

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone