Comments (4)
I think that's probably sufficient, thank you!
from jax.
Assigning @mattjj as this is similar to #17461
from jax.
Hey @reinerp !
What if instead of static_argnums
, we allowed passing in_specs=(P(...), P(...), None, None)
? That'd be more like vmap
's in_axes=None
. (Or do you prefer static_argnums
? In that case, what do you pass for the corresponding in_specs
? Or do we just want to leave out the corresponding entries of in_specs
?)
from jax.
Assuming using in_specs=(..., None, ...)
rather than static_argnums=...
is okay, #22049 should fix this!
from jax.
Related Issues (20)
- `jax.nn.dot_product_attention(...implementation='cudnn')` throws error `libnvrtc.so.12` not found HOT 1
- [Important] Keep non-hermetic CUDA toolkit as a build option. HOT 2
- Wrong derivatives when using defjvp for sparse.BCOO matrices HOT 2
- sparse.BCOO error when matrix is passed as a parameter HOT 2
- Exporting (portable) StableHLO containing op-to-original-JAX-code mapping metadata HOT 7
- `jax.numpy.tan` call adds `chlo.tan` call to exported StableHLO; `stablehlo.tan` should be preferred HOT 4
- add nan check in svd
- Mypy Error HOT 1
- Flash attention soft capping support
- Cannot pass constant to `lax.fori_loop` body inside pallas kernel HOT 1
- `eval_shape` should preserve `weak_type` HOT 5
- Full zero arrays allocated for "consumed" gradients of `stop_gradient` parameters HOT 2
- TPU tile in first dim of a 2d array HOT 3
- Add function that checks whether `jax` is yet initialized or not
- APIs to set the XLA executor's priority HOT 1
- `jnp.pow()` triggers dtype promotion when it should not HOT 3
- `jax.nn.dot_product_attention` does not respect `key_value_seq_lengths` HOT 4
- Segmentation Fault on 8x8 or larger matrix multiplication with GPU HOT 1
- jax.random.randint() fails when minval/maxval are traced, but aren't arrays. HOT 1
- `RESOURCE_EXHAUSTED` when using `.at[i].set` inside `vmap`. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jax.