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

semaphore leak #292

Open
CodeAKrome opened this issue Aug 6, 2024 · 0 comments
Open

semaphore leak #292

CodeAKrome opened this issue Aug 6, 2024 · 0 comments

Comments

@CodeAKrome
Copy link

Running current 01:

/Users/kyle/anaconda3/lib/python3.11/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 32 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Sometimes occurs while in idle event loop or using Ctrl-c to terminate.

Steps to reproduce the behavior:
local profile modified to use: deepseek-coder-v2

poetry run 01 --profile local
Ctrl-c

Expected behavior
program exit, no output.

  • OS: mac m3 max
  • The currently activated Python version 3.12.4 is not supported by the project (>=3.9,<3.12).
    Trying to find and use a compatible version.
    Using python3.11 (3.11.7)

Additional context
On server start:
[2024-08-06 14:41:31.349] [ctranslate2] [thread 4558739] [warning] The compute type inferred from the saved model is float16, but the target device or backend do not support efficient float16 computation. The model weights have been automatically converted to use the float32 compute type instead.

I have also seen this pop up while idle in the event loop.

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

1 participant