-
Notifications
You must be signed in to change notification settings - Fork 7k
[Neuron] Add AWS Neuron (Trainium/Inferentia) as an officially supported device #13289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+309
−165
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
98f6c8c
draft:add neuron as a legit backend
JingyaHuang c58b8b8
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang 3367409
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang 0c51734
Merge branch 'main' into add-neuron-backend
JingyaHuang a76953c
feat: neuron-specific changes in the pipeline
JingyaHuang 2480388
tests: eager tests
JingyaHuang 929ab72
fix: style
JingyaHuang 52cac76
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang 28a5086
Merge branch 'add-neuron-backend' of github.com:JingyaHuang/diffusers…
JingyaHuang 68689e5
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang da79308
Merge branch 'main' into add-neuron-backend
JingyaHuang 3bb9c7c
fix:apr_02 beta
JingyaHuang c4facab
Merge branch 'add-neuron-backend' of github.com:JingyaHuang/diffusers…
JingyaHuang 1eb5ff9
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang 0d927b3
Merge branch 'main' into add-neuron-backend
JingyaHuang d1a8911
Merge branch 'huggingface:main' into add-neuron-backend
JingyaHuang c9e55ae
Merge branch 'main' into add-neuron-backend
JingyaHuang 291171b
cleanup: remove tp part, for another pr
JingyaHuang f1caec0
fix: restore ring_anything to ContextParallelConfig after over-aggres…
JingyaHuang 510a914
removal: style fix
JingyaHuang c312167
tests:sdxl + flux2
JingyaHuang 1165f9f
tests: simplify
JingyaHuang 5d13779
tests: simplify
JingyaHuang c007709
fix style
JingyaHuang c608bbb
Merge branch 'main' into add-neuron-backend
JingyaHuang fb5ea94
fix style
JingyaHuang 9d93c68
fix style for doc-builder
JingyaHuang 332b5a6
Merge branch 'main' into add-neuron-backend
JingyaHuang e8bf642
review: address comments
JingyaHuang 1e25f3e
Merge branch 'main' into add-neuron-backend
JingyaHuang a3b6ccb
review:apply suggestion for the fix of index_for_timtestep
JingyaHuang 86e550a
review: stronger guard on image slice
JingyaHuang c8e9716
Merge branch 'add-neuron-backend' of github.com:JingyaHuang/diffusers…
JingyaHuang 45a8812
Apply suggestions from code review
JingyaHuang 6c025c2
Merge branch 'main' into add-neuron-backend
JingyaHuang a18bfc5
Merge branch 'main' into add-neuron-backend
JingyaHuang 1bf6b56
Merge branch 'main' into add-neuron-backend
JingyaHuang 3144cfe
Merge branch 'main' into add-neuron-backend
JingyaHuang d5ee083
fix: when set_begin_index not implemented for scheduler
JingyaHuang 688df52
Merge branch 'add-neuron-backend' of github.com:JingyaHuang/diffusers…
JingyaHuang 4b3ff51
review:add maybe_adjust_dtype_for_device and apply to all models with…
JingyaHuang 888a936
fix: dependency
JingyaHuang 1c25326
Merge branch 'main' into add-neuron-backend
JingyaHuang 2443920
Merge branch 'main' into add-neuron-backend
yiyixuxu e98f17e
Update src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_di…
JingyaHuang 19702b2
Merge branch 'main' into add-neuron-backend
JingyaHuang ab82699
review: apply maybe_adjust_dtype_for_device in pixart pipe
JingyaHuang 20af97b
review: update .ai/models.md
JingyaHuang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.