google / google/brax

JaxToTorchWrapper error with jax 0.4.1

Open
#274 0 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
Jupyter Notebook
Stars
3.2k
Forks
349
PR merge metrics
No merged PRs in 30d

Description

Hello,
I am trying to run some experiments using pytorch with the JaxToTorchWrapper.
I'm running the default `Training in Brax with PyTorch on GPUs` on a local jupyter instance, but there are errors.

image

The error occurs when I use `jax==0.4.1` and goes away when I use a lower version.
It seems like it has to do with the new `jax.Array` type introduced in `0.4.1`.

Environment:
- Python 3.10.7
- Cuda 11.8
- `jax[cuda]`
- `brax==0.0.16`

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.