Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Convert async _close_models in LlamaCppInferenceEngine #158

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

lukehinds
Copy link

Fixes RuntimeWarning about unawaited coroutine by converting the async cleanup method to synchronous since it's called from del. Also fixes dictionary iteration and adjusts method name to follow Python protected method conventions.

Resolves: #109

Fixes RuntimeWarning about unawaited coroutine by converting
the async cleanup method to synchronous since it's called from
del. Also fixes dictionary iteration and adjusts method
name to follow Python protected method conventions.

Resolves: #109
@lukehinds lukehinds merged commit 12dd7c4 into main Dec 3, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants