-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May I ask if someone has successfully deployed it locally? #56
Comments
Building Docker image from environment in cog.yaml... #1 [internal] load build definition from Dockerfile #2 resolve image config for docker-image://docker.io/docker/dockerfile:1.4 #3 docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc #4 [internal] load .dockerignore #5 [internal] load metadata for r8.im/cog-base:cuda11.8-python3.10-torch2.0.1 #6 [stage-0 1/15] FROM r8.im/cog-base:cuda11.8-python3.10-torch2.0.1@sha256:9d031c3d28013b7de4c6bba259d22144a4e3426f1e535906632edf93d87f39f8 #7 [internal] load build context #8 [stage-0 4/15] RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir /tmp/cog-0.11.5-py3-none-any.whl 'pydantic<2' #9 [stage-0 5/15] COPY .cog/tmp/build20241027113213.5034881362711260/requirements.txt /tmp/requirements.txt #10 [stage-0 2/15] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked apt-get update -qq && apt-get install -qqy && rm -rf /var/lib/apt/lists/* #11 [stage-0 3/15] COPY .cog/tmp/build20241027113213.5034881362711260/cog-0.11.5-py3-none-any.whl /tmp/cog-0.11.5-py3-none-any.whl #12 [stage-0 6/15] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt #13 [stage-0 7/15] RUN curl -o /usr/local/bin/pget -L "https://github.com/replicate/pget/releases/latest/download/pget_$(uname -s)_$(uname -m)" #14 [stage-0 8/15] RUN chmod +x /usr/local/bin/pget #15 [stage-0 9/15] RUN git config --global --add safe.directory /src #16 [stage-0 10/15] RUN git config --global --add safe.directory /src/extensions/sd-webui-controlnet #17 [stage-0 11/15] RUN git config --global --add safe.directory /src/extensions/multidiffusion-upscaler-for-automatic1111 #18 [stage-0 12/15] RUN git clone https://github.com/philz1337x/stable-diffusion-webui-cog-init /stable-diffusion-webui #19 [stage-0 13/15] RUN python /stable-diffusion-webui/init_env.py --skip-torch-cuda-test #20 [stage-0 14/15] RUN sed -i 's/from pkg_resources import packaging/import packaging/g' /root/.pyenv/versions/3.10.4/lib/python3.10/site-packages/clip/clip.py
|
The above is my error log. I don't know how to solve it. I hope someone can help me. Thank you very much |
Can you describe your setup and the commands you are using while you try to run it? |
These are the steps I take to run it on a GPU:
|
Thank you for following my question. I have reached the final step, executing the command 'cog predict -i image="test.jpg"',
but another error occurred: Starting Docker image cog-clarity-upscaler-base and running setup()... |
could you describe the steps you took |
I have successfully executed "python download_weights.py" and install cog: and then execute: That's all |
Never had this bug, but I would try to fix this:
|
Have the exact same problem issue haha, but I'm using WSL on Windows 11, so I'm thinking that could be the issue (cog is supposed to be for mac/linux?) |
Okay, fixed that issue by changing pyenv version in
But now I'm getting an entirely different issue:
@philz1337x you got any idea how to fix this? |
Fixed the issue! Just had to update docker, and now everything runs locally. |
I have been working on it for about 3 days, constantly downloading repositories or models, or installing Python packages. But so far, it hasn't started running. I want to know if anyone has successfully deployed it, and the effect is related to the website( https://clarityai.co/dashboard )Are their functions similar?
The text was updated successfully, but these errors were encountered: