Skip to content

Add the unipc multistep scheduler.#174

Merged
entrpn merged 4 commits intoAI-Hypercomputer:mainfrom
qinyiyan:main
May 20, 2025
Merged

Add the unipc multistep scheduler.#174
entrpn merged 4 commits intoAI-Hypercomputer:mainfrom
qinyiyan:main

Conversation

@qinyiyan
Copy link
Copy Markdown
Contributor

Reference pytorch implementation: https://github.com/huggingface/diffusers/blob/main/src/diffusers/schedulers/scheduling_unipc_multistep.py

Tested with running the denoising loop with both the jax and pytorch implementation and compared outputs. Tests files: qinyiyan@f4bb315

Comment thread tests/schedulers/test_scheduler_unipc.py
Copy link
Copy Markdown
Collaborator

@entrpn entrpn May 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a license to this file:

"""
Copyright 2025 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@entrpn entrpn merged commit 013c2f8 into AI-Hypercomputer:main May 20, 2025
2 checks passed
hx89 pushed a commit to hx89/maxdiffusion that referenced this pull request May 28, 2025
* Add the unipc multistep scheduler.

* Add unit tests to the unipc multistep scheduler.

* Add an __init__.py to the test directory

* Add license to init file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants