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

Add conditional CUDA support with env variable #189

Merged
merged 6 commits into from
Nov 17, 2023
Merged

Conversation

richard-rogers
Copy link
Contributor

Pass device argument to enable GPU

@richard-rogers
Copy link
Contributor Author

I will add a WHYLABS_DISABLE_GPU env variable, and see if I can enable GPU for sentiment.

langkit/toxicity.py Outdated Show resolved Hide resolved
langkit/toxicity.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@jamie256 jamie256 left a comment

Choose a reason for hiding this comment

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

LGTM!

@jamie256 jamie256 changed the title initial GPU support Add conditional CUDA support with env variable Nov 17, 2023
@jamie256 jamie256 merged commit 95b1fb3 into main Nov 17, 2023
12 checks passed
@jamie256 jamie256 deleted the dev/richard/gpu1 branch November 17, 2023 02:39
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.

2 participants