Upload folder using huggingface_hub
Browse files- config.yml +9 -9
config.yml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
Image:
|
| 2 |
from_base: parachutes/python:3.12
|
| 3 |
run_command:
|
| 4 |
-
- USER root
|
| 5 |
-
- apt-get update
|
| 6 |
-
- apt-get install -y --no-install-recommends wget gnupg2
|
| 7 |
-
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
|
| 8 |
-
- dpkg -i cuda-keyring_1.1-1_all.deb
|
| 9 |
-
- apt-get update
|
| 10 |
-
- apt-get install -y --no-install-recommends tensorrt python3-libnvinfer-dev
|
| 11 |
-
- rm -rf /var/lib/apt/lists/*
|
| 12 |
-
- USER 1000
|
| 13 |
- pip install --upgrade setuptools wheel
|
| 14 |
- pip install huggingface_hub==0.19.4 requests opencv-python-headless pydantic onnxruntime onnxruntime-gpu scikit-learn tensorflow torch-tensorrt==2.7 torch==2.7.1 torchvision==0.22.1 pyyaml
|
| 15 |
|
|
|
|
| 1 |
Image:
|
| 2 |
from_base: parachutes/python:3.12
|
| 3 |
run_command:
|
| 4 |
+
# - USER root
|
| 5 |
+
# - apt-get update
|
| 6 |
+
# - apt-get install -y --no-install-recommends wget gnupg2
|
| 7 |
+
# - wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
|
| 8 |
+
# - dpkg -i cuda-keyring_1.1-1_all.deb
|
| 9 |
+
# - apt-get update
|
| 10 |
+
# - apt-get install -y --no-install-recommends tensorrt python3-libnvinfer-dev
|
| 11 |
+
# - rm -rf /var/lib/apt/lists/*
|
| 12 |
+
# - USER 1000
|
| 13 |
- pip install --upgrade setuptools wheel
|
| 14 |
- pip install huggingface_hub==0.19.4 requests opencv-python-headless pydantic onnxruntime onnxruntime-gpu scikit-learn tensorflow torch-tensorrt==2.7 torch==2.7.1 torchvision==0.22.1 pyyaml
|
| 15 |
|