Skip to content

Conversation

@sam-cal
Copy link

@sam-cal sam-cal commented Jun 1, 2024

args.gpus="0" was considered as a string and not as an integer, resulting to the use of GPU

@hqucms
Copy link
Owner

hqucms commented Jun 1, 2024

Hi @sam-cal -- the convention here is --gpus [GPU IDs], so 0 means to use the GPU device 0. To use CPUs, just set an empty string, i.e., --gpus ''.

@hqucms hqucms closed this Jun 1, 2024
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