Git Product home page Git Product logo

cog-blip-2's People

Contributors

alaradirik avatar daanelson avatar jd7h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cog-blip-2's Issues

Question about model charge

Hi! Thanks for your amazing work! Wonder if you will consider charge your model on Replicate or somewhere else?

Error during cog build/setup

Hi - I am running cog build on an AWS g5.xlarge gpu machine, and getting this error:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/cog/command/openapi_schema.py", line 18, in <module>
    app = create_app(config, shutdown_event=None)
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/cog/server/http.py", line 72, in create_app
    predictor = load_predictor_from_ref(predictor_ref)
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/site-packages/cog/predictor.py", line 172, in load_predictor_from_ref
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "predict.py", line 13, in <module>
    download_weights(url=WEIGHTS_URL,dest=WEIGHTS_CACHE_DIR)
  File "/src/download_utils.py", line 16, in download_weights
    raise e
  File "/src/download_utils.py", line 11, in download_weights
    output = subprocess.check_output(["pget", url, "/src/tmp.tar"])
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/root/.pyenv/versions/3.8.18/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pget', 'https://weights.replicate.delivery/default/blip-2/weights.tar', '/src/tmp.tar']' died with <Signals.SIGKILL: 9>.

ⅹ Failed to get type signature: exit status 1

Trying again I get this:

Starting Docker image cog-blip-2-base and running setup()...
Downloading weights...
b''
ⅹ Timed out

Any idea what is going on? Seems like there is an issue with the weights file. Thank you for your help.

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.