Skip to content

add model(sam&dino) global cache to optimize performance#58

Open
JeryZeng wants to merge 2 commits intostoryicon:mainfrom
JeryZeng:main
Open

add model(sam&dino) global cache to optimize performance#58
JeryZeng wants to merge 2 commits intostoryicon:mainfrom
JeryZeng:main

Conversation

@JeryZeng
Copy link
Copy Markdown

sometimes we use sam in multiple workflow,to save model load time between multi workflow,I add the model global cache logic ,user can turn off global cache in "Loaders" UI(cache behavior is default on)

Comment thread node.py
parsed_url = urlparse(url)
local_file_name = os.path.basename(parsed_url.path)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

wanna remove this?

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