Skip to content

Download models on first tokenizer call instead of module import#180

Open
carlthome wants to merge 1 commit intoLAION-AI:mainfrom
carlthome:patch-1
Open

Download models on first tokenizer call instead of module import#180
carlthome wants to merge 1 commit intoLAION-AI:mainfrom
carlthome:patch-1

Conversation

@carlthome
Copy link
Contributor

Noticed that a lot of models are downloaded on import laion_clap which surprised me and crashed in my build environment. It seems more reasonable to only start the model downloading upon first use of the relevant function.

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.

1 participant