Skip to content

JAX 0.7 appears to be too new for this project #51

@KyleVasulka

Description

@KyleVasulka

AttributeError: jax.interpreters.xla.pytype_aval_mappings was deprecated in JAX v0.5.0 and removed in JAX v0.7.0. jax.core.pytype_aval_mappings can be used as a replacement in most cases.

Steps to reproduce:
Basically a fresh clone/install and run causes this

git clone ksim-gym
cd ksim-gym
python -m venv ./venv
. ./venv/bin/activate
pip install -r requirements.txt
python -m train run_mode=view

Note: I am on an m4 mac running on cpu.

I was able to get it to run by adding the following to my requirements.txt file

jax==0.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions