Issue 1:
After installing the prerequisites (and setting the following environment variables):

export NO_CUDA=1
export NO_DISTRIBUTED=1
export NO_MKLDNN=1
export NO_NNPACK=1
export NO_QNNPACK=1

I could not complete the build with the following command:

make -VERBOSE=1

The tail of the error messages is:

/home/pi/projects/pytorch/build/confu-srcs/pthreadpool/include/pthreadpool.h:223:2: warning: ‘pthreadpool_function_4d_tiled_t’ is deprecated [-Wdeprecated-declarations]
pthreadpool_function_4d_tiled_t function,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccPqf5ia.s: Assembler messages:
/tmp/ccPqf5ia.s:605: Error: immediate expression requires a # prefix -- `orr r3,0x1000000'
/tmp/ccPqf5ia.s:855: Error: immediate expression requires a # prefix -- `orr r3,0x1000000'
...
/tmp/ccPqf5ia.s:2206: Error: immediate expression requires a # prefix -- `orr r3,0x1000000'
/tmp/ccPqf5ia.s:2530: Error: immediate expression requires a # prefix -- `orr r3,0x1000000'
make[2]: *** [confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/build.make:76: confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/threadpool-pthreads.c.o] Error 1
make[2]: Leaving directory '/home/pi/projects/pytorch/build'
make[1]: *** [CMakeFiles/Makefile2:517: confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/all] Error 2
make[1]: Leaving directory '/home/pi/projects/pytorch/build'
make: *** [Makefile:141: all] Error 2
pi@raspbari3:~/projects/pytorch/build $

The platform summary is:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
$ uname -a
Linux raspbari3 4.19.66+ #1253 Thu Aug 15 11:37:30 BST 2019 armv6l GNU/Linux
$

I understand that trying to install pytorch on RPi0W detracts but I'm willing to be an able-bodied tester since I have quite a few Raspberry Pi Zero W boards where I need pytorch to work. The RPi0 boards have many other packages (for vision/image/ML) working and I was hoping to install pytorch too. Any help will be sincerely appreciated.

Kind regards.

Issue 2:
Issue description

There's a recent change in jit scripting path for nn.interpolate operator. After aten::__interpolate operator is removed and the scriptable nn.interpolate module has become scriptable as part of this PR: #34514, the graph new graph is exported using hundreds of extra nodes.

This means that the the jit graph for interpolate op is now scripting the whole module and creates the inflated graph below for a single op:

torch.nn.functional.interpolate(x, mode="trilinear", size=(4, 4, 6))

graph.txt

Currently, this change broke onnx export of scripted nn.interpolate module, and the following tests are disable:

pytorch/test/onnx/test_pytorch_onnx_onnxruntime.py

Line 1294
in
8e8a37d

@unittest.skipIf(True, "Interpolate script NYI")

As part of this change, onnx export of torchvision Keypoint RCNN module is also broken.

pytorch/test/onnx/test_pytorch_onnx_onnxruntime.py

Line 349
in
8e8a37d

def test_mask_rcnn(self):

https://l.facebook.com/l.php?u=https%3A%2F%2Fcircleci.com%2Fapi%2Fv1.1%2Fproject%2Fgithub%2Fpytorch%2Fpytorch%2F4791771%2Foutput%2F105%2F0%3Ffile%3Dtrue%26allocation-id%3D5e6ab6cf58b6cb1d3d495d0d-0-build%2F61B5E26C%26fbclid%3DIwAR0kYcxY742VnXh6lpnH4FckYIJAhE03bp8vcRWdS-Yh4PsylwBZBFA5Dfk&h=AT0tPobGkR1UpwhdxgJ3JEH7udDQRrgMW0GNWD7Smsq4_fqZD8DJnCqLT06ppG-kwzXrRA6k00KS40CiaaAjFtxblyXg8JwjmVqv7F0XPTD_hvQhUnSGj8lv5Zt5JDBfjDWZtTtacm8

cc @houseroad @spandantiwari @lara-hdr @BowenBao @neginraoof @eellison @suo