8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
jax.numpy.put
numpy.put
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found that jax.numpy.put brings different results with numpy.put in following case.
import numpy as np import jax.numpy as jnp print(np.put(np.array([1]), np.array([0]), np.array([]))) print(jnp.put(jnp.array([1]), jnp.array([0]), jnp.array([])))
Output:
None [1]
jax: 0.6.0 jaxlib: 0.6.0 numpy: 2.2.3 python: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] device info: NVIDIA GeForce RTX 4090-1, 1 local devices" process_count: 1 platform: uname_result(system='Linux', node='4db45dc420f8', release='6.11.0-25-generic', version='#25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2', machine='x86_64') $ nvidia-smi Wed May 7 16:26:08 2025 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 535.230.02 Driver Version: 535.230.02 CUDA Version: 12.2 | |-----------------------------------------+----------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+======================+======================| | 0 NVIDIA GeForce RTX 4090 Off | 00000000:01:00.0 Off | Off | | 36% 32C P2 36W / 450W | 407MiB / 24564MiB | 1% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| +---------------------------------------------------------------------------------------+
The text was updated successfully, but these errors were encountered:
Thanks! Should be fixed by #28610
Sorry, something went wrong.
jakevdp
Successfully merging a pull request may close this issue.
Description
I found that
jax.numpy.put
brings different results withnumpy.put
in following case.Output:
System info (python version, jaxlib version, accelerator, etc.)
The text was updated successfully, but these errors were encountered: