mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Merge pull request #22222 from mattjj:xla-computation-deprecation
PiperOrigin-RevId: 648719949
This commit is contained in:
commit
42724ebc73
@ -226,8 +226,12 @@ _deprecations = {
|
|||||||
"jax.clear_backends is deprecated.",
|
"jax.clear_backends is deprecated.",
|
||||||
_deprecated_clear_backends
|
_deprecated_clear_backends
|
||||||
),
|
),
|
||||||
|
# Added Jun 16, 2024
|
||||||
"xla_computation": (
|
"xla_computation": (
|
||||||
"jax.xla_computation is deprecated. Please use the AOT APIs.",
|
"jax.xla_computation is deprecated. Please use the AOT APIs; see "
|
||||||
|
"https://jax.readthedocs.io/en/latest/aot.html. For example, replace "
|
||||||
|
"xla_computation(f)(*xs) with jit(f).lower(*xs).compiler_ir('hlo'). See "
|
||||||
|
"CHANGELOG.md for 0.4.30 for more examples.",
|
||||||
_deprecated_xla_computation
|
_deprecated_xla_computation
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user