Skip to content

Add inference time layer fusion optimisations via PreTrainedModel.from_pretrained(fuse_layers=True)#44942

Draft
hmellor wants to merge 4 commits intohuggingface:mainfrom
hmellor:inference-fusions
Draft

Add inference time layer fusion optimisations via PreTrainedModel.from_pretrained(fuse_layers=True)#44942
hmellor wants to merge 4 commits intohuggingface:mainfrom
hmellor:inference-fusions

Conversation

@hmellor
Copy link
Copy Markdown
Member

@hmellor hmellor commented Mar 23, 2026

No description provided.

hmellor added 3 commits March 23, 2026 11:38
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor force-pushed the inference-fusions branch from 962f580 to bbf93c4 Compare March 23, 2026 10:48
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor hmellor force-pushed the inference-fusions branch from 8661387 to 20e2571 Compare March 23, 2026 11:43
@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: llama

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants