Manual Mesh Control
You have mesh = Mesh(devices, ('data', 'model')) and want each device to run identical per-shard code with explicit collective ops (e.g. an explicit psum) rather than letting the compiler infer inter-device communication from a global-shape program. Which JAX API gives you this style?
Sign in to answer questions and track your progress
Sign In