Code Monkey home page Code Monkey logo

Comments (4)

chengzeyi avatar chengzeyi commented on May 22, 2024

If env e.g. docker has no installation of torch yet, this setup will fail.

Rather, torch should be imported lazily and the asserts performed only if torch is available

That cannot be achieved. Since stable-fast in fact is a CUDAExtension of torch, it must require torch to build. So torch must be installed at first, then stable-fast๐Ÿ˜Š.

Its build system is on top of torch.

from stable-fast.

jon-chuang avatar jon-chuang commented on May 22, 2024

Yes. Indeed. Actually, the issue is that I can't seem to download the right whl, as I'm using torch nightly, whereas stable-fast wants torch.2.1, so it downloads the source code, thus running into this issue.

Is there any way I can force to use the whl?

from stable-fast.

jon-chuang avatar jon-chuang commented on May 22, 2024

Ok, I can just pip install https://github.com/chengzeyi/stable-fast/releases/download/v0.0.13.post3/stable_fast-0.0.13.post3+torch210cu121-cp310-cp310-manylinux2014_x86_64.whl

from stable-fast.

chengzeyi avatar chengzeyi commented on May 22, 2024

@jon-chuang You can always find a working demo on Colab now: https://colab.research.google.com/github/chengzeyi/stable-fast-colab/blob/main/stable_fast_colab.ipynb

from stable-fast.

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.