patch bump for next release (#2991)

This commit is contained in:
Awni Hannun
2026-01-14 08:46:09 -08:00
committed by GitHub
parent ac26a4cc0d
commit 2469fc2939
5 changed files with 13 additions and 11 deletions
+2
View File
@@ -24,6 +24,8 @@ runs:
# Can not build tests and stubs when the built executables can not run.
CMAKE_ARGS="$CMAKE_ARGS -DMLX_BUILD_TESTS=OFF -DMLX_BUILD_PYTHON_STUBS=OFF"
fi
# Install cpu-only torch to save space
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install --no-build-isolation -e ".[dev]" -v
# Pass the CMAKE_ARGS to following steps.
echo CMAKE_ARGS="$CMAKE_ARGS" >> $GITHUB_OUTPUT
+1
View File
@@ -27,6 +27,7 @@ runs:
zip \
libblas-dev liblapack-dev liblapacke-dev \
openmpi-bin openmpi-common libopenmpi-dev
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc || true
echo "::endgroup::"
- name: Use ccache
+9 -9
View File
@@ -29,7 +29,7 @@ jobs:
- uses: ./.github/actions/build-docs
deploy_documentation:
if: inputs.publish
if: ${{ github.event_name == 'push' || inputs.publish }}
needs: build_documentation
permissions:
pages: write
@@ -161,7 +161,7 @@ jobs:
permissions:
id-token: write
environment:
name: ${{ inputs.publish && 'pypi' || '' }}
name: pypi
url: https://pypi.org/p/mlx
steps:
- uses: actions/download-artifact@v7
@@ -177,7 +177,7 @@ jobs:
- name: Display structure of downloaded files
run: du -ah dist
- name: Publish package distributions to PyPI
if: inputs.publish
if: ${{ github.event_name == 'push' || inputs.publish }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/
@@ -189,7 +189,7 @@ jobs:
permissions:
id-token: write
environment:
name: ${{ inputs.publish && 'pypi' || '' }}
name: pypi
url: https://pypi.org/p/mlx-cuda
steps:
- uses: actions/download-artifact@v7
@@ -200,7 +200,7 @@ jobs:
- name: Display structure of downloaded files
run: du -ah dist
- name: Publish package distributions to PyPI
if: inputs.publish
if: ${{ github.event_name == 'push' || inputs.publish }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/
@@ -212,7 +212,7 @@ jobs:
permissions:
id-token: write
environment:
name: ${{ inputs.publish && 'pypi' || '' }}
name: pypi
url: https://pypi.org/p/mlx-cpu
steps:
- uses: actions/download-artifact@v7
@@ -223,7 +223,7 @@ jobs:
- name: Display structure of downloaded files
run: du -ah dist
- name: Publish package distributions to PyPI
if: inputs.publish
if: ${{ github.event_name == 'push' || inputs.publish }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/
@@ -235,7 +235,7 @@ jobs:
permissions:
id-token: write
environment:
name: ${{ inputs.publish && 'pypi' || '' }}
name: pypi
url: https://pypi.org/p/mlx-metal
steps:
- uses: actions/download-artifact@v7
@@ -245,7 +245,7 @@ jobs:
- name: Display structure of downloaded files
run: du -ah dist
- name: Publish package distributions to PyPI
if: inputs.publish
if: ${{ github.event_name == 'push' || inputs.publish }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://upload.pypi.org/legacy/