Skip to content

Conversation

pescn
Copy link
Contributor

@pescn pescn commented Jun 6, 2024

Description

PyNVML 旧版本的 nvmlDeviceGetName 可能会返回 bytes 类型,增加了对于类型的分析,如果出现 bytes 类型则进行 decode

Closes: #605

@Zeyi-Lin Zeyi-Lin self-requested a review June 6, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 系统信息Json报错-TypeError: Object of type bytes is not JSON serializable

2 participants