KEMBAR78
Hide error message while checking for GPUs in Python workflow by khalatepradnya · Pull Request #995 · NVIDIA/cuda-quantum · GitHub
Skip to content

Conversation

@khalatepradnya
Copy link
Collaborator

Modified the utility function which checks for GPUs to suppress error messages.

Description

On systems without GPU, while using the Python interface, the check GPU shows errors sh: line 1: nvidia-smi: command not found.

@github-actions
Copy link

github-actions bot commented Dec 2, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 2, 2023
shows errors `sh: line 1: nvidia-smi: command not found`.
Modified the utility function to suppress error.
@khalatepradnya khalatepradnya force-pushed the fix/issue-python-gpu-check-log branch from ba4822f to c95b6fc Compare December 4, 2023 17:20
@github-actions
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
@github-actions
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
Copy link
Collaborator

@1tnguyen 1tnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

github-actions bot commented Dec 4, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 4, 2023
@khalatepradnya khalatepradnya enabled auto-merge (squash) December 4, 2023 23:27
@github-actions
Copy link

github-actions bot commented Dec 5, 2023

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Dec 5, 2023
@khalatepradnya khalatepradnya merged commit 03b1be5 into NVIDIA:main Dec 5, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
@khalatepradnya khalatepradnya deleted the fix/issue-python-gpu-check-log branch December 5, 2023 19:12
@bettinaheim bettinaheim added the bug fix To be listed under Bug Fixes in the release notes label Jan 22, 2024
@bettinaheim bettinaheim added this to the release 0.6.0 milestone Jan 22, 2024
@bettinaheim bettinaheim changed the title [Fix] Hide error message while checking for GPUs in Python workflow Hide error message while checking for GPUs in Python workflow Jan 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug fix To be listed under Bug Fixes in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants