-
Notifications
You must be signed in to change notification settings - Fork 18
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
[WIP] Run CI on macOS #63
base: master
Are you sure you want to change the base?
Conversation
@peastman thanks for working on this, ping me if you run into any issues with missing packages |
The Linux CUDA builds are failing with an error that I don't think is related to any of my changes? It looks like cuaev is compiled with an incompatible ABI.
The Mac Intel build is failing at the setup stage:
It's not clear to me what's causing that. Checking the file list at https://anaconda.org/conda-forge/pytorch-cpu/files I see the file To get builds running on ARM Mac, we need to get the M1 runner working again. |
I have feeling the failures on Linux related to conda-forge/openmm-torch-feedstock#20. So, I'll try Mamba for the CI. |
The CI issue is fixed: #64 |
Nice! I don't have write access to this repo, but I'm guessing that once we merge the changes in from main things will pass. |
Thanks! That fixed it. So now we just have the problem with it not finding the pytorch package. Any idea what's up with that? |
Weird, it looks like it exists: https://anaconda.org/conda-forge/pytorch-cpu/1.11.0/download/osx-64/pytorch-cpu-1.11.0-cpu_py310hde81af8_2.tar.bz2
Unless the issue is with this syntax, which looks suspect to me |
On an Intel Mac, I created an environment with Python 3.10. Then I typed the following command:
and it worked without problem. So why does it fail on CI??? |
Is there something going on with |
I feel like something is off since it also can't find python 3.10 |
You're right. I had to rewrite the |
Progress! Here's the error it fails with now.
It also reports what look like some genuine errors in the code:
|
Yes, the warnings have to be fixed. |
I'm not a cmake expert, but I'm guessing we need to modify cmake to add the location of mkl_intel_ilp64 to |
We don't directly use MKL anywhere. It's coming from PyTorch. The build scripts for PyTorch are designed to locate lots of different BLAS implementations and use whichever one is available. The conda packages for |
What is interesting is I get a different linking error when building on conda-forge CI |
That would make sense. 10.9 is a really old version, from 2013. It sounds like PyTorch requires a newer one. |
The log shows the build is run on macOS 11.6.8. We don't specify a value for |
|
I tried adding
The symbol |
It looks like there are some things we can try here: https://conda-forge.org/docs/maintainer/knowledge_base.html#blas |
Fixes #62