[huggingface_pytorch] upgrade PyTorch to 1.7.1 #1025
Merged
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.
What is the PR doing?
This PR upgrades the PyTorch version from 1.6.0 to 1.7.1.
Issue #, if available:
PR Checklist
Pytest Marker Checklist
@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 typeEIA/NEURON Checklist
src/config/build_config.py
in my PR branch by settingENABLE_EI_MODE = True
orENABLE_NEURON_MODE = True
Benchmark Checklist
src/config/test_config.py
in my PR branch by settingENABLE_BENCHMARK_DEV_MODE = True
Reviewer Checklist
Description:
This PRs upgrades the
PyTorch
from1.6.0
to1.7.1
. Therefore I have created a newbuildspec.yaml
and renamed the oldbuildspec.yaml
tobuildspec-1-6.yml
.Tests run:
https://github.com/huggingface/transformers/tree/master/tests/sagemaker
DLC image/dockerfile:
The Hugging Face DLCs for PyTorch
Test Json files:
pytorch-transfromers-test-1-smp-smtrain-2021-04-12-14-11-39-093.txt
pytorch-transfromers-test-1-smp-trainer-2021-04-12-13-35-45-822.txt
pytorch-transfromers-test-2-ddp-2021-04-12-13-22-48-512.txt
pytorch-transfromers-test-2-smd-2021-04-12-14-11-39-093.txt
pytorch-transfromers-test-single-2021-04-12-13-35-45-177.txt
By 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.