crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
546 stars 26 forks source link

Fixed UnicodeDecodeError in GPU name retrieval #66

Closed Ainaemaet closed 3 weeks ago

Ainaemaet commented 1 month ago

This pull request fixes a UnicodeDecodeError in the GPU name retrieval process by ensuring the device name is decoded with error handling. This resolves issues where non-UTF-8 characters caused the program not to function with:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf8 in position 0: invalid start byte