Coder Social home page Coder Social logo

Comments (6)

vitoplantamura avatar vitoplantamura commented on May 19, 2024 1

from onnxstream.

elliot-sawyer avatar elliot-sawyer commented on May 19, 2024

Can either of you provide an example on how to run the onnx2txt.ipynb script to convert a safetensors model to an onnx format suitable for a Pi4? I've been following along with the dreamshaper_8 model and while it does process to a dreamshaper_8.onnx file and a bunch of bias's and weights in a folder, it won't run on the pi because it's missing tokenizer/vocab.txt. onnx2txt seems to be the missing link there, but I'm not sure how to use the ipynb file to process it. Thanks!

from onnxstream.

noah003 avatar noah003 commented on May 19, 2024

@coldeny Hello, have you successfully converted the "sd model + lora" to onnxstream model?

from onnxstream.

noah003 avatar noah003 commented on May 19, 2024

@coldeny Hello, have you successfully converted the "sd model + lora" to onnxstream model?

@vitoplantamura will it support lora?

from onnxstream.

vitoplantamura avatar vitoplantamura commented on May 19, 2024

from onnxstream.

noah003 avatar noah003 commented on May 19, 2024

hi, following the guide in the main README, calling the "load_lora_weights" method on the "pipe" object before converting to Onnx, should allow you to produce an OnnxStream model with one or more LoRAs embedded. Vito

Thanks vito~

from onnxstream.

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.