Open
Conversation
Collaborator
|
Very cool! Does it work? Out of curiosity, how much of this was claude able to do on its own? I no longer own a mac to test this code but this is exciting! Edit: |
setuptools-scm requires git to determine the package version from tags. The Dockerfile was missing git, causing pip install to fail in CI. Two fixes: - Install git alongside curl in the Dockerfile so setuptools-scm can read the version from the copied .git history - Add fallback_version = "0.0.0" to [tool.setuptools_scm] in pyproject.toml as a safety net for git-free environments (shallow clones, tarballs, GitHub zip archives) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
Yep! I ran this example: https://github.com/tractometry/pyAFQ/blob/main/examples/howto_examples/pyAFQ_with_GPU.py, with the code on pyAFQ's main and this PR, and what an experience. 1M streamlines in 24 seconds on my Mac laptop and a full run of AFQ in under 15 minutes 🤯 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provide support for Metal shaders on Apple silicon. See the Metal README for details. Highlights include:
Note: This Metal backend was written by Claude Code (Anthropic's AI coding agent), with architectural direction, validation, and iterative review from me. The port is intentionally derivative — it mirrors the naming conventions, file structure, and two-pass kernel architecture of the existing CUDA backend to minimize cognitive overhead for contributors familiar with the codebase.