Open
Conversation
Apple Silicon-compatible fork created with Claude. Use Python 3.13 environment. This fork was created for use with a mps fork of Proteina-Complexa.
…n crash - Add CMake/ninja/scikit-build artifacts to .gitignore (.cmake/reply/, CMakeFiles/, CMakeCache.txt, build.ninja, .ninja_*, .skbuild-info.json, metal_air/, Makefile, cmake_install.cmake, pack_rotamers_*.pdb) - Untrack 108 previously-committed build artifacts via git rm --cached - Fix _cpp_lib.py: use glob to locate _C.so instead of importlib.util.find_spec (find_spec executes the .so init as a side effect, causing double-registration of TORCH_LIBRARY ops and a C++ abort on subsequent load_library calls); add sys.modules guard as additional safety Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Set KMP_DUPLICATE_LIB_OK=TRUE in execute_process calls that import torch so the duplicate-libomp crash no longer prevents resolving the conda torch cmake prefix path. Also auto-discover pybind11's cmake dir from the active Python environment the same way, replacing the need for a system-installed pybind11. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The KMP_DUPLICATE_LIB_OK=TRUE workaround was missing from the execute_process that fetches the torch version, causing an abort and an empty _TORCH_VERSION list → "list GET given empty list" errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
This is an MPS fork I needed for a Proteina-Complexa fork running on Apple Silicon.
Florian