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

Please add a “Unload after Run” feature to the ☁️API LLM general link node #149

Closed
Djanghost opened this issue Feb 2, 2025 · 2 comments

Comments

@Djanghost
Copy link

Is your feature request related to a problem? Please describe.
When using Ollama, the model remains loaded and takes up a lot of memory.

Describe the solution you'd like
Add an “Unload after Run” feature to the ☁️API LLM general link node, like other similar LLM nodes.

Describe alternatives you've considered
The only solution for unloading the model and emptying memory for the moment is to close ollama just after the node has given the result.

Additional context

For example:

Image

@heshengtao
Copy link
Owner

There is a node called "clear model". Turn on the "is ollama" option on this node, and insert this node at any point in the workflow where you want to unload the model. When the workflow reaches this node, it will exit the ollama model.

@Djanghost
Copy link
Author

Thanks for your answer, will try this for sure.

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

No branches or pull requests

2 participants