Open WoongQ opened 1 year ago
https://github.com/openxla/openxla-pjrt-plugin is the right way to use JAX+IREE.
https://github.com/openxla/openxla-pjrt-plugin is the right way to use JAX+IREE.
The PJRT plugin is one way to use JAX+IREE, mostly for JIT scenarios from Python. This repository is another way, with a focus on AOT scenarios outside of Python. See https://openxla.github.io/iree/guides/ml-frameworks/jax/
Did I miss something during the setup process?
Possibly. You can see what https://github.com/iree-org/iree-jax/blob/main/.github/workflows/test_gpt2_model.yaml is doing... that runs nightly at https://github.com/iree-org/iree-jax/actions.
Hello, I'm trying to install iree-jax to test GPT-2 on IREE. After running
python -m pip install -e '.[test,xla,cpu]' -f https://openxla.github.io/iree/pip-release-links.html
, I built jaxlib from source. However, when I runlit -v tests/
, I get a RuntimeError with the message "Unknown backend iree". This also happens when running models/gpt2/test_jax.py. Did I miss something during the setup process? Your help would be greatly appreciated. I have attached the error log below.