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

Fix possible mistake when loading model to device #57

Merged
merged 1 commit into from
Sep 23, 2022
Merged

Fix possible mistake when loading model to device #57

merged 1 commit into from
Sep 23, 2022

Conversation

abumj
Copy link
Contributor

@abumj abumj commented Sep 23, 2022

Before this little change, the model is loaded into GPU regardless of the value of "device" argument in CLI.

(e.g. whisper "test.wav" --device CPU loads into GPU anyway)

Before this change, the model is loaded into GPU regardless of the value of "device" argument in CLI.

(e.g. whisper "test.wav" --device cpu loads into GPU anyway)
@jongwook jongwook merged commit 6198952 into openai:main Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants