Repository navigation
[HuggingFace][Neuronx] Inference - Optimum Neuron 0.0.22(pt2.1.2) - Neuron sdk 2.18.0 - Transformers to 4.36.2 - #3823
Merged
Merged
Conversation
Author
|
I saw the following log for the failed sanity test: The installed |
|
Neuron 2.18.1 was released last week. Would you like to switch to 2.18.1 instead? |
Phyrol
reviewed
Apr 19, 2024
Author
|
Hi @ningziwen, the latest Optimum Neuron (v0.0.21) supports Neuron sdk 2.18.0, and the team is not going to make a new ON release for 2.18.1 until some regressions introduced by the Neuron 2.18.x release are fixed. Would it be possible to get the DLC for 2.18.0 in first? Happy to submit a new PR once the new ON release is out. |
|
@JingyaHuang Sounds good. Thanks! |
|
Hello @ningziwen, |
Captainia
previously approved these changes
May 10, 2024
This reverts commit 9ce55a3.
Captainia
approved these changes
May 10, 2024
jeet4320
approved these changes
May 10, 2024
9 tasks done
evakravi
pushed a commit
to evakravi/deep-learning-containers
that referenced
this pull request
Sep 5, 2024
…euron sdk 2.18.0 - Transformers to 4.36.2 (aws#3823)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GitHub Issue #3822:
Description
This PR creates Hugginface's PyTorch DLC for inference on neuron-v2 devices (namely Inferentia 2 and Trainium). Here are the corresponding updated dependencies versions:
Neuron SDK:
Tests run
NOTE: By default, docker builds are disabled. In order to build your container, please update dlc_developer_config.toml and specify the framework to build in "build_frameworks"
NOTE: If you are creating a PR for a new framework version, please ensure success of the standard, rc, and efa sagemaker remote tests by updating the dlc_developer_config.toml file:
Expand
sagemaker_remote_tests = truesagemaker_efa_tests = truesagemaker_rc_tests = trueAdditionally, please run the sagemaker local tests in at least one revision:
sagemaker_local_tests = trueFormatting
black -l 100on my code (formatting tool: https://black.readthedocs.io/en/stable/getting_started.html)DLC image/dockerfile
Builds to Execute
Expand
Click the checkbox to enable a build to execute upon merge.
Note: By default, pipelines are set to "latest". Replace with major.minor framework version if you do not want "latest".
Additional context
PR Checklist
Expand
NEURON/GRAVITON Testing Checklist
dlc_developer_config.tomlin my PR branch by settingneuron_mode = trueorgraviton_mode = trueBenchmark Testing Checklist
dlc_developer_config.tomlin my PR branch by settingec2_benchmark_tests = trueorsagemaker_benchmark_tests = truePytest Marker Checklist
Expand
@pytest.mark.model("<model-type>")to the new tests which I have added, to specify the Deep Learning model that is used in the test (use"N/A"if the test doesn't use a model)@pytest.mark.integration("<feature-being-tested>")to the new tests which I have added, to specify the feature that will be tested@pytest.mark.multinode(<integer-num-nodes>)to the new tests which I have added, to specify the number of nodes used on a multi-node test@pytest.mark.processor(<"cpu"/"gpu"/"eia"/"neuron">)to the new tests which I have added, if a test is specifically applicable to only one processor typeBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.