LaurentMazare / diffusers-rs

An implementation of the diffusers api in Rust
Apache License 2.0
539 stars 55 forks source link

Simplify tensor operations and interpolation #44

Closed mspronesti closed 1 year ago

mspronesti commented 1 year ago

Hi, this PR aims at simplifying some of the operations done in the setup of some of the schedulers I implemented in the past weeks, relying more on the tch crate and reducing the number of casts to vectors.

Specifically:

LaurentMazare commented 1 year ago

Looks nicer indeed, thanks!