forked from ali-vilab/AnyDoor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cog.yaml
36 lines (34 loc) · 1023 Bytes
/
cog.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
gpu: true
system_packages:
- "mesa-common-dev"
python_version: "3.8.5"
python_packages:
- "albumentations==1.3.0"
- "einops==0.3.0"
- "fvcore==0.1.5.post20221221"
- "gradio==3.39.0"
- "numpy==1.23.1"
- "omegaconf==2.1.1"
- "open_clip_torch==2.17.1"
- "opencv_python==4.7.0.72"
- "opencv_python_headless==4.7.0.72"
- "Pillow==9.4.0"
- "pytorch_lightning==1.5.0"
- "safetensors==0.2.7"
- "scipy==1.9.1"
- "setuptools==66.0.0"
- "share==1.0.4"
- "submitit==1.5.1"
- "timm==0.6.12"
- "torch==2.0.0"
- "torchmetrics==0.6.0"
- "tqdm==4.65.0"
- "transformers==4.19.2"
- "xformers==0.0.18"
run:
- curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/download/v0.3.1/pget" && chmod +x /usr/local/bin/pget
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"