-
Notifications
You must be signed in to change notification settings - Fork 0
/
cog.yaml
42 lines (36 loc) · 1001 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
37
38
39
40
41
42
# Configuration for Cog ⚙️
# Reference: https://cog.run/yaml
build:
# set to true if your model requires a GPU
gpu: true
cuda: "12.1"
# a list of ubuntu apt packages to install
system_packages:
- "cmake"
- "libgl1"
# python version in the form '3.11' or '3.11.4'
python_version: "3.10"
# python_requirements: "requirements.txt"
# a list of packages in the format <package-name>==<version>
# python_packages:
# - "numpy==1.19.4"
# - "torch==1.8.0"
# - "torchvision==0.9.0"
python_packages:
- "Cython"
- "matplotlib>=3.2.2"
- "numpy>=1.18.5"
- "opencv-python>=4.1.2"
- "pillow"
- "PyYAML>=5.3"
- "scipy>=1.4.1"
- "tensorboard>=2.2"
- "torch>=1.6.0"
- "torchvision>=0.7.0"
- "tqdm>=4.41.0"
# commands run after the environment is setup
# run:
# - "echo env is ready!"
# - "echo another command if needed"
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"