Thanks a lot for your help
I tried it, unfortunately getting the same error still. I ssh into the docker container in the vm and added that line to setup.py, then ran:
setup.py install
I also tried changing that line and then running
TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0" python setup.py install

but still get the same error
Will running setup.py install overwrite the extensions installed on the initial docker image build, or do I need to build that again from scratch with the modified code?