Skip to content

Commit a65bbe2

Browse files
authored
Merge pull request #742 from pytorch/brianjo-patch-2
Update build.sh
2 parents 71496bd + 4730065 commit a65bbe2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.jenkins/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ "${JOB_BASE_NAME}" == *worker_* ]]; then
4040
# Step 1: Remove runnable code from tutorials that are not supposed to be run
4141
python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tutorial.py beginner_source/aws_distributed_training_tutorial.py || true
4242
# TODO: Fix bugs in these tutorials to make them runnable again
43-
python $DIR/remove_runnable_code.py beginner_source/audio_classifier_tutorial.py beginner_source/audio_classifier_tutorial.py || true
43+
# python $DIR/remove_runnable_code.py beginner_source/audio_classifier_tutorial.py beginner_source/audio_classifier_tutorial.py || true
4444

4545
# Step 2: Keep certain tutorials based on file count, and remove runnable code in all other tutorials
4646
# IMPORTANT NOTE: We assume that each tutorial has a UNIQUE filename.

advanced_source/dynamic_quantization_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def tokenize(self, path):
178178

179179
word = corpus.dictionary.idx2word[word_idx]
180180

181-
outf.write(str(word) + ('\n' if i % 20 == 19 else ' '))
181+
outf.write(str(word.encode('utf-8')) + ('\n' if i % 20 == 19 else ' '))
182182

183183
if i % 100 == 0:
184184
print('| Generated {}/{} words'.format(i, 1000))

0 commit comments

Comments
 (0)