You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cog build -t user-to-buzz:$(git rev-parse HEAD)
⚠ Cog doesn't know if CUDA 12.3 is compatible with Tensorflow 2.16.2. This might cause CUDA problems.Building Docker image from environment in cog.yaml as user-to-buzz:30af21cb81876f3681c190ecbc844d5c8e7c2750...[+] Building 1.0s (6/6) FINISHED docker:desktop-linux => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 442B 0.0s => resolve image config for docker-image://docker.io/docker/dockerfile:1.4 0.3s => [auth] docker/dockerfile:pull token for registry-1.docker.io 0.0s => CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 58B 0.0s => ERROR [internal] load metadata for r8.im/cog-base:cuda12.3-python3.11 0.5s------ > [internal] load metadata for r8.im/cog-base:cuda12.3-python3.11:------Dockerfile:2-------------------- 1 | #syntax=docker/dockerfile:1.4 2 | >>> FROM r8.im/cog-base:cuda12.3-python3.11 3 | COPY .cog/tmp/build20240920112133.9388834066866224/requirements.txt /tmp/requirements.txt 4 | ENV CFLAGS="-O3 -funroll-loops -fno-strict-aliasing -flto -S"--------------------ERROR: failed to solve: failed to resolve source metadata for r8.im/cog-base:cuda12.3-python3.11: r8.im/cog-base:cuda12.3-python3.11: not foundⅹ Failed to build Docker image: exit status 1
Setting --use-cog-base-image=false results in an error with how the wheel file is named
[deps 3/5] RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -t /dep /tmp/cog.whl:
9.250 ERROR: cog.whl is not a valid wheel filename.
10.33
10.33 [notice] A new release of pip is available: 24.0 -> 24.2
10.33 [notice] To update, run: pip install --upgrade pip
I suspect this could be fixed by updating pip to 24.2 – which I'm already doing via python_packages – but I don't think weeven get that far due to the wheel filename issue :-/
Looks like
cog build --use-cog-base-image=false
fails with this particular combination of CUDA 12.3 and Python 3.11 due to:nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04
base image being picky about wheel filenamesI suspect the generated wheel needs a filename that will pass this regex
My machine
Use Rosetta for x86_64/amd64 emulation on Apple Silicon
is disableddetails
There doesn't seem to be a CUDA 12.3 + Python 3.11 base image available
Logs
Setting
--use-cog-base-image=false
results in an error with how the wheel file is namedI suspect this could be fixed by updating pip to
24.2
– which I'm already doing viapython_packages
– but I don't think weeven get that far due to the wheel filename issue :-/Logs
The text was updated successfully, but these errors were encountered: