Skip to content

Conversation

@yiyixuxu
Copy link
Collaborator

@yiyixuxu yiyixuxu commented Nov 2, 2025

download the config file to local_dir too, so that this works

from diffusers import ModularPipelineBlocks

repo_id = "diffusers-internal-dev/krt"
local_dir = "krea-realtime-video"
blocks_1 = ModularPipelineBlocks.from_pretrained(repo_id, local_dir="krea-realtime-video", trust_remote_code=True)
blocks_2 = ModularPipelineBlocks.from_pretrained(local_dir, trust_remote_code=True)
print(f"blocks_1: {blocks_1}")
print(f"blocks_2: {blocks_2}")

@HuggingFaceDocBuilderDev

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.

@yiyixuxu yiyixuxu requested a review from DN6 November 2, 2025 16:18
@yiyixuxu yiyixuxu merged commit de6173c into main Nov 3, 2025
14 of 18 checks passed
@yiyixuxu yiyixuxu deleted the modular-local-dir branch November 3, 2025 19:44
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.

4 participants