diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5c8a78b8f..fc69e7e188 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: matrix: os: ['Linux', 'Windows'] arch: ['x86_64', 'aarch64'] - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: &pyver ['3.10', '3.11', '3.12', '3.13', '3.13t', '3.14', '3.14t'] # There is no cp310 binary for Windows on arm. exclude: - os: 'Windows' @@ -138,7 +138,7 @@ jobs: if: github.repository == 'ml-explore/mlx' strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: *pyver runs-on: 'macos-26' env: *build-env steps: diff --git a/python/src/CMakeLists.txt b/python/src/CMakeLists.txt index 447271500b..0798add410 100644 --- a/python/src/CMakeLists.txt +++ b/python/src/CMakeLists.txt @@ -2,6 +2,7 @@ nanobind_add_module( core NB_STATIC STABLE_ABI + FREE_THREADED LTO NOMINSIZE NB_DOMAIN