I following the step here https://github.com/antiagainst/iree/tree/apple-metal-hal, and run the dependency installation commands in a fresh new Conda enviromnet with Python 3.9. I didn't use --use-pinned because I am using a feature branch. And I have PYTHONPATH set by ~/w/iree/build/.env.
cd ~/w/iree-jax
python3 -m pip install absl-py future h5py numpy optax transformers # This works
python build_tools/configure.py # This updates version_info.json
python build_tools/pip_install.py # This failed
The last command failed with the following error message
I built IREE from the source code in this feature branch https://github.com/antiagainst/iree/tree/apple-metal-hal. Then, I want to install and run models/gpt2.
I following the step here https://github.com/antiagainst/iree/tree/apple-metal-hal, and run the dependency installation commands in a fresh new Conda enviromnet with Python 3.9. I didn't use
--use-pinned
because I am using a feature branch. And I havePYTHONPATH
set by~/w/iree/build/.env
.The last command failed with the following error message
Despite the above errors,
python3 -c import iree.jax
works. However, running the scriptmodels/gpt2/export.py
complains no module namediree.jax
.