-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jax-docs-advanced-tutorials
- Loading branch information
Showing
160 changed files
with
8,092 additions
and
2,505 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 |
---|---|---|
|
@@ -20,16 +20,15 @@ permissions: | |
contents: read # to fetch code | ||
actions: write # to cancel previous workflows | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint_and_typecheck: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
if: ${{github.ref != 'refs/heads/main'}} | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 | ||
|
@@ -58,11 +57,6 @@ jobs: | |
prng-upgrade: 0 | ||
num_generated_cases: 1 | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
if: ${{github.ref != 'refs/heads/main'}} | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 | ||
|
@@ -110,11 +104,6 @@ jobs: | |
matrix: | ||
python-version: ['3.10'] | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
if: ${{github.ref != 'refs/heads/main'}} | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 | ||
|
@@ -152,11 +141,6 @@ jobs: | |
matrix: | ||
python-version: ['3.10'] | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
if: ${{github.ref != 'refs/heads/main'}} | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 | ||
|
@@ -193,11 +177,6 @@ jobs: | |
enable-x64: 0 | ||
num_generated_cases: 10 | ||
steps: | ||
- name: Cancel previous | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
if: ${{github.ref != 'refs/heads/main'}} | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # ratchet:actions/setup-python@v5 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ name: Wheel build - Windows CPU x86_64 | |
on: | ||
workflow_dispatch: # allows triggering the workflow run manually | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DISTUTILS_USE_SDK: 1 | ||
MSSdk: 1 | ||
|
@@ -13,16 +17,11 @@ jobs: | |
matrix: | ||
os: [windows-2019-32core] | ||
arch: [AMD64] | ||
pyver: ['3.10', '3.11', '3.12'] | ||
pyver: ['3.10', '3.11', '3.12', '3.13.0-rc.2'] | ||
name: ${{ matrix.os }} ${{ matrix.pyver }} jaxlib wheel build | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install LLVM/Clang | ||
run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade | ||
|
||
|
@@ -58,7 +57,7 @@ jobs: | |
JAX_SKIP_SLOW_TESTS: true | ||
PY_COLORS: 1 | ||
run: | | ||
python -m pip install --find-links ${{ github.workspace }}\dist jaxlib | ||
python -m pip install -e ${{ github.workspace }} | ||
python -m pip install --no-index --find-links ${{ github.workspace }}\dist jaxlib | ||
echo "JAX_ENABLE_CHECKS=$JAX_ENABLE_CHECKS" | ||
pytest -n auto --tb=short tests examples |
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 |
---|---|---|
|
@@ -6,6 +6,10 @@ on: | |
pull_request: | ||
types: [ labeled ] # allow force-windows-run label | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DISTUTILS_USE_SDK: 1 | ||
MSSdk: 1 | ||
|
@@ -23,10 +27,6 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # ratchet: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install LLVM/Clang | ||
run: choco install llvm --version=18.1.4 --yes --no-progress --allow-downgrade | ||
|
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.