Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run cibuildwheel on Apple silicon to publish pre-compiled macOS ARM binaries #78

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

janosh
Copy link
Collaborator

@janosh janosh commented Oct 4, 2023

Just noticed our current release is missing macOS ARM wheels.

https://inspector.pypi.io/project/chgnet/0.2.1

Luckily, GitHub just started offering hosted Apple Silicon runners 2 days ago.

@janosh janosh temporarily deployed to github-pages October 4, 2023 22:54 — with GitHub Actions Inactive
@janosh janosh added pkg Package ci Continuous integration labels Oct 5, 2023
@janosh janosh temporarily deployed to github-pages October 5, 2023 01:37 — with GitHub Actions Inactive
@janosh janosh temporarily deployed to github-pages October 5, 2023 01:47 — with GitHub Actions Inactive
hopefully fixes

RuntimeError: MPS backend out of memory (MPS allocated: 0 bytes, other allocations: 0 bytes, max allowed: 1.70 GB). Tried to allocate 0 bytes on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).
@janosh janosh temporarily deployed to github-pages October 5, 2023 01:55 — with GitHub Actions Inactive
@janosh janosh merged commit 4b7286e into main Oct 6, 2023
5 checks passed
@janosh janosh deleted the fix-missing-apple-silican-wheels branch October 6, 2023 15:24
@janosh janosh temporarily deployed to github-pages October 6, 2023 15:27 — with GitHub Actions Inactive
@radeva
Copy link

radeva commented Jan 18, 2024

@janosh In case you need free M1 runners, you can try FlyCI's M1 and M2 runners. They are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below).

Install Instructions

  1. Install FlyCI app and
  2. Easily replace one line of code and start using FlyCI runners:
jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

500 mins/month Free for Public Repos

Since your repo is public, FlyCI offers 500 mins/month of free M1 runner usage with the flyci-macos-large-latest-m1 runner for public projects.

Don't hesitate to contact us in case the free tier doesn't suit your needs or you experience any issues with the runners. Our team is here to support you!

Best Regards,
Veselina Radeva
Product Manager at FlyCI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration pkg Package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants