Added a basic Dockerfile to improve dev experience#610
Added a basic Dockerfile to improve dev experience#610ankitvgupta wants to merge 2 commits intofacebookresearch:mainfrom
Conversation
|
Hi @ankitvgupta! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
|
Hi there Is it already possible to use the container and how? I tried but without success.... MG |
|
@Mar-Gra-creator what error do you get? |
I made a simple docker container (heavily influenced on the official Tensorflow docker container that I've used for other deep learning projects, and sharing some of the same features as the official pytorch and openfold containers. I did this mostly because I didn't want to change the version of CUDA and other packages installed on my linux box, and figured this would enable some nice portability for users who I'd imagine are often running ESM in a Docker-based HPC environment like Kubernetes or AWS Batch.
In particular, this container
Build steps
docker build -f Dockerfile -t esm .Running the container
docker run -it --rm --runtime=nvidia --gpus all esm conda activate esmfold # Whatever else you want to do!I'd be happy to follow up with a
docker-compose.ymlfile to further simplify build/usage, and to add some CI/CD automation to add container builds to Github Actions, if of interest. Figured I'd check with the maintainers first to see if this was of interest before continuing though.