Skip to content

Specify GPU device in image processing using command-line argument#13

Open
zhaiji0727 wants to merge 1 commit intoLavender105:mainfrom
zhaiji0727:haoquan
Open

Specify GPU device in image processing using command-line argument#13
zhaiji0727 wants to merge 1 commit intoLavender105:mainfrom
zhaiji0727:haoquan

Conversation

@zhaiji0727
Copy link
Copy Markdown

  • Update CUDA device assignment in both IC and VQA tasks to use args.gpu_id

This change allows explicit GPU selection through command-line arguments rather than hardcoding 'cuda', preventing runtime errors caused by model/data on different devices.

- Update CUDA device assignment in both IC and VQA tasks to use args.gpu_id

This change allows explicit GPU selection through command-line arguments rather than hardcoding 'cuda', preventing runtime errors caused by model/data on different devices.
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.

1 participant