transformers
Add Inkling model
#47347
Merged

Add Inkling model #47347

ArthurZucker merged 143 commits into main from skeleton-modular
molbap
zucchini-nlp processor very rough draft
44cb7313
zucchini-nlp whatever claude says for now, clean next
556bfb99
zucchini-nlp mm towers
ad506192
zucchini-nlp .
e202b2f3
zucchini-nlp import base model
a2d2c62d
zucchini-nlp make it init model from scratch
e572c80d
zucchini-nlp conversion maybe
521ab638
zucchini-nlp vision loads
5cdb8da5
zucchini-nlp tiny change
69c0cb3e
zucchini-nlp add normalization
ea120a2d
zucchini-nlp more nits
f51ca36b
zucchini-nlp more
29bda194
zucchini-nlp oops
e8f88273
zucchini-nlp typo
569ab89e
zucchini-nlp copy linear stuff from qwen, seems quite similar
a2af758f
zucchini-nlp a bit more
ff3f1b4e
molbap relative position bias draft
2c8f6ae5
zucchini-nlp no act
9e877474
zucchini-nlp dtype force fp32 to match as closely as we can
2c08e5cb
zucchini-nlp Merge remote-tracking branch 'origin/skeleton-modular' into merged
0546038e
zucchini-nlp make it run
517fcc55
zucchini-nlp torchaudio dep doesn't work for me, just skip for now
3ec51f16
zucchini-nlp moe loads kinda
894aa2f4
zucchini-nlp oke now the keys match
3d3bb58e
zucchini-nlp moe router fix
3ca3982a
zucchini-nlp .
2d70e66d
zucchini-nlp hmm, I think mlp has to be deinterlaved not chunked
bce6d988
zucchini-nlp i am defi breaking the model again XD
84283dcc
zucchini-nlp same for routed experts mlp
132d8b7a
zucchini-nlp dont shard shared gammas ig
4bffc3ed
zucchini-nlp well we still need cache for full vs slliding
6ec72757
zucchini-nlp this is ugly!
0eb7638c
zucchini-nlp ig?
95c75930
zucchini-nlp delete
bc8e8da1
molbap fix norm
b0392532
molbap fix normer
af4878fa
molbap tied + inits
8c659513
eustlb sync modular
65e69f47
eustlb Add TML audio support (feature extractor, processor, audio tower wiring)
8e3bb10a
molbap parallelism wars
66bf0601
Cyrilvallez fix position_bias -> use cache primitives directly
180020ef
Cyrilvallez do not slice the mask
2526235d
Cyrilvallez merge latest main and fix conflicts
c69ed02c
Cyrilvallez position_ids
2550c5fa
Cyrilvallez re add some inheritance
cab5387a
Cyrilvallez init global scales at 1: super important if we want to train correctly
95fa729c
Cyrilvallez inherit more
4733658c
Cyrilvallez simplify conv
4cfa24e3
Cyrilvallez no need to pad before update, the update does it
a17234bb
Cyrilvallez add accelerate hook decorator
dd7a725e
Cyrilvallez big cache refactor to have native implem
099797ae
Cyrilvallez small fix
f95af53d
Cyrilvallez add static cache support
55fe8fb9
Cyrilvallez make it compileable
90f43879
Cyrilvallez remove cache param completely
fbbfa7cb
Cyrilvallez do not transpose every time
e962a38a
Cyrilvallez oupsi already had conversions
8b8e9b72
Cyrilvallez remove the very suspicious dtype casting
667265c3
Cyrilvallez support sdpa
bd6ad4e4
Cyrilvallez fix bad reshape
480b99b6
Cyrilvallez add flex support
974a90a8
molbap Merge and fix conflicts
2948a900
Cyrilvallez fix
52225b30
Cyrilvallez oupsi, pass layer_idx
ae7d431a
molbap upstream TP fix
502818e2
molbap big model fixes + conv1d update diff from qwen
c0964eb1
molbap Merge branch 'skeleton-modular' into fix_big_model
b6510a9e
molbap fix_compile
221d35b7
molbap Merge pull request #7 from huggingface/fix_big_model
f281f473
molbap TP transpose conversion is free
d0df85b0
eustlb Merge origin/skeleton-modular into audio-clean
d2b60e4b
eustlb Reuse HiggsAudioV2Embeddings for TmlAudioModelEmbeddings
e0182ece
Cyrilvallez Merge remote-tracking branch 'origin/main' into skeleton-modular
04f5726a
Cyrilvallez add kernels
929541f1
molbap log scaling + image processing changes
af1b90bb
molbap Merge remote-tracking branch 'origin/skeleton-modular' into skeleton-…
86f108d8
molbap Ink it up
1528e36b
eustlb add load_audio_backend
e6c5c859
Cyrilvallez allow to rollback linear cache layers
6bbd4336
Cyrilvallez make repo
5ba93c4e
Cyrilvallez record past
29a022da
eustlb test audio utils
1ae782ea
eustlb audio/ image bos
39a92cf1
eustlb TmlProcessingIntegrationTest
96e31fc7
eustlb add TmlIntegrationTest
077bb65a
eustlb Merge remote-tracking branch 'origin/skeleton-modular' into audio-clean
7db394c4
eustlb nit
cc768c8a
eustlb nit
2a34e783
eustlb add requires_backends
3b8598d3
Cyrilvallez can rollback prefill as well
4fa1c4f4
eustlb no rescale_image_frac
bca3c9aa
molbap avoid downcasting for linear attn
83943921
molbap add kernels + fix env vars for kernel disablement
35b820bb
molbap format
34ee5bca
molbap fix save pretrained for Interleave
3ef80187
molbap better mappings
0574d5ea
molbap more automappings
f955b1ad
molbap change name
245ba282
eustlb Merge remote-tracking branch 'origin/skeleton-modular' into audio-clean
fa25c8fa
Cyrilvallez implement mtp cache rollback and correction
7e94dfd0
molbap Merge remote-tracking branch 'origin/skeleton-modular' into skeleton-…
8ebd85f7
molbap attempts at fixing MTP (noisy outputs)
46d114eb
eustlb Merge remote-tracking branch 'origin/skeleton-modular' into audio-clean
ca371707
eustlb Merge pull request #5 from huggingface/audio-clean
dffb6274
Cyrilvallez solve all indexing issues between main_model index and ntp layers
8a77ce75
Cyrilvallez small fix
bcc502f2
Cyrilvallez oupsi forgot to apply modular
7818d81d
Cyrilvallez replace sliding layers for now
5e1f12e4
Cyrilvallez allow sliding in mtp layers
0d828d27
Cyrilvallez fix the masking for mtp layers
0cda9be1
Cyrilvallez fix cropping and a lot of issues by replacing get_seq_length to get o…
7bad6249
Cyrilvallez oupsi
2b185590
Cyrilvallez replace layers
4a12eb8d
eustlb bucket to hf-internal-testing
bd8a8034
eustlb add test_apply_chat_template_audio_without_attention_mask
f7480058
Cyrilvallez fix mtp
113def67
eustlb update test path
ed7dbc57
Cyrilvallez improve cache invalidation a lot
3c300679
molbap fix tests 1 / N
4eeacea6
eustlb update integration test
3278abc5
eustlb update bucket path
d25b6cf9
molbap fix tests 2/N
bee9b9ee
molbap fix tests 3 / N
c21dc9a1
molbap fix tests 4/ N: Chunk dim 1
d8419933
molbap Merge branch 'skeleton-modular' of github.com:huggingface/new-model-a…
b0fb98d5
eustlb fix fe edge case
1e90d2aa
molbap fix tests 5 / N
61053b45
Cyrilvallez update all mamba models
52eaf8fa
eustlb upddate token ids
70dea211
Cyrilvallez slice them
1334335d
Cyrilvallez few missing
b4f86210
molbap [core] force contiguity on chunking
45cdc498
molbap fix tests 6 / N
83b380e4
molbap chat template testing 7 / N
8a25b95d
molbap Merge branch 'skeleton-modular' of github.com:huggingface/new-model-a…
ee215db9
molbap format + processor test fix 8 / N
9b1eea24
Cyrilvallez small fix
0901562c
molbap skip tiny model offload fix 9 / N
07b2ddf2
Cyrilvallez small fix
01413b78
molbap Merge branch 'skeleton-modular' of github.com:huggingface/new-model-a…
468a6284
ArthurZucker
ArthurZucker approved these changes on 2026-07-15
molbap molbap changed the title kwargs typos Inkling 131 days ago
Cyrilvallez fix conflict
9a9eb4cc
github-actions
Cyrilvallez Cyrilvallez changed the title Inkling Add Inkling model 131 days ago
Cyrilvallez conflict dropped the crochet
8a024f3d
ArthurZucker ArthurZucker added New model
github-actions
Cyrilvallez style
dadf67c5
ArthurZucker ArthurZucker merged c375c5e8 into main 131 days ago
ArthurZucker ArthurZucker deleted the skeleton-modular branch 131 days ago
HuggingFaceDocBuilderDev
nvpohanh
nvpohanh commented on 2026-07-20
nvpohanh
nvpohanh commented on 2026-07-20

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone