Skip to content

ValueError: could not convertstring to float: 'N/A' #1

@jmramosr

Description

@jmramosr

Hello and great work with the tool!
I'm really inspired how you made that TUI!

I have an issue installing the gpu-array.
Version of my OS: Ubuntu 20.04.6 LTS
CPU: Intel Core I9-11900KF
Nvidia-smi installed: NVIDIA-SMI 525.85.12 | Driver Version 525.85.12 | Cuda Version: 12.0

Steps I've made:

  • Use a virtual environment with virtualenv
  • Go to the virtual environment
  • Install urwid with pip
  • Go to the folder
  • pip install .
  • execute gpu-array

And the message is:

Traceback (most recent call last):
  File "/home/xxx/venv/bin/gpu-array", line 8, in <module>
    sys.exit(main())
  File "/home/xxx/venv/lib/python3.8/site-packages/gpu_array/scripts/__main__.py", line 21, in main
    tracker = Tracker(query)
  File "/home/xxx/venv/lib/python3.8/site-packages/gpu_array/query.py", line 147, in __init__
    self.poll()
  File "/home/xxx/venv/lib/python3.8/site-packages/gpu_array/query.py", line 167, in poll
    all_gpu_props = {i: GPUQuery.parse_gpu_props(gpu) for i, gpu in enumerate(gpus)}
  File "/home/xxx/venv/lib/python3.8/site-packages/gpu_array/query.py", line 167, in <dictcomp>
    all_gpu_props = {i: GPUQuery.parse_gpu_props(gpu) for i, gpu in enumerate(gpus)}
  File "/home/xxx/venv/lib/python3.8/site-packages/gpu_array/query.py", line 70, in parse_gpu_props
    gpu_props["max_temp"] = float(
ValueError: could not convert string to float: 'N/A'

It seems Nvidia-smi has changed the outputted xml format. Can you check it?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions