{"id":46064186,"url":"https://github.com/morton-li/pytorch-macos-builder","last_synced_at":"2026-03-01T12:02:23.234Z","repository":{"id":318099756,"uuid":"983869393","full_name":"Morton-Li/PyTorch-MacOS-Builder","owner":"Morton-Li","description":"The project is dedicated to extending the PyTorch support cycle for Intel-based macOS users by providing x86-compatible builds of the official PyTorch releases. 项目致力于为 Intel 架构 macOS 用户延续 PyTorch 支持周期，提供官方原版 PyTorch 的 x86 兼容构建。","archived":false,"fork":false,"pushed_at":"2026-01-22T06:07:57.000Z","size":30,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T15:35:58.803Z","etag":null,"topics":["macos","pytorch","x86"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Morton-Li.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-15T03:35:07.000Z","updated_at":"2026-01-22T06:08:00.000Z","dependencies_parsed_at":"2025-10-05T05:36:05.879Z","dependency_job_id":"f07cb7cb-5af3-434a-a585-10856e892667","html_url":"https://github.com/Morton-Li/PyTorch-MacOS-Builder","commit_stats":null,"previous_names":["morton-li/pytorch-macos-builder"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Morton-Li/PyTorch-MacOS-Builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morton-Li%2FPyTorch-MacOS-Builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morton-Li%2FPyTorch-MacOS-Builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morton-Li%2FPyTorch-MacOS-Builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morton-Li%2FPyTorch-MacOS-Builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morton-Li","download_url":"https://codeload.github.com/Morton-Li/PyTorch-MacOS-Builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morton-Li%2FPyTorch-MacOS-Builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T11:43:06.159Z","status":"ssl_error","status_checked_at":"2026-03-01T11:43:03.887Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","pytorch","x86"],"created_at":"2026-03-01T12:02:22.688Z","updated_at":"2026-03-01T12:02:23.208Z","avatar_url":"https://github.com/Morton-Li.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyTorch macOS Builder\n\n\u003e 🔧 自动构建 PyTorch 官方发行版本的 macOS 平台兼容 `.whl` 安装包。  \n\u003e 🔧 Automatically build official PyTorch release `.whl` packages for macOS\n\n---\n\n## 📦 项目简介 Project Introduction\n\n[本项目](https://github.com/Morton-Li/PyTorch-MacOS-Builder)通过 GitHub Actions 定期获取 [PyTorch 官方仓库](https://github.com/pytorch/pytorch) 的最新稳定版本，并自动构建适用于 **macOS** 的 Python wheel 安装包。\n\n构建产物为**多 Python 版本**的 `.whl` 文件，便于在老款 Mac 上继续使用高版本 PyTorch。\n\n[This project](https://github.com/Morton-Li/PyTorch-MacOS-Builder) uses GitHub Actions to periodically fetch the latest stable release from the [official PyTorch repository](https://github.com/pytorch/pytorch), and automatically builds Python wheel packages for **macOS**.\n\nThe output includes `.whl` files for **multiple Python versions**, allowing users to continue using newer versions of PyTorch on older Mac machines.\n\n---\n\n## 🛠 使用方式 How to Use\n\n1. 从 [Releases 页面](../../releases) 下载你所需版本的 `.whl`：  \n   示例文件名：`torch-2.10.0-cp313-cp313-macosx_11_0_x86_64.whl`\n2. 使用 `pip` 安装：\n    ```bash\n    pip install torch-2.10.0-cp313-cp313-macosx_11_0_x86_64.whl\n    ```\n3. 验证是否安装成功：\n   ```bash\n    python -c \"import torch; print(torch.__version__)\"\n    ```\n\n---\n\n## 💡 为什么需要这个项目 Why This Project Matters\n\n由于 PyTorch 从 2.3 版本开始不再支持 Intel 架构的 macOS，而部分旧款 Mac 用户仍需使用较新 PyTorch，本项目旨在填补官方构建缺失，**延续 PyTorch 对 Intel Mac 的支持周期**。\n\nStarting from version 2.3, PyTorch has dropped support for Intel-based macOS. This project aims to fill the gap by **extending PyTorch support for Intel Macs**, helping users continue to benefit from newer versions.\n\n---\n\n## ⚙️ 构建特性 Build Features\n\n本项目构建的 PyTorch 安装包具有以下特性：\n\n* ✅ 使用 **Intel MKL** 作为 BLAS 后端，提供更高的数值计算性能\n* ✅ 启用 **OpenMP** 并行支持，充分利用多核 CPU 加速张量运算\n* ✅ 启用 **oneDNN** 支持，自动加速部分 CNN、线性层等算子，提升 CPU 上的推理性能\n* ✅ 启用 **Metal Performance Shaders (MPS)** 后端，在 macOS 上提供 GPU 加速能力，通过 Metal 后端优化张量运算效率\n\nThe PyTorch wheels built by this project have the following features:\n\n* ✅ **Intel MKL** as the BLAS backend for high-performance numerical operations\n* ✅ **OpenMP** support enabled to accelerate tensor computations on multi-core CPUs\n* ✅ **oneDNN** support enabled to accelerate CPU inference for convolution and linear layers\n* ✅ **Metal Performance Shaders (MPS)** backend enabled to provide GPU acceleration on macOS, leveraging the Metal framework to optimize tensor computation performance\n\n---\n\n## 🤝 鸣谢 Acknowledgements\n\n- [PyTorch](https://github.com/pytorch/pytorch)\n- [GitHub Actions](https://github.com/features/actions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorton-li%2Fpytorch-macos-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorton-li%2Fpytorch-macos-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorton-li%2Fpytorch-macos-builder/lists"}