Code Monkey home page Code Monkey logo

Comments (4)

jparmstr avatar jparmstr commented on May 28, 2024 2

I figured out that it expects a folder with the entire contents of their HuggingFace project to be passed as the --checkpoint argument, otherwise it fills up the RAM like you said and crashes. You can clone everything into a folder like:

git clone https://huggingface.co/riffusion/riffusion-model-v1

I had to manually replace the riffusion-model-v1.ckpt file which failed to download properly. After doing that the server actually starts, but now I'm facing another error: "Not Found. The requested URL was not found on the server." and the command prompt is showing 404 errors.

from riffusion.

jparmstr avatar jparmstr commented on May 28, 2024

Update: I made further progress and actually got it working.

You also need to install the project from https://github.com/hmartiro/riffusion-app and run it simultaneously with this one. Create an .env.local file as described in the riffusion-app's readme. With both riffusion-inference and riffusion-app running and talking to each other you'll get a locally running interface like their website, accessible at http://127.0.0.1:3000

from riffusion.

Meatfucker avatar Meatfucker commented on May 28, 2024

I also got it working though I would add that make sure you are explicit in your .env.local file. I used localhost and it attempted to use ::1 (an ipv6 localhost address) and it failed. Worked fine when I was explicit with 127.0.0.1

from riffusion.

Trev57 avatar Trev57 commented on May 28, 2024

I had the same issue with cloning the huggingface repo, it actually bluescreened my computer. if you use GIT_LFS_SKIP_SMUDGE=1, it clones without downloading the checkpoint, if you run the server, it tells you "OSError: You seem to have cloned a repository without having git-lfs installed. Please install git-lfs and run git lfs install followed by git lfs pull in the folder you cloned" currently its downloading so hopefully it doesnt crash.

from riffusion.

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.