forked from google/jax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'google:main' into main
- Loading branch information
Showing
503 changed files
with
23,727 additions
and
10,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: CI | ||
|
||
# We test all supported Python versions as follows: | ||
# - 3.9 : Documentation build | ||
# - 3.9 : Part of Matrix with NumPy dispatch | ||
# - 3.10 : Documentation build | ||
# - 3.10 : Part of Matrix with NumPy dispatch | ||
# - 3.10 : Part of Matrix | ||
# - 3.11 : Part of Matrix | ||
|
||
|
@@ -45,8 +45,8 @@ jobs: | |
matrix: | ||
# Test the oldest and newest supported Python versions here. | ||
include: | ||
- name-prefix: "with 3.9" | ||
python-version: "3.9" | ||
- name-prefix: "with 3.10" | ||
python-version: "3.10" | ||
os: ubuntu-20.04-16core | ||
enable-x64: 1 | ||
prng-upgrade: 1 | ||
|
@@ -108,7 +108,7 @@ jobs: | |
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
python-version: [3.9] | ||
python-version: ['3.10'] | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
|
@@ -136,10 +136,11 @@ jobs: | |
- name: Test documentation | ||
env: | ||
XLA_FLAGS: "--xla_force_host_platform_device_count=8" | ||
JAX_TRACEBACK_FILTERING: "off" | ||
JAX_ARRAY: 1 | ||
PY_COLORS: 1 | ||
run: | | ||
pytest -n auto --tb=short docs | ||
pytest -n auto --tb=short --doctest-glob='*.md' --doctest-glob='*.rst' docs --doctest-continue-on-failure --ignore=docs/multi_process.md | ||
pytest -n auto --tb=short --doctest-modules jax --ignore=jax/config.py --ignore=jax/experimental/jax2tf --ignore=jax/_src/lib/mlir --ignore=jax/_src/lib/triton.py --ignore=jax/_src/lib/mosaic_gpu.py --ignore=jax/interpreters/mlir.py --ignore=jax/experimental/array_serialization --ignore=jax/collect_profile.py --ignore=jax/_src/tpu_custom_call.py --ignore=jax/experimental/mosaic --ignore=jax/experimental/pallas --ignore=jax/_src/pallas --ignore=jax/experimental/maps.py | ||
|
@@ -149,7 +150,7 @@ jobs: | |
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
python-version: [3.9] | ||
python-version: ['3.10'] | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.