-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feature: Inferentia Neuron support for HuggingFace #2976
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
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e1e5fc4
feature: Inferentia support for huggingface
jeniyat 6343907
inf/neuron for HF
jeniyat 4f9ec06
update w/ seperate json files
jeniyat 428917c
removed changes from huggingface.json
jeniyat a17a6c7
added version as arguments
jeniyat 58247e1
updated json file and retrive function with image_versions
jeniyat 61a7840
updated retrive function to incorportate inference tool extraction
jeniyat 8138849
removedd un-used comma from json
jeniyat abc643c
updated if-else condition
jeniyat 4291fb2
updated if-else condition
jeniyat 18dee73
remove un-used if
jeniyat c3e2e7f
updated with black
jeniyat d6dd56e
compacted the if condition
jeniyat 355bf9c
compacted the if condition
jeniyat 06e215c
handling of partial version name
jeniyat 056f7db
handling of partial version name
jeniyat 5335ad6
removed image_version
jeniyat 63209b0
adde HF in neo compilable list
jeniyat 9c1107d
adde HF in neo compilable list
jeniyat e7051a3
adde HF in neo compilable list
jeniyat d40f048
exception handling for None image_uri
jeniyat fff80f2
added unit test
jeniyat b13cf78
updated unit test
jeniyat e9e43f5
addressed nit comments
jeniyat 2702611
black test
jeniyat 39cb429
black test
jeniyat 49594ae
added exception check
jeniyat e590bf5
udpate named
jeniyat fe4bdd3
Merge branch 'aws:master' into jeniyat/hf-inf-neuron
jeniyat 393fa75
add session value for HF model
jeniyat d993da0
update w/ fstring
jeniyat 02445ba
update w/ fstring
jeniyat 7210d2f
added to do
jeniyat 33adabc
added to do
jeniyat db0607f
update comment
jeniyat 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"inference": { | ||
"processors": ["inf"], | ||
"version_aliases": {"4.12": "4.12.3"}, | ||
"versions": { | ||
"4.12.3": { | ||
"version_aliases": {"pytorch1.9": "pytorch1.9.1"}, | ||
"pytorch1.9.1": { | ||
"py_versions": ["py37"], | ||
"repository": "huggingface-pytorch-inference-neuron", | ||
"registries": { | ||
"af-south-1": "626614931356", | ||
"ap-east-1": "871362719292", | ||
"ap-northeast-1": "763104351884", | ||
"ap-northeast-2": "763104351884", | ||
"ap-northeast-3": "364406365360", | ||
"ap-south-1": "763104351884", | ||
"ap-southeast-1": "763104351884", | ||
"ap-southeast-2": "763104351884", | ||
"ca-central-1": "763104351884", | ||
"cn-north-1": "727897471807", | ||
"cn-northwest-1": "727897471807", | ||
"eu-central-1": "763104351884", | ||
"eu-north-1": "763104351884", | ||
"eu-west-1": "763104351884", | ||
"eu-west-2": "763104351884", | ||
"eu-west-3": "763104351884", | ||
"eu-south-1": "692866216735", | ||
"me-south-1": "217643126080", | ||
"sa-east-1": "763104351884", | ||
"us-east-1": "763104351884", | ||
"us-east-2": "763104351884", | ||
"us-gov-west-1": "442386744353", | ||
"us-iso-east-1": "886529160074", | ||
"us-west-1": "763104351884", | ||
"us-west-2": "763104351884" | ||
}, | ||
"container_version": {"inf": "ubuntu18.04"}, | ||
"sdk_versions": ["sdk1.17.1"] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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.