Skip to content
New issue

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

chore: remove WASM building in docs.yml #3333

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

jpivarski
Copy link
Member

No description provided.

@jpivarski jpivarski linked an issue Dec 6, 2024 that may be closed by this pull request
@jpivarski jpivarski enabled auto-merge (squash) December 6, 2024 21:18
@jpivarski
Copy link
Member Author

Auto-merge because if the tests still work, then I haven't taken away too much. (I might have taken away too little.)

Copy link
Collaborator

@ianna ianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error occurs when a program attempts to convert a JAX Tracer object into a standard NumPy array. Specifically when indexing a numpy array with a tracer.

<[TracerArrayConversionError('The numpy.ndarray conversion method __array__() was called on traced array with shape float64[3]\nSee https://jax.readthedocs.io/en/latest/errors.html#jax.errors.TracerArrayConversionError') raised in repr()] ByteMaskedArray object at 0x7f166ce0cdd0>

The docs suggest that we may fix this by converting the numpy array into a JAX array or by declaring the index as a static argument.

@jpivarski jpivarski disabled auto-merge December 16, 2024 18:08
@jpivarski jpivarski merged commit 3725585 into main Dec 16, 2024
32 of 39 checks passed
@jpivarski jpivarski deleted the jpivarski/remove-wasm-building branch December 16, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In docs.yml, "Build C++ WASM" fails with ninja not found
2 participants