Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
sudo pip -q install awscli==1.16.35

if [ -n "${CUDA_VERSION}" ]; then
DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
DRIVER_FN="NVIDIA-Linux-x86_64-460.39.run"
wget "https://s3.amazonaws.com/ossci-linux/nvidia_driver/$DRIVER_FN"
sudo /bin/bash "$DRIVER_FN" -s --no-drm || (sudo cat /var/log/nvidia-installer.log && false)
nvidia-smi
Expand All @@ -122,7 +122,7 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
command: |
set -e

export pyTorchDockerImageTag=291
export pyTorchDockerImageTag=9de29bef4a5dc0dd1dd19428d83e5a66a44a1ed2
echo "PyTorchDockerImageTag: "${pyTorchDockerImageTag}

cat >/home/circleci/project/ci_build_script.sh \<<EOL
Expand Down Expand Up @@ -171,14 +171,14 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults

pytorch_tutorial_build_worker_defaults: &pytorch_tutorial_build_worker_defaults
environment:
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda9-cudnn7-py3"
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7"
CUDA_VERSION: "9"
resource_class: gpu.medium
<<: *pytorch_tutorial_build_defaults

pytorch_tutorial_build_manager_defaults: &pytorch_tutorial_build_manager_defaults
environment:
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda9-cudnn7-py3"
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7"
resource_class: medium
<<: *pytorch_tutorial_build_defaults

Expand Down
7 changes: 4 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM python:3.6-slim
FROM mcr.microsoft.com/vscode/devcontainers/python:3.8

COPY requirements.txt requirements.txt
COPY requirements.txt /tmp/pip-tmp/

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get install git gcc unzip make -y \
&& pip install --no-cache-dir -r requirements.txt
&& pip3 install --disable-pip-version-check --no-cache-dir -r /tmp/pip-tmp/requirements.txt \
&& rm -rf /tmp/pip-tmp
37 changes: 17 additions & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
{
"name": "PyTorch",
"build": {
"context": "..",
"dockerfile": "Dockerfile",
"args": { }
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"workbench.startupEditor": "none",
"files.autoSave": "afterDelay",
"python.dataScience.enabled": true,
"python.dataScience.alwaysTrustNotebooks": true,
"python.insidersChannel": "weekly",
"python.showStartPage": false
},
"extensions": [
"ms-python.python",
"lextudio.restructuredtext"
]
}
"name": "PyTorch Tutorials",
"build": {
"context": "..",
"dockerfile": "Dockerfile",
"args": {}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"workbench.startupEditor": "none",
"files.autoSave": "afterDelay",
"python.dataScience.enabled": true,
"python.dataScience.alwaysTrustNotebooks": true,
"python.insidersChannel": "weekly",
"python.showStartPage": false
},
"extensions": ["ms-python.python", "lextudio.restructuredtext"]
}
Empty file modified build.sh
100644 → 100755
Empty file.