Skip to content

Conversation

@wasertech
Copy link
Collaborator

Merged #2211 and #2249 to get a more accurate cpu count stt-wide.

This was referenced Jul 5, 2022
Copy link
Collaborator Author

@wasertech wasertech left a comment

Choose a reason for hiding this comment

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

I like it very much!

>>> from coqui_stt_training.util import cpu
>>> cpu.available_count()
24

See my full logs

print("Caught KeyboardInterrupt, terminating workers")
executor.terminate()
executor.join()

Copy link
Collaborator Author

@wasertech wasertech Oct 27, 2022

Choose a reason for hiding this comment

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

catch interrupt and raise it so main() can exit with code 1

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.

3 participants