Fix broken links for moved design_notes folder

This commit is contained in:
Ian McKenzie 2022-06-24 12:18:11 -07:00
parent 989a3304bf
commit 0cc2ada432
5 changed files with 8 additions and 8 deletions

View File

@ -723,7 +723,7 @@ PLEASE REMEMBER TO CHANGE THE '..main' WITH AN ACTUAL TAG in GITHUB LINK.
* `TraceContext` --> {func}`~jax.profiler.TraceAnnotation`
* `StepTraceContext` --> {func}`~jax.profiler.StepTraceAnnotation`
* `trace_function` --> {func}`~jax.profiler.annotate_function`
* Omnistaging can no longer be disabled. See [omnistaging](https://github.com/google/jax/blob/main/design_notes/omnistaging.md)
* Omnistaging can no longer be disabled. See [omnistaging](https://github.com/google/jax/blob/main/docs/design_notes/omnistaging.md)
for more information.
* Python integers larger than the maximum `int64` value will now lead to an overflow
in all cases, rather than being silently converted to `uint64` in some cases ({jax-issue}`#6047`).
@ -983,7 +983,7 @@ PLEASE REMEMBER TO CHANGE THE '..main' WITH AN ACTUAL TAG in GITHUB LINK.
* [GitHub commits](https://github.com/google/jax/compare/jax-v0.1.77...jax-v0.2.0).
* Improvements:
* Omnistaging on by default. See {jax-issue}`#3370` and
[omnistaging](https://github.com/google/jax/blob/main/design_notes/omnistaging.md)
[omnistaging](https://github.com/google/jax/blob/main/docs/design_notes/omnistaging.md)
## jax (0.1.77) (September 15 2020)

View File

@ -993,7 +993,7 @@
"id": "COjzGBpO4tzL"
},
"source": [
"JAX instead implements an _explicit_ PRNG where entropy production and consumption are handled by explicitly passing and iterating PRNG state. JAX uses a modern [Threefry counter-based PRNG](https://github.com/google/jax/blob/main/design_notes/prng.md) that's __splittable__. That is, its design allows us to __fork__ the PRNG state into new PRNGs for use with parallel stochastic generation.\n",
"JAX instead implements an _explicit_ PRNG where entropy production and consumption are handled by explicitly passing and iterating PRNG state. JAX uses a modern [Threefry counter-based PRNG](https://github.com/google/jax/blob/main/docs/design_notes/prng.md) that's __splittable__. That is, its design allows us to __fork__ the PRNG state into new PRNGs for use with parallel stochastic generation.\n",
"\n",
"The random state is described by two unsigned-int32s that we call a __key__:"
]

View File

@ -504,7 +504,7 @@ The Mersenne Twister PRNG is also known to have a [number](https://cs.stackexcha
+++ {"id": "COjzGBpO4tzL"}
JAX instead implements an _explicit_ PRNG where entropy production and consumption are handled by explicitly passing and iterating PRNG state. JAX uses a modern [Threefry counter-based PRNG](https://github.com/google/jax/blob/main/design_notes/prng.md) that's __splittable__. That is, its design allows us to __fork__ the PRNG state into new PRNGs for use with parallel stochastic generation.
JAX instead implements an _explicit_ PRNG where entropy production and consumption are handled by explicitly passing and iterating PRNG state. JAX uses a modern [Threefry counter-based PRNG](https://github.com/google/jax/blob/main/docs/design_notes/prng.md) that's __splittable__. That is, its design allows us to __fork__ the PRNG state into new PRNGs for use with parallel stochastic generation.
The random state is described by two unsigned-int32s that we call a __key__:

View File

@ -175,18 +175,18 @@ class Config:
if not FLAGS.jax_omnistaging:
raise Exception(
"Disabling of omnistaging is no longer supported in JAX version 0.2.12 and higher: "
"see https://github.com/google/jax/blob/main/design_notes/omnistaging.md.\n"
"see https://github.com/google/jax/blob/main/docs/design_notes/omnistaging.md.\n"
"To remove this warning, unset the JAX_OMNISTAGING environment variable.")
def enable_omnistaging(self):
warnings.warn(
"enable_omnistaging() is a no-op in JAX versions 0.2.12 and higher;\n"
"see https://github.com/google/jax/blob/main/design_notes/omnistaging.md")
"see https://github.com/google/jax/blob/main/docs/design_notes/omnistaging.md")
def disable_omnistaging(self):
raise Exception(
"Disabling of omnistaging is no longer supported in JAX version 0.2.12 and higher: "
"see https://github.com/google/jax/blob/main/design_notes/omnistaging.md.")
"see https://github.com/google/jax/blob/main/docs/design_notes/omnistaging.md.")
def define_bool_state(
self, name: str, default: bool, help: str, *,

View File

@ -971,7 +971,7 @@ before conversion. (This is a hypothesis, we have not yet verified it extensivel
There is one know case when the performance of the converted code will be different.
JAX programs use a [stateless
deterministic PRNG](https://github.com/google/jax/blob/main/design_notes/prng.md)
deterministic PRNG](https://github.com/google/jax/blob/main/docs/design_notes/prng.md)
and it has an internal JAX primitive for it.
This primitive is at the moment converted to a soup of tf.bitwise operations,
which has a clear performance penalty. We plan to look into using the