Skip to content
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

Error when using multi-gpu #1292

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sanchezismael
Copy link

If argument expected for --gpu is type int, it is not posible to train with more than two gpus

If argument expected for --gpu is type int, it is not posible to train with more than two gpus
@codecov-io
Copy link

Codecov Report

Merging #1292 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           master   #1292   +/-   ##
======================================
  Coverage      23%     23%           
======================================
  Files          43      43           
  Lines        2535    2535           
======================================
  Hits          576     576           
  Misses       1959    1959

@hgaiser
Copy link
Contributor

hgaiser commented Feb 27, 2020

Fair point :)

I think this argument is used in more scripts, could you check them?

@wheemyungshin
Copy link

It still is causing probelm:
tf.config.experimental.set_visible_devices(gpus[int(gpu_id)], 'GPU')
as it cannot convert from '0,1,2,3' to int.

Also even if I specify some numbers like,
tf.config.experimental.set_visible_devices(gpus[0:2], 'GPU')
It outputs another error which is related to this page: keras-team/keras#13684

@hsahin hsahin changed the base branch from master to main June 17, 2021 13:43
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.

None yet

4 participants