Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: Arch Detector Causing Special Characters in GPU Name in settings.json #1140

@Van-QA

Description

@Van-QA

Description:
The arch detector in the system is not functioning properly, leading to the introduction of special characters in the GPU name within the settings.json file. Specifically, the GPU name is populated as "NVIDIA RTX A6000\r", where the carriage return (\r) is incorrectly included. This issue seems to originate from the GPU architecture detection logic.

Steps to Reproduce:

  1. Run the system and allow it to generate the settings.json file.
  2. Observe the settings.json file, particularly the GPU section:
    "nvidia_driver": {
        "exist": true,
        "version": "560.76",
        "name": "NVIDIA RTX A6000\r"
    }
  3. Note the presence of the special character (\r) in the GPU name.

Expected Result:
The settings.json file should contain a clean, correctly formatted GPU name without any special characters.

Actual Result:
The settings.json file contains a GPU name with an unintended special character (\r), likely due to a flaw in the arch detector logic.

Reported by: cbai970
https://discord.com/channels/1107178041848909847/1277272158367776828/1277291486198894657

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions