-
Notifications
You must be signed in to change notification settings - Fork 120
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
Gpu selection #145
base: master
Are you sure you want to change the base?
Gpu selection #145
Conversation
@Tilps how can I push from gpu-selection branch on the fork to here now? I made the changes |
nothing to do. |
Needs a test and formatting fix and then probably fine to go. |
This enhancement will be very useful. However it seems to break backwards compatibility, for example a value of 0 now throws |
yea yea its known. just I didnt know if this is even something to work on. if you are interested sure ill fix it happily! |
well now its saying some git shit, but this should work now. can you check @dje-dev? not home... |
It turns out MirroredStrategy wants a set of string such as ["GPU:0", "GPU:1"]. So I was able to get code as shown below to work. Note that set_memory_growth is called here, I'm not sure if that is required/desirable.
|
Kk |
can select gpus for training. syntax is
and