You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
810 B
20 lines
810 B
build: |
|
gpu: true |
|
cuda: "11.3" |
|
python_version: "3.8" |
|
system_packages: |
|
- "libgl1-mesa-glx" |
|
- "libglib2.0-0" |
|
python_packages: |
|
- "ipython==8.4.0" |
|
- "fairscale==0.4.12" |
|
- "transformers==4.21.2" |
|
- "ftfy==6.1.1" |
|
- "torch==1.11.0 --extra-index-url=https://download.pytorch.org/whl/cu113" |
|
- "torchvision==0.12.0 --extra-index-url=https://download.pytorch.org/whl/cu113" |
|
run: |
|
- pip install -e git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip |
|
- pip install -e git+https://github.com/openai/CLIP.git@main#egg=clip |
|
- mkdir -p /root/.cache/clip && wget --output-document "/root/.cache/clip/ViT-L-14.pt" "https://openaipublic.azureedge.net/clip/models/b8cca3fd41ae0c99ba7e8951adf17d267cdb84cd88be6f7c2e0eca1737a03836/ViT-L-14.pt" |
|
|
|
predict: "predict.py:Predictor"
|
|
|