Check that the new environment is compatible with both PIP and conda#1
Merged
sdvillal merged 2 commits intoDec 23, 2025
Conversation
Collaborator
Author
|
@sdvillal I finally got the "pure pip environment" to work after switching to Docker for isolation. Overall, the changes were rather minimal to get it working again.
|
Owner
|
Thanks a lot @Emrys-Merlin, good work, particularly with the "minimal installation instruction dockerfiles". There are also some efforts upstream to get more streamlined the current environments (see our draft PR for summary). I will merge this and keep working in the original branch. |
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 branch aims to find a middleground between the PyPI and conda world. Openfold-3 should be intallable in both.
For testing, I created two new Dockerfiles. One for the PyPI setup (using uv) and one for the pixi setup. This was to isolate everything as far as possible from the base system. Think of these Dockerfiles as build instructions. These build by no means production ready docker images (however, I tried to keep them very minimal).
Build the docker images
where
$SUFFIXshould be one ofpypiorpixi.Run the inference tests
Please note the volume mount. It is necessary to mount the checkpoint inside the docker image. I thought of adding the checkpoints directly to the image, but the
setup_openfoldentrypoint is purely interactive (no force option), which made that difficult and I did not want to spend the time to fix it. The volume mount solution needs another manual step. Inside the directory is a file calldckpt_rootwhich stores the absolute path to the checkpoint. This needs to be changed to/root/.openfold3. Sorry for that.Note: I set the python version to 3.12 for the uv setup while debugging the ABI issue and forgot to switch back. It should work with 3.13 too, I think and I can try it later if it's necesary.