Giter VIP home page Giter VIP logo

Comments (5)

robballantyne avatar robballantyne commented on June 15, 2024

Can you try adding echo "$PIP_INSTALL" in the script just to check the correct variable is being used.

I imagine it should be, but it's worth testing.

If it's not I'll check why but you can also manually override at the top of the file

from comfyui.

SoaringTiger avatar SoaringTiger commented on June 15, 2024

Can you try adding echo "$PIP_INSTALL" in the script just to check the correct variable is being used.

I imagine it should be, but it's worth testing.

If it's not I'll check why but you can also manually override at the top of the file

yes, echo "$PIP_INSTALL" will print :

pip install --no-cache-dir -i https://mirror-site/pypi/simple

from comfyui.

robballantyne avatar robballantyne commented on June 15, 2024

I can't think of anything I could do to address this, unfortunately.

You may prefer to build the image with the nodes pre-installed to avoid having to download at runtime

from comfyui.

SoaringTiger avatar SoaringTiger commented on June 15, 2024

I can't think of anything I could do to address this, unfortunately.

You may prefer to build the image with the nodes pre-installed to avoid having to download at runtime

Actually, in comfyui:pytorch-2.1.1-py3.10-cuda-12.1.0-base-22.04 ,
I set mirror index by

pip config set global.index-url https://mirror.baidu.com/pypi/simple

It's working fine, Downloads are done through mirror sites and speed is very fast.

supervisor-1  |   Downloading https://mirror.baidu.com/pypi/packages/cb/c3/98faa3e92cf866b9446c4842f1fe847e672b2f54e000cb984157b8095797/pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)
supervisor-1  |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 10.5 MB/s eta 0:00:00

However, in comfyui:pytorch-2.2.0-py3.10-cuda-12.1.0-runtime-22.04, this does not work
I don't know why 🤷‍♂️

from comfyui.

robballantyne avatar robballantyne commented on June 15, 2024

Where are you setting this config?

There were quite a lot of changes made to the base before the last update, with one of the fundamental changes being that the provisioning script and most apps run in the context of 'user' rather than root.

Could it be that the config is being activated for root so not available to the user?

What you can also try is running source /opt/ai-dock/etc/environment.sh at the top.

from comfyui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.