-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Inference] Neuron cache for traced torchscript models (encoders, sta…
…ble diffusion) (#510) * poc: cache single model * poc: work for single model * sd caching cli support * fix for single * found the unmatch issue, mark! * sd support completed * fix style * fix * placeholder for tests * fix doc * add tests * fix tests * all inf2 tests clear up * fix compiler dir path in test * add peft to test requirement * fix error message assertion for inf1 * applied comments of David * Update optimum/commands/export/neuronx.py * Update optimum/exporters/neuron/convert.py * Update optimum/exporters/neuron/convert.py * Update optimum/neuron/utils/hub_neuronx_cache.py * apply suggestions from Michael * tolerance * exclude flaky for now
- Loading branch information
1 parent
d06b07e
commit bf46e2a
Showing
18 changed files
with
835 additions
and
237 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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.