Skip to content
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

dc-ae and text-encoder load #67

Closed
wanglaofei opened this issue Dec 4, 2024 · 2 comments
Closed

dc-ae and text-encoder load #67

wanglaofei opened this issue Dec 4, 2024 · 2 comments
Labels
Answered Answered the question

Comments

@wanglaofei
Copy link

How to config the local DC-AE and Text-Encoder path? I have downloaded the related models in my local computer, but I don't know how to load the local DC-AE and Text-Encoder. Thanks for any help!

@moeinheidari7829
Copy link

How to config the local DC-AE and Text-Encoder path? I have downloaded the related models in my local computer, but I don't know how to load the local DC-AE and Text-Encoder. Thanks for any help!

Hi. I hope you are doing well. Can you please tell me how you manually downloaded the checkpoints to your local?

@lawrence-cj
Copy link
Collaborator

For vae and text encoder loading:

def get_vae(name, model_path, device="cuda"):

def get_tokenizer_and_text_encoder(name="T5", device="cuda"):

@lawrence-cj lawrence-cj added the Answered Answered the question label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Answered Answered the question
Projects
None yet
Development

No branches or pull requests

3 participants