Repository: pytorch
Issue: MAGMA libraries
Labels: module: binaries,module: build,triaged

If you have a question or would like help and support, please ask at our
[forums](https://discuss.pytorch.org/).

If you are submitting a feature request, please preface the title with [feature request].
If you are submitting a bug report, please fill in the following details.

## Issue description
After successful installing pytorch , and was able to run some "test" script, to check that everything working
Im currently facing problem with Magma libraries.


=> eval
=> loaded checkpoint (epoch 0, t 247000)
Traceback (most recent call last):
File "run.py", line 264, in <module>
main()
File "run.py", line 260, in main
restart=args.restart
File "/home/xavier/deblurring/utils.py", line 283, in run
self._eval()
File "/home/xavier/deblurring/utils.py", line 224, in _eval
loss, images, to_print = self._eval_step(i, x, y)
File "run.py", line 218, in _eval_step
burst, _, pred = model(x, force_fm=force_fm)
File "/home/xavier/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/xavier/deblurring/bpn.py", line 237, in forward
registered_burst = self._register_burst(burst, features)
File "/home/xavier/deblurring/bpn.py", line 173, in _register_burst
registered_burst = self._stn(unregistered_burst, features)
File "/home/xavier/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/xavier/deblurring/stn.py", line 106, in forward
return self._move_edges(burst, deltas)
File "/home/xavier/deblurring/stn.py", line 86, in _move_edges
homographies = self._dlt(edges, edges + deltas)
File "/home/xavier/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/home/xavier/deblurring/stn.py", line 56, in forward
params = torch.solve(b, a)[0]
RuntimeError: solve: MAGMA library not found in compilation. Please rebuild with MAGMA.

## System Info
Please copy and paste the output from our
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).

You can get the script and run it with:
```
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```Collecting environment information...
PyTorch version: 1.4.0
Is debug build: No
CUDA used to build PyTorch: 10.0

OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.10.2

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.0.326
GPU models and configuration: Could not collect
Nvidia driver version: Could not collect
cuDNN version: /usr/lib/aarch64-linux-gnu/libcudnn.so.7.6.3

Versions of relevant libraries:
[pip3] numpy==1.18.1
[pip3] torch==1.4.0
[pip3] torchvision==0.5.0a0+85b8fbf
[conda] Could not collect



i have installed magma,
its located in /usr/local/magma


and when i did run python3 setup.py bdist_wheel
i have seen that he found MAGMA and compiled with MAGMA

but when running the scripts, no magma????

cc @ezyang