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

Update transform.py #1056

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Update transform.py #1056

wants to merge 1 commit into from

Conversation

ian-cho
Copy link
Collaborator

@ian-cho ian-cho commented Feb 18, 2025

added safely .to(device) to model since the script already defines the device on line 24 (rather than using .to('cuda')) @shahrokhDaijavad (@touma-I )

Why are these changes needed?

to fix gpu usage error in the model in response to the request here

#1047

added .to(device) to model since the script already defines the device on line 24 (rather than using .to('cuda'))
Copy link
Member

@shahrokhDaijavad shahrokhDaijavad left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks, @ian-cho

@shahrokhDaijavad
Copy link
Member

@shivdeep-singh-ibm @touma-I This can be merged safely after the discussions in #1047.

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