Skip to content

Commit 26f74d5

Browse files
authored
Merge branch 'master' into patch-1
2 parents 7c1d85d + 99d15ce commit 26f74d5

File tree

101 files changed

+5148
-288
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+5148
-288
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
9999
sudo pip -q install awscli==1.16.35
100100
101101
if [ -n "${CUDA_VERSION}" ]; then
102-
DRIVER_FN="NVIDIA-Linux-x86_64-430.40.run"
102+
DRIVER_FN="NVIDIA-Linux-x86_64-440.59.run"
103103
wget "https://s3.amazonaws.com/ossci-linux/nvidia_driver/$DRIVER_FN"
104104
sudo /bin/bash "$DRIVER_FN" -s --no-drm || (sudo cat /var/log/nvidia-installer.log && false)
105105
nvidia-smi

.jenkins/build.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
7676
FILES_TO_RUN+=($(basename $filename .py))
7777
fi
7878
count=$((count+1))
79+
done
80+
for filename in $(find recipes_source/ -name '*.py' -not -path '*/data/*'); do
81+
if [ $(($count % $NUM_WORKERS)) != $WORKER_ID ]; then
82+
echo "Removing runnable code from "$filename
83+
python $DIR/remove_runnable_code.py $filename $filename
84+
else
85+
echo "Keeping "$filename
86+
FILES_TO_RUN+=($(basename $filename .py))
87+
fi
88+
count=$((count+1))
7989
done
8090
echo "FILES_TO_RUN: " ${FILES_TO_RUN[@]}
8191

@@ -84,13 +94,13 @@ if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
8494

8595
# Step 4: If any of the generated files are not related the tutorial files we want to run,
8696
# then we remove them
87-
for filename in $(find docs/beginner docs/intermediate docs/advanced -name '*.html'); do
97+
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes -name '*.html'); do
8898
file_basename=$(basename $filename .html)
8999
if [[ ! " ${FILES_TO_RUN[@]} " =~ " ${file_basename} " ]]; then
90100
rm $filename
91101
fi
92102
done
93-
for filename in $(find docs/beginner docs/intermediate docs/advanced -name '*.rst'); do
103+
for filename in $(find docs/beginner docs/intermediate docs/advanced docs/recipes -name '*.rst'); do
94104
file_basename=$(basename $filename .rst)
95105
if [[ ! " ${FILES_TO_RUN[@]} " =~ " ${file_basename} " ]]; then
96106
rm $filename
@@ -108,13 +118,13 @@ if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
108118
rm $filename
109119
fi
110120
done
111-
for filename in $(find docs/_sources/beginner docs/_sources/intermediate docs/_sources/advanced -name '*.rst.txt'); do
121+
for filename in $(find docs/_sources/beginner docs/_sources/intermediate docs/_sources/advanced docs/_sources/recipes -name '*.rst.txt'); do
112122
file_basename=$(basename $filename .rst.txt)
113123
if [[ ! " ${FILES_TO_RUN[@]} " =~ " ${file_basename} " ]]; then
114124
rm $filename
115125
fi
116126
done
117-
for filename in $(find docs/.doctrees/beginner docs/.doctrees/intermediate docs/.doctrees/advanced -name '*.doctree'); do
127+
for filename in $(find docs/.doctrees/beginner docs/.doctrees/intermediate docs/.doctrees/advanced docs/.doctrees/recipes -name '*.doctree'); do
118128
file_basename=$(basename $filename .doctree)
119129
if [[ ! " ${FILES_TO_RUN[@]} " =~ " ${file_basename} " ]]; then
120130
rm $filename

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ html-noplot:
115115

116116
clean-cache:
117117
make clean
118-
rm -rf advanced beginner intermediate
118+
rm -rf advanced beginner intermediate recipes

README.md

Lines changed: 2 additions & 2 deletions
3.54 KB

_static/img/classic_memory_format.png

3.5 KB

_static/img/memory_format_logo.png

2.87 KB
160 KB
16.4 KB
41.3 KB
66.5 KB
183 KB
55 KB
13.5 KB
348 KB
163 KB

0 commit comments

Comments
 (0)