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

How to unload/destroy a pipeline? #715

Open
flatsiedatsie opened this issue Apr 16, 2024 · 1 comment
Open

How to unload/destroy a pipeline? #715

flatsiedatsie opened this issue Apr 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@flatsiedatsie
Copy link

Question

I tried to find how to unload a pipeline to free up memory in the documentation, but couldn't find a mention of how to do that properly.

If there a proper way to "unload" a pipeline?

I'd be happy to add the answer to the documentation.

@flatsiedatsie flatsiedatsie added the question Further information is requested label Apr 16, 2024
@xenova
Copy link
Owner

xenova commented Apr 16, 2024

Hi there 👋 You can use pipeline.dispose(), which returns a promise that resolves when the pipeline has been disposed (see here). However, I definitely agree this should be documented and handled better... Let me know if you have any ideas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants