-
Notifications
You must be signed in to change notification settings - Fork 6.1k
The Modular Diffusers #9672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
The Modular Diffusers #9672
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Very cool! |
… completely yet (look into later)
hi this is very interesting! I'm making a Python pipeline flow visual scripting tool, that can auto-convert functions to visual nodes for fast and modular UI blocks demo. Itself is a pip package: https://pypi.org/project/nozyio/ I wanted to integrate diffusers with my flow nodes UI project but found its not very modular. But this PR may change that! Looking forward to see how this evolves. github: https://github.com/oozzy77/nozyio happy to connect! |
@oozzy77 thanks! |
Hi super willing to join slack channel with you! What’s the workspace
channel I should join?or you can invite me ***@***.***
…On Thu, Oct 31, 2024 at 4:59 AM YiYi Xu ***@***.***> wrote:
@oozzy77 <https://github.com/oozzy77> thanks!
do you want to join a slack channel with me? if you want to experiment
building something with this PR I'm eager to hear your feedback and iterate
base on that
—
Reply to this email directly, view it on GitHub
<#9672 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMBK3ZHNSKN56N262LBH3WLZ6FCBNAVCNFSM6AAAAABP5SYMXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBYGM3DQMBYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@oozzy77 I sent an invite! |
…into modular-diffusers
# 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. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DN6 @sayakpaul
I merged in this part of code without reviewing it (I need the save_pretrained()
code and it works fine)
can you let me know if you want to keep it in here when we merge this PR or remove &convert it into a new PR
from . import BaseDiffusersCLICommand | ||
|
||
|
||
EXPECTED_PARENT_CLASSES = ["PipelineBlock"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECTED_PARENT_CLASSES = ["PipelineBlock"] | |
EXPECTED_PARENT_CLASSES = ["ModularPipelineBlocks"] |
|
||
GuiderType = Union[ | ||
AdaptiveProjectedGuidance, | ||
AutoGuidance, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-r-r-o-w can we make sure PAG has its own class before we merge?
@@ -154,33 +159,87 @@ def check_imports(filename): | |||
return get_relative_imports(filename) | |||
|
|||
|
|||
def get_class_in_module(class_name, module_path, pretrained_model_name_or_path=None): | |||
def _raise_timeout_error(signum, frame): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DN6 is there a test we can run for remote code? want to make sure we don't break anything here
TO-DOs before merge
guider
on its ownPipelineBlock
; and how to assembleSequentialPipelineBlocks
andAutoPipelineBlocks
TO-DOs
ConfigMixin
ModularPipelineBlocks.from_pretrained
needs to work with official blocksModularLoader
intoModularPipeline
Documentations