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

fill_template.py and gpu_device_ids #616

Open
2 of 4 tasks
Alireza3242 opened this issue Oct 12, 2024 · 0 comments
Open
2 of 4 tasks

fill_template.py and gpu_device_ids #616

Alireza3242 opened this issue Oct 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Alireza3242
Copy link

System Info

3090

Who can help?

@juney-nvidia
@byshiue @schetlur-nv

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

I want to use both gpu_device_ids 0 and 1:

python3 fill_template.py --in_place config.pbtxt gpu_device_ids:0,1

Expected behavior

work

actual behavior

Traceback (most recent call last):
  File "/app/src/config_modifier/../tools/fill_template.py", line 38, in <module>
    main(**vars(args))
  File "/app/src/config_modifier/../tools/fill_template.py", line 12, in main
    key, value = sub.split(":")
ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/app/src/config_modifier/../tools/fill_template.py", line 38, in <module>
    main(**vars(args))
  File "/app/src/config_modifier/../tools/fill_template.py", line 12, in main
    key, value = sub.split(":")
ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/app/src/config_modifier/../tools/fill_template.py", line 38, in <module>
    main(**vars(args))
  File "/app/src/config_modifier/../tools/fill_template.py", line 12, in main
    key, value = sub.split(":")
ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/app/src/config_modifier/../tools/fill_template.py", line 38, in <module>
    main(**vars(args))
  File "/app/src/config_modifier/../tools/fill_template.py", line 12, in main
    key, value = sub.split(":")
ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
  File "/app/src/config_modifier/../tools/fill_template.py", line 38, in <module>
    main(**vars(args))
  File "/app/src/config_modifier/../tools/fill_template.py", line 12, in main
    key, value = sub.split(":")
ValueError: not enough values to unpack (expected 2, got 1)

additional notes

the problem is "," in "0,1"

@Alireza3242 Alireza3242 added the bug Something isn't working label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant