Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
gary-boon
Claude Opus 4.5
commited on
Commit
·
d129e37
1
Parent(s):
772fc80
Skip zarr/numcodecs in Spark build (ARM64 incompatible)
Browse filesThese are for tensor caching, not core inference.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- docker/Dockerfile.spark +4 -3
docker/Dockerfile.spark
CHANGED
|
@@ -19,10 +19,11 @@ RUN pip3 install --no-cache-dir \
|
|
| 19 |
torch \
|
| 20 |
--index-url https://download.pytorch.org/whl/cu124
|
| 21 |
|
| 22 |
-
# Copy requirements and install (excluding
|
| 23 |
COPY requirements.txt .
|
| 24 |
-
RUN grep -v "^torch==" requirements.txt
|
| 25 |
-
|
|
|
|
| 26 |
pip3 install --no-cache-dir -r requirements-spark.txt
|
| 27 |
|
| 28 |
# Copy backend code
|
|
|
|
| 19 |
torch \
|
| 20 |
--index-url https://download.pytorch.org/whl/cu124
|
| 21 |
|
| 22 |
+
# Copy requirements and install (excluding packages with ARM64 issues)
|
| 23 |
COPY requirements.txt .
|
| 24 |
+
RUN grep -v "^torch==" requirements.txt | \
|
| 25 |
+
grep -v "^zarr==" | \
|
| 26 |
+
grep -v "^numcodecs==" > requirements-spark.txt && \
|
| 27 |
pip3 install --no-cache-dir -r requirements-spark.txt
|
| 28 |
|
| 29 |
# Copy backend code
|