Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

WARNING: GPU found but will not be used. Please set experiment.config.trial_gpu_number to the number of GPUs you want to use for each trial. #5783

Open
xutongpure opened this issue May 16, 2024 · 1 comment

Comments

@xutongpure
Copy link

xutongpure commented May 16, 2024

Hello, NAS! was found the problem:WARNING: GPU found but will not be used. Please set experiment.config.trial_gpu_number to the number of GPUs you want to use for each trial.

Tasks

No tasks being tracked yet.
@liljiang999
Copy link

it's because you have active gpu and you does not use it .

set experiment.config.trial_gpu_number = 1 and set experiment.config.training_service.use_active_gpu = True
so you can use gpu to run you code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants