gary-boon Claude Opus 4.5 commited on
Commit
d129e37
·
1 Parent(s): 772fc80

Skip zarr/numcodecs in Spark build (ARM64 incompatible)

Browse files

These 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>

Files changed (1) hide show
  1. 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 torch since we installed it above)
23
  COPY requirements.txt .
24
- RUN grep -v "^torch==" requirements.txt > requirements-spark.txt && \
25
- sed -i 's/numcodecs==0.11.0/numcodecs>=0.13.0/' requirements-spark.txt && \
 
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