build error
Job failed with exit code: 1. Reason: cache miss: [5/8] RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir torch==2.3.1 torchvision==0.18.1 --index-url https://download.pytorch.org/whl/cpu && pip install --no-cache-dir fastapi==0.115.0 uvicorn==0.30.6 python-multipart==0.0.9 "Pillow==10.4.0" "numpy==1.26.4" opencv-python-headless==4.10.0.84 scikit-image==0.24.0 cache miss: [3/8] WORKDIR /app cache miss: [6/8] COPY . . cache miss: [4/8] COPY requirements.txt . cache miss: [2/8] RUN apt-get update && apt-get install -y --no-install-recommends libglib2.0-0 libgl1 libgomp1 curl git && rm -rf /var/lib/apt/lists/* cache miss: [8/8] RUN useradd -m -u 1000 hfuser && mkdir -p /tmp/torch_hub && cp -r /torch_hub_baked/. /tmp/torch_hub/ && chown -R hfuser:hfuser /app /tmp/torch_hub cache miss: [7/8] RUN echo "import torch, os; os.makedirs('/tmp/torch_hub', exist_ok=True); torch.hub.set_dir('/tmp/torch_hub'); torch.hub.load('richzhang/colorization', 'eccv16', pretrained=True, trust_repo=True); print('Model OK')" > /tmp/preload.py && python /tmp/preload.py && cp -r /tmp/torch_hub /torch_hub_baked {"total":13,"completed":12,"user_total":8,"user_cached":0,"user_completed":7,"user_cacheable":7,"from":1,"miss":7,"client_duration_ms":43317}
Build logs:
Fetching error logs...