Comments (9)
@farhaanbukhsh You can try either with export NO_CUDA=1
or with gcc 7 (instead of Clang).
from xla.
@asuhan I want cuda support should I try with gcc 7 ?
from xla.
@farhaanbukhsh You can try either with
export NO_CUDA=1
or with gcc 7 (instead of Clang).
gcc7 doesn't work it fails the simple test of compiling the program, when I did a install
from xla.
I don't understand what failed -- compiling a simple C++ program with gcc or something else?
from xla.
This is what I got when I ran with export NO_CUDA=1
and COMPILE_PARALLEL=0 python setup.py install
from xla.
export CC=gcc CXX=g++-7
and COMPILE_PARALLEL=0 python setup.py install`
I realised i could be mistaken I should have used export CC=gcc-7 CXX=g++-7
from xla.
export CC=gcc-7 CXX=g++-7
from xla.
I suggest you using clang-7, as it is the one we used to work on and test internally.
But the blas error is likely due to a specific version of MKL liked by pytorch.
These are the versions a conda list
shows me in my setup:
blas 1.0 mkl
mkl 2019.3 199
mkl-include 2019.1 144
mkl-service 1.1.2 py36he904b0f_5
mkl_fft 1.0.10 py36ha843d7b_0
mkl_random 1.0.2 py36hd81dba3_0
from xla.
In general if you want to build with both Cuda and XLA support, use gcc to build pytorch and clang7 to build torch_xla works well for me. If you only want XLA support clang7 should work for both by building pytorch with USE_CUDA=0
.
As @dlibenzi said above, upgrading mkl
version should fix the error shown in the last snapshot.
Closing issue as resolved, please feel free to reopen if you have follow up questions.
from xla.
Related Issues (20)
- SPMD Checkpointing Error HOT 6
- TPU V4-32 Failed to get global TPU topology. HOT 4
- Ran out of memory in memory space vmem / Extra memory due to padding HOT 2
- Copy data from TPU to CPU increases CompileTime HOT 4
- [hard] Op info test for `logdet` HOT 1
- Ran out of memory in memory space vmem / register allocator spill slots call depth 2 HOT 1
- Report real device for XLATensor2
- Core dump when calling `jax.device_put` on array mapped from torch.tensor to jax with xla2
- Registering CUDA custom calls with the C++ FFI HOT 1
- Processes hang when running multiprocess training with xmp.spawn, and one rank waits at rendezvous while another hits assertion HOT 2
- [benchmarks] `dlrm` training running twice on dynamo and non-dynamo configurations.
- 2.5 backport PR request list HOT 3
- XLA tensor metadata differs from eager.
- While operator test generates condition input as a parameter instead of a constant HOT 6
- Speeding up computation while using SPMD on large TPU pod HOT 3
- [hard] Op info test for `nanmean`
- [hard] Op info test for `repeat_interleave` HOT 1
- [RFC] `torch_xla` Backward Compatibility Proposal HOT 2
- [fp8] Support `fp8e4m3` in torch_xla
- xm.send_cpu_data_to_device cannot support 2d data and 4d mesh HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xla.