CircleCI deprecating Ubuntu 16.04-based machine images (#4218)

Summary:
# Before submitting

- [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
- [ ] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/main/CONTRIBUTING.md)?
- [ ] Did you make sure to update the docs?
- [ ] Did you write any new necessary tests?

## What does this PR do?
Fixes # (issue).

## PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

## Did you have fun?
Make sure you had fun coding �

Pull Request resolved: https://github.com/facebookresearch/fairseq/pull/4218

Reviewed By: cbalioglu

Differential Revision: D36681610

Pulled By: dianaml0

fbshipit-source-id: fb47c1df91cf73eabe082783c852a6a66b8831e3
This commit is contained in:
dianaml0 2022-05-31 08:52:43 -07:00 committed by Facebook GitHub Bot
parent e0884db9a7
commit 86f706577d

View File

@ -6,9 +6,9 @@ version: 2.1
# -------------------------------------------------------------------------------------
gpu: &gpu
environment:
CUDA_VERSION: "11.1"
CUDA_VERSION: "11.2"
machine:
image: ubuntu-1604-cuda-11.1:202012-01
image: ubuntu-2004-cuda-11.2:202103-01
resource_class: gpu.nvidia.medium.multi
@ -39,6 +39,7 @@ install_dep_fused_ops: &install_dep_fused_ops
git clone https://github.com/NVIDIA/apex
cd apex
git checkout e2083df5eb96643c61613b9df48dd4eea6b07690
sed -i '101,107 s/^/#/' setup.py
pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" --global-option="--deprecated_fused_adam" --global-option="--xentropy" --global-option="--fast_multihead_attn" ./
cd ~/
git clone --depth=1 --branch v2.4 https://github.com/NVIDIA/Megatron-LM.git