Skip to content

Commit 1da7e78

Browse files
committed
just for test
1 parent a7369d0 commit 1da7e78

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,4 @@ workflows:
564564
- master
565565
- pytorch_windows_build_worker:
566566
name: win_test_worker
567-
filters:
568-
branches:
569-
only:
570-
- master
571567

.circleci/scripts/build_for_windows.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ python $DIR/remove_runnable_code.py beginner_source/aws_distributed_training_tut
4444
python $DIR/remove_runnable_code.py beginner_source/data_loading_tutorial.py beginner_source/data_loading_tutorial.py || true
4545
python $DIR/remove_runnable_code.py beginner_source/dcgan_faces_tutorial.py beginner_source/dcgan_faces_tutorial.py || true
4646
python $DIR/remove_runnable_code.py intermediate_source/model_parallel_tutorial.py intermediate_source/model_parallel_tutorial.py || true
47-
48-
echo "keys = list(filter(lambda x: not x.startswith('_'), vars(torch.Tensor).keys()))" >> intermediate_source/memory_format_tutorial.py
49-
echo "for attr in keys:" >> intermediate_source/memory_format_tutorial.py
50-
echo " delattr(torch.Tensor, attr)" >> intermediate_source/memory_format_tutorial.py
51-
echo "keys = list(filter(lambda x: not x.startswith('_'), vars(torch.nn.functional).keys()))" >> intermediate_source/memory_format_tutorial.py
52-
echo "for attr in keys:" >> intermediate_source/memory_format_tutorial.py
53-
echo " delattr(torch.nn.functional, attr)" >> intermediate_source/memory_format_tutorial.py
54-
echo "keys = list(filter(lambda x: not x.startswith('_'), vars(torch).keys()))" >> intermediate_source/memory_format_tutorial.py
55-
echo "for attr in keys:" >> intermediate_source/memory_format_tutorial.py
56-
echo " delattr(torch, attr)" >> intermediate_source/memory_format_tutorial.py
57-
echo "from importlib import reload" >> intermediate_source/memory_format_tutorial.py
58-
echo "reload(torch)" >> intermediate_source/memory_format_tutorial.py
47+
python $DIR/remove_runnable_code.py intermediate_source/memory_format_tutorial.py intermediate_source/memory_format_tutorial.py || true
5948

6049
make docs

0 commit comments

Comments
 (0)