google / google/flax

Deprecate flax.jax_utils.replicate

Open
#1,161 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
7.3k
Forks
833
Avg merge
5h 11m
Merged PRs (30d)
5

Description

`flax.jax_utils.replicate` should no longer be necessary and superceded by `jax.device_put_replicated`. We need to update our tests and use-cases accordingly, and add a clear and useful deprecation warning (or, perhaps even an error simply asking users to switch to the JAX API -- since as far as I can tell the function signature is identical)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.