-
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
Conda-forge package of NNPOps #26
Comments
I think that ought to be possible. I don't know of any reason it wouldn't be. |
alright. is there anything that is blocking re: this? it would help if we can get this in asap. |
So far as I know, the only thing blocking it is time. Can you implement it? I don't expect to be able to any time soon. @raimis created the Python module, so he might be able to give advice on what needs to be done. |
@peastman: We can do this, but we'll restructure this repo to conform to some familiar structure, including:
@ijpulidos will reach out to you to schedule a time for us (with @mikemhenry) to chat and figure out what needs to be done here. Hopefully @raimis can make it too, but given the differences in time zones, it may be difficult to plan for that. |
Take a look at PR #15 for inspiration |
We might also use this opportunity to restructure based on MolSSI cookiecutter |
@mikemhenry we have a proper build system (#33). Could you try to make a feedstock to see if more changes are needed? |
For an actual release, I still have to finish #13, but it is already good for an alpha release. |
Sounds good! I will get working on the feedstock! |
@raimis Can I publish a 0.0.1 release? I'll need to have a release in order to make the feedstock. |
@peastman has to do that. I don't have the permission. |
@peastman can you give me permissions to create releases? In the meantime, I can use my fork with a release on it to play around with the recipe and can just swap URLs before merging. |
You should have permission now. |
@peastman I don't Just to check, this is what it looks like on a repo that I can make a release for: I also tried using the cli to make a release and I got a 404 from the api endpoint, so I don't think I've got permission. |
@raimis |
We need it to be compatible with OpenMM-Torch (https://github.com/conda-forge/openmm-torch-feedstock). So just copy what OpenMM-Torch supports. |
I have finished #13. So we have everything merged regarding the ANI models. @mikemhenry how is it going with the packages? |
Fantastic! 🎉 Thanks so much @raimis! @mikemhenry : Have you managed to connect up directly with @raimis to see if we need to restructure the repo any to help make packaging easier (e.g. make it look more like the MolSSI cookiecutter with a |
There is a bit difference between:
Cookiecutter and The easiest solution is just to use CMake, which has a good support of CUDA and we have plenty of experience using it for OpenMM byself and other projects. |
Good! I've got a feedstock that I'm working with, just working on making it build on multiple platforms |
@mikemhenry for the moment we need just |
@mikemhenry I have tagged the first release (https://github.com/openmm/NNPOps/releases/tag/v0.0). Use it to build the packages. |
Nothing, but using |
@raimis Does it make sense to have a CPU build of this package? |
In general yes, but it isn't a priority. The source will have to be modified to enable a conditional building of the CUDA part. |
@raimis conda-forge/staged-recipes#16257 (comment) I think if set things up so we can just build a CPU version, then we can get a CPU build on conda-forge, then we can get the GPU build added by working in the feedstock repository instead. |
@mikemhenry OK, I'll add a CPU-only option. |
@mikemhenry I have added an option for a CPU-only build (#48):
After #41 is merged, I will make a release of NNPOps 0.2. If you need a tag faster, I can make a release candidate. |
A release candidate would be great! But I could also merge the PR into my fork for getting the staging recipe on conda-forge and then change it later as well, whatever works best for you! Thanks! |
Try with your fork, it will be faster. |
@mikemhenry the CPU-only option (#48) has been merged! |
@mikemhenry what is the situation with this? |
Working on the CPU build now! |
Quick update: Worked with @jaimergp yesterday and fixed a few blockers, still working through some issues but progress is being made. |
@mikemhenry : For the sake of all the rest of us, would it be possible for you to summarize your learnings and the remaining steps here? It's not possible for us to learn how to overcome these blockers in the future for other projects otherwise. |
Yes! The big tl;dr is that building CUDA/GPU packages is really tough in the |
This command will install the package. I only uploaded cuda 11.2 builds, python 3.7, 3.8, 3.9 to the channel but once we get it on conda-forge proper we will have a full matrix of python, cuda, any pytorch versions
|
I've updated the nnpops package in my channel to 0.2 |
Resolved with |
Feedstock here: |
Great news! @mikemhenry thank you for your tremendous effort. |
👐 thank you for your patience!!! I was naive in thinking it would be easy! |
@peastman , I've had some difficulty cmaking and installing this repo (ultimately with success). would it be possible to make this conda-installable so we can have a consistent working version with
openmm-torch
andOpenMM 7.5.1
maybe?The text was updated successfully, but these errors were encountered: