-
Notifications
You must be signed in to change notification settings - Fork 236
/
Copy pathtorchbench_gpu_sdl.yaml
38 lines (37 loc) · 1.09 KB
/
torchbench_gpu_sdl.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
---
version: "2.0"
services:
gpu-test:
image: docker.io/thumperai/torchbench
expose:
- port: 3000
as: 80
to:
- global: true
# cmd:
# - 'python /workspace/benchmark/install.py models hf_bert hf_Bert_large resnet50 tacotron2 && pytest /workspace/benchmark/test_bench.py -k "(hf_bert or hf_bert_Large or resnet50 or tacotron2)" --ignore_machine_config'
# - "cd benchmark && python install.py models hf_bert hf_Bert_large resnet50 tacotron2 && pytest /workspace/benchmark/test_bench.py -k '(hf_bert or hf_bert_Large or resnet50 or tacotron2 and (not cuda))' --ignore_machine_config"
# runtime is about 1 minute for setup and about 8 minutes for benchmarks on laptop
profiles:
compute:
gpu-test:
resources:
cpu:
units: 1
memory:
size: 20Gi
gpu:
units: 1
storage:
- size: 100Gi
placement:
westcoast:
pricing:
gpu-test:
denom: uakt
amount: 100000
deployment:
gpu-test:
westcoast:
profile: gpu-test
count: 1