diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Update FlaxLMSDiscreteScheduler

Open dzlab opened this issue 1 year ago • 1 comments

  • Add the missing scale_model_input method to FlaxLMSDiscreteScheduler
  • Use jnp.append for appending to state.derivatives
  • Use jnp.delete to pop from state.derivatives

dzlab avatar Nov 29 '22 17:11 dzlab

The documentation is not available anymore as the PR was closed or merged.

Hey @dzlab,

Could you run make fix-copies to fix the failing test? :-)

patrickvonplaten avatar Dec 01 '22 16:12 patrickvonplaten

@patrickvonplaten thanks for reviewing, I tried running make fix-copies but this does not seem to perform any changes that could be committed. This is what I tried:

$ cd diffusers
$ git checkout patch-1
Branch 'patch-1' set up to track remote branch 'patch-1' from 'origin'.
$ make fix-copies
python utils/check_copies.py --fix_and_overwrite
python utils/check_dummies.py --fix_and_overwrite
$ git status
On branch patch-1
Your branch is up to date with 'origin/patch-1'.

nothing to commit, working tree clean

dzlab avatar Dec 02 '22 13:12 dzlab

Fixed it on "main" - thanks for the PR!

patrickvonplaten avatar Dec 02 '22 17:12 patrickvonplaten