Skip to content

Commit c45197e

Browse files
arnoegwFlax Authors
authored andcommitted
Doc fix: remove outdated advice on flax v0.6.10; it was released two years ago.
PiperOrigin-RevId: 799671841
1 parent 7eba011 commit c45197e

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

docs/guides/parallel_training/flax_on_pjit.ipynb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,6 @@
3939
"**Note:** This guide uses the `--xla_force_host_platform_device_count=8` flag to emulate multiple devices in a CPU environment in a Google Colab/Jupyter Notebook. You don't need this if you are already using a multi-device TPU environment."
4040
]
4141
},
42-
{
43-
"cell_type": "code",
44-
"execution_count": 1,
45-
"metadata": {
46-
"tags": [
47-
"skip-execution"
48-
]
49-
},
50-
"outputs": [],
51-
"source": [
52-
"# Once Flax v0.6.10 is released, there is no need to do this.\n",
53-
"# ! pip3 install -qq \"git+https://github.com/google/flax.git@main#egg=flax\""
54-
]
55-
},
5642
{
5743
"cell_type": "code",
5844
"execution_count": 2,

docs/guides/parallel_training/flax_on_pjit.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ Import some necessary dependencies.
3434

3535
**Note:** This guide uses the `--xla_force_host_platform_device_count=8` flag to emulate multiple devices in a CPU environment in a Google Colab/Jupyter Notebook. You don't need this if you are already using a multi-device TPU environment.
3636

37-
```{code-cell} ipython3
38-
:tags: [skip-execution]
39-
40-
# Once Flax v0.6.10 is released, there is no need to do this.
41-
# ! pip3 install -qq "git+https://github.com/google/flax.git@main#egg=flax"
42-
```
43-
4437
```{code-cell} ipython3
4538
import os
4639
os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=8'

0 commit comments

Comments
 (0)