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

Acknowledge CUDA_DEVICE_QUERY during GPU selection #216

Merged
merged 4 commits into from
Jul 14, 2021

Commits on Jul 14, 2021

  1. Acknowledge CUDA_DEVICE_QUERY during GPU selection

    We use `nvidia-smi -L` to detect all available GPUs. `nvidia-smi`
    displays all GPUs independent of `CUDA_DEVICE_QUERY`, hence setting it
    had not effect. Now, `CUDA_DEVICE_QUERY=1` will detect GPU 1 as GPU 0.
    denisalevi committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    c86b2a6 View commit details
    Browse the repository at this point in the history
  2. Remove whitespace

    denisalevi committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    8ee222e View commit details
    Browse the repository at this point in the history
  3. Update gpu_id prefs documentation

    This is not implemented yet, but shows how it should work.
    denisalevi committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    888bd1a View commit details
    Browse the repository at this point in the history
  4. Fix CUDA_VISIBLE_DEVICES behavior

    CUDA_VISIBLE_DEVICES will now precede any other options. That means if
    `gpu_id` is set as `prefs`, it will choose from the visible devices.
    denisalevi committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    b8f6de7 View commit details
    Browse the repository at this point in the history