Skip to content

[BUG] code bug #410

Closed
Closed

Description

@BaiStone2017

In benchmarks/python/mem_monitor.py

def get_memory_info(handle):
    mem_info = pynvml.nvmlDeviceGetMemoryInfo(handle)
    total = round(mem_info.total / 1024 / 1024 / 1024, 2)
    used = round(mem_info.used / 1024 / 1024 / 1024, 2)
    free = round(mem_info.used / 1024 / 1024 / 1024, 2)
    return total, used, free

For 'free' in line 5, should be 'mem_info.free'

Activity

  1. byshiue commented on Nov 16, 2023

    @byshiue
    Collaborator

    Thank you for report. We will fix it ASAP.

  2. self-assigned this
    on Nov 16, 2023
  3. added
    bug
    triaged
    on Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugtriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions