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

[dup #608] GPU can't be total free, anyway to run trials use only one GPU #1092

Closed
YangZeyu95 opened this issue May 21, 2019 · 5 comments
Closed

Comments

@YangZeyu95
Copy link

Hello nni team!

When I set gpuNum: 1 in 'config.py' the trial is keeping waiting.
I know that was because of GPU is not totally free but I have only one GPU and can't terminate all process run on GPU. Is there any way to use GPU?

@YangZeyu95
Copy link
Author

Screenshot from 2019-05-21 13-08-36
Screenshot from 2019-05-21 13-09-26

@janehiii
Copy link

ref: nni/src/nni_manager/training_service/local/gpuScheduler.ts
line80
this.gpuSummary.gpuInfos.filter((info: GPUInfo) => info.activeProcessNum === 0)

@YangZeyu95
Copy link
Author

@janehiii I replaced line 80 with line 77 and run 'install.sh' but didn't work

@scarlett2018
Copy link
Member

@YangZeyu95 - we are working on sharing GPU feature in #608, the code is under review now, any suggestions or questions is appreciated.

@scarlett2018 scarlett2018 changed the title GPU can't be total free, anyway to run trials use only one GPU [dup #608] GPU can't be total free, anyway to run trials use only one GPU May 23, 2019
@SparkSnail
Copy link
Contributor

This feature is supported in #1109.

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

No branches or pull requests

4 participants