Giter VIP home page Giter VIP logo

tcd's Issues

Any plans for SD 1.5 LoRA?

Thank you for publishing this. This result is quite awesome and it's great to see how the details can get such X10 improvements!

TCD LoRA is higher rank than It needs to be

Thanks for this amazing sampler, it's way better than LCM in my estimation.

The file size of the LoRA could be much smaller with no ill effect however.

Full rank file size: 375.6mb
Resizing to rank 4: File size 23.8mb
Average Frobenius norm retention: 91.92% | std: 0.101

Resizing to rank 2: File size 12.1mb
Average Frobenius norm retention: 88.57% | std: 0.140

image

About Training Schedule

Hi,

Thanks for your work. I wonder in the training phase, which interval is used to sample 'n' in algorithm 1. 1 or 20 ? In other words, can 'n' be 0,1,2,...,978,979 as in CM or just 0,19,39...,959,979 as in LCM?

Number of ODE Solver Steps in TCD training

Hi, awesome work! I had a question with regards to the distillation algorithm for TCD (Algorithm 1/2 in the paper, particularly w.r.t. Eq. 21). In the original LCM paper (to my understanding), the skipping step $k$ denotes the size of the single-step ODE solve used by the teacher model to solve from $t_{n+k}$ to $t_n$ (e.g. solving from 950 to 930 using a single step that is sized $k=20$). However, in the paragraph before equation 21 it is noted that $\Phi^{k}$ denotes $k$ "discretization steps" of a one-step ODE solver. Thus, my question is: do you use multiple calls of the ODE solver (with the teacher model) to solve to some timestep between $t_{n+k}$ and $t_m$ (e.g. solving the integral with 2 single-step ODE solves thus two calls to the teacher model), or are you still only using a single ODE solver call across that interval (similar to LCM)? If so, how many? Thank you!

A typo error

Hi, I find "eta=0" means determined sampling? Maybe it should swap?

Inpainting results are blurry

Hi,
The text-to-image results looks great, but inpainting results are extremely blurry (using the default parameters)

I have faced the same effect when tried to train LCM for the task of inpainting

Do you have any intuition on why this happens? Or any suggestion to mitigate it?

Uploading a_fox.png…

implementation in ComfyUI framework

Thank for your excellent contribution!

I am attempting to implement this for the ComfyUI community, however there are some differences in structure between Diffusers (more explicit time scheduling) and ComfyUI (array of sigmas, and abstracted scheduling).

The tricky part is how to do the adjusted timestep calculation using eta/gamma.
Something is incorrect so the image just goes black after the first step, when eta is > 0.

I wonder someone on your team would be able to look at my code please? (or anyone else here on GitHub who is good with diffusers and comfyui)
https://github.com/dfl/comfyui-tcd-scheduler

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.