Skip to content

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. #52

@LinFei83

Description

@LinFei83

I am using a GPU python3.11, but JAX 0.7 seems to be too new for my project. My solution is as follows:

pip install jax[cuda12]==0.6.2
pip uninstall mujoco mujoco-mjx
pip install mujoco==3.3.2 mujoco-mjx

I started modifying the code. I changed the return values of the following methods from lists to tuples: get_physics_randomizers, get_events, get_resets, get_observations, get_commands, get_rewards, and get_terminations.

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