Spaces:
Build error
Build error
fix torch install
Browse files- Dockerfile +10 -2
- requirements.txt +0 -15
Dockerfile
CHANGED
@@ -39,8 +39,16 @@ RUN rustc --version && cargo --version
|
|
39 |
RUN pip install --upgrade pip setuptools wheel && \
|
40 |
pip install numpy==1.26.4
|
41 |
|
42 |
-
# Install CPU-only
|
43 |
-
RUN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
# Install Python requirements with CPU-only constraints
|
46 |
COPY requirements.txt .
|
|
|
39 |
RUN pip install --upgrade pip setuptools wheel && \
|
40 |
pip install numpy==1.26.4
|
41 |
|
42 |
+
# Install Base PyTorch System - For CPU-only
|
43 |
+
RUN pip3 install \
|
44 |
+
torch \
|
45 |
+
torchvision \
|
46 |
+
torchaudio \
|
47 |
+
torchdatasets \
|
48 |
+
torchtext \
|
49 |
+
datasets \
|
50 |
+
transformers \
|
51 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
52 |
|
53 |
# Install Python requirements with CPU-only constraints
|
54 |
COPY requirements.txt .
|
requirements.txt
CHANGED
@@ -24,13 +24,6 @@ numpy==1.26.4
|
|
24 |
# torchvision
|
25 |
# transformers
|
26 |
# vllm
|
27 |
-
torch==2.5.1
|
28 |
-
# via
|
29 |
-
# auralis-tts (pyproject.toml)
|
30 |
-
# compressed-tensors
|
31 |
-
# torchaudio
|
32 |
-
# torchvision
|
33 |
-
# vllm
|
34 |
aiofiles==23.2.1
|
35 |
# via
|
36 |
# auralis
|
@@ -641,14 +634,6 @@ tomli==2.2.1
|
|
641 |
# via pytest
|
642 |
tomlkit==0.13.2
|
643 |
# via gradio
|
644 |
-
torchaudio==2.5.1
|
645 |
-
# via
|
646 |
-
# auralis-tts (pyproject.toml)
|
647 |
-
# auralis
|
648 |
-
torchvision==0.20.1
|
649 |
-
# via
|
650 |
-
# auralis-tts (pyproject.toml)
|
651 |
-
# vllm
|
652 |
tqdm==4.67.1
|
653 |
# via
|
654 |
# bunkai
|
|
|
24 |
# torchvision
|
25 |
# transformers
|
26 |
# vllm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
aiofiles==23.2.1
|
28 |
# via
|
29 |
# auralis
|
|
|
634 |
# via pytest
|
635 |
tomlkit==0.13.2
|
636 |
# via gradio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
tqdm==4.67.1
|
638 |
# via
|
639 |
# bunkai
|