![]() ![]() If you only want to compile specific dispatches, you can specify them with a space seperated string instead of "All". To produce benchmarks of individual dispatches, you can add -dispatch_benchmarks=All -dispatch_benchmarks_dir= to your pytest command line argument. Now the SHARK will use your locally build Torch-MLIR repo. Press CTRL-C and wait a moment or close the terminal.Īdvanced Installation (Only for developers) Advanced Installation (Windows, Linux and macOS) for developers Check out the codeġ.) Run `./setup_venv.sh in SHARK ` and activate `shark.venv ` virtual env.ģ.) Go to your local Torch-MLIR directory.Ĥ.) Activate mlir_venv virtual envirnoment.ĥ.) Run `pip uninstall -r requirements.txt `.Ħ.) Run `pip install -r requirements.txt `.Ĩ.) Activate shark.venv virtual environment from the Torch-MLIR directory.Ĩ.) Run `export PYTHONPATH= `pwd `/build/tools/torch-mlir/python_packages/torch_mlir: `pwd `/examples ` in the Torch-MLIR directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |