mirror of https://github.com/llvm/torch-mlir
Add environment instructions to development.md
parent
0b46462528
commit
e193e4b9be
|
@ -322,6 +322,9 @@ Torch-MLIR has two types of tests:
|
|||
|
||||
## Running execution (end-to-end) tests:
|
||||
|
||||
> **Note**
|
||||
> An `.env` file must be generated via `build_tools/write_env_file.sh` before these commands can be run.
|
||||
|
||||
```shell
|
||||
# Run all tests on the reference backend
|
||||
./tools/e2e_test.sh
|
||||
|
@ -331,6 +334,12 @@ Torch-MLIR has two types of tests:
|
|||
./tools/e2e_test.sh --config tosa
|
||||
```
|
||||
|
||||
Alternatively, you can run the tests via Python directly:
|
||||
|
||||
```shell
|
||||
python -m e2e_testing.main -f 'AtenEmbeddingBag'
|
||||
```
|
||||
|
||||
## Running unit tests.
|
||||
|
||||
To run all of the unit tests, run:
|
||||
|
|
Loading…
Reference in New Issue