Spaces:
Running
Running
Commit
•
a533468
1
Parent(s):
2bc5de6
docker
Browse files- app.py +0 -4
- packages.txt +1 -0
app.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
import os
|
2 |
import random
|
3 |
import gradio as gr
|
4 |
from optimum_benchmark.task_utils import (
|
@@ -16,9 +15,6 @@ from config_store import (
|
|
16 |
get_pytorch_config,
|
17 |
)
|
18 |
|
19 |
-
os.system("curl -fsSL https://get.docker.com -o get-docker.sh")
|
20 |
-
os.system("sh get-docker.sh")
|
21 |
-
|
22 |
BACKENDS = ["pytorch", "onnxruntime", "openvino", "neural-compressor", "text-generation-inference"]
|
23 |
BENCHMARKS = ["inference", "training"]
|
24 |
DEVICES = ["cpu", "cuda"]
|
|
|
|
|
1 |
import random
|
2 |
import gradio as gr
|
3 |
from optimum_benchmark.task_utils import (
|
|
|
15 |
get_pytorch_config,
|
16 |
)
|
17 |
|
|
|
|
|
|
|
18 |
BACKENDS = ["pytorch", "onnxruntime", "openvino", "neural-compressor", "text-generation-inference"]
|
19 |
BENCHMARKS = ["inference", "training"]
|
20 |
DEVICES = ["cpu", "cuda"]
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
docker.io
|