Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit e1d5e4f0 authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Fix support for more recent JAX versions.

Recent JAX versions have deprecated, then dropped, the `device()`
method of jax (numpy) arrays, in favor of the already-existing,
distinct-return-type `devices()` one.

This commit therefore replaces calls to `device` with operations
that include calling `devices` and extracting its content. This
is not very elegant, but seems to be the proper way to do things
based on the current JAX documentation.
parent 45d1f776
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment