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

[BUG] code bug #410

Closed
BaiStone2017 opened this issue Nov 16, 2023 · 1 comment
Closed

[BUG] code bug #410

BaiStone2017 opened this issue Nov 16, 2023 · 1 comment
Assignees
Labels
bug Something isn't working triaged Issue has been triaged by maintainers

Comments

@BaiStone2017
Copy link

BaiStone2017 commented Nov 16, 2023

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'

@byshiue
Copy link
Collaborator

byshiue commented Nov 16, 2023

Thank you for report. We will fix it ASAP.

@byshiue byshiue self-assigned this Nov 16, 2023
@byshiue byshiue added bug Something isn't working triaged Issue has been triaged by maintainers labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged Issue has been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

3 participants