We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
JAX Performance & Distributed
JAXjit details, memory and device control, sharding APIs (Mesh, PartitionSpec, shard_map), mixed precision. The performance and parallelism toolbox.
This track uses JAX. You can make it your practice mode to browse related content across the site.
25 exercises
Explore freely. Sign in to keep your progress.
Your learning sequence
- 1 Not solved yet. jit with static_argnums Practice · Medium
- 2 Not solved yet. jit with static_argnames Practice · Easy
- 3 Not solved yet. jit with donate_argnums Practice · Medium
- 4 Not solved yet. jit with Pytree Input Practice · Easy
- 5 Not solved yet. Explicit device_put Practice · Easy
- 6 Not solved yet. block_until_ready for Sync Practice · Easy
- 7 Not solved yet. Host Roundtrip via device_get Practice · Medium
- 8 Not solved yet. make_jaxpr Inspection Practice · Medium
- 9 Not solved yet. jit Retrace on Shape Change Practice · Medium
- 10 Not solved yet. disable_jit Context Manager Practice · Medium
- 11 Not solved yet. Mesh Creation Practice · Medium
- 12 Not solved yet. PartitionSpec Basics Practice · Medium
- 13 Not solved yet. NamedSharding (Replicated) Practice · Medium
- 14 Not solved yet. shard_map Basics Practice · Hard
- 15 Not solved yet. shard_map with psum Collective Practice · Hard
- 16 Not solved yet. shard_map vs vmap Practice · Hard
- 17 Not solved yet. bfloat16 Mixed Precision Practice · Medium
- 18 Not solved yet. Explicit Dtype Promotion Practice · Easy
- 19 Not solved yet. Elementwise Chains and Fusion Practice · Medium
- 20 Not solved yet. with_sharding_constraint Practice · Hard
- 21 Not solved yet. JIT with Input and Output Sharding Practice · Hard
- 22 Not solved yet. Compilation Cache Key Practice · Medium
- 23 Not solved yet. compilation_cache.set_cache_dir Practice · Medium
- 24 Not solved yet. Shape Polymorphism (Concept) Practice · Medium
- 25 Not solved yet. Multi-Host JAX (Conceptual) Practice · Hard
Check yourself
4 questions · not saved while you're signed outUse these questions to check your understanding and compare explanations. Your score does not affect track completion.
Outside a transformation, with no device override, mesh, or sharding configuration, where does this ordinary jnp.ones array live?
Choose one answer to reveal the explanations. Answers are kept only while this page is open.
jax.devices()
jax.default_backend()
jnp.ones(3).devices()