mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Updated PyTorch ONNX exporter (markdown)
@ -77,12 +77,15 @@ export DEBUG=1
|
||||
|
||||
### Install additional dependencies
|
||||
|
||||
Install the dependencies required to run CI checks locally.
|
||||
Install the dependencies required for development and to run CI checks locally.
|
||||
|
||||
```sh
|
||||
conda install -c conda-forge expecttest pytest mypy=0.950 flake8 hypothesis pytest-cov pytest-xdist
|
||||
pip install expecttest pytest flake8 hypothesis pytest-cov pytest-xdist pylint lintrunner ghstack
|
||||
lintrunner init
|
||||
```
|
||||
|
||||
Read more about [[lintrunner|lintrunner]] and [ghstack](https://github.com/ezyang/ghstack).
|
||||
|
||||
#### ONNX and ONNX Runtime
|
||||
|
||||
```sh
|
||||
@ -117,14 +120,6 @@ conda install -c conda-forge pillow
|
||||
> I hope there's a better way to deal with this. If you know of one please
|
||||
> update these instructions and email the team!
|
||||
|
||||
#### Dev tools
|
||||
|
||||
Install [[lintrunner|lintrunner]] and [ghstack](https://github.com/ezyang/ghstack)
|
||||
|
||||
```sh
|
||||
pip install lintrunner ghstack
|
||||
```
|
||||
|
||||
### Sanity check
|
||||
|
||||
You should be able to run these commands successfully:
|
||||
|
Reference in New Issue
Block a user