mirror of https://github.com/llvm/torch-mlir
README: mention installing nightly pytorch.
parent
544cb4ef54
commit
390d39a96c
|
@ -123,9 +123,12 @@ ninja check-npcomp
|
||||||
source .env
|
source .env
|
||||||
```
|
```
|
||||||
|
|
||||||
### PyTorch Frontend (with PyTorch installed via conda)
|
### PyTorch Frontend
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
# Install PyTorch. We currently track and require the nighly build.
|
||||||
|
pip3 install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
|
||||||
|
# Build/test npcomp.
|
||||||
./build_tools/cmake_configure.sh
|
./build_tools/cmake_configure.sh
|
||||||
cmake --build build --target check-npcomp check-frontends-pytorch
|
cmake --build build --target check-npcomp check-frontends-pytorch
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue