Skip to content

Commit

Permalink
CTX-6655: Change incorrect comment to correct one.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Tintor committed Aug 27, 2024
1 parent 15592b9 commit 8d0b69e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions coretex/cli/modules/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ def configureNode(advanced: bool) -> NodeConfiguration:
else:
nodeConfig.image = "coretexai/coretex-node"

# NOTE: If node OS is linux and Docker Desktop is being used CLI won't prompt for GPU access
# Reason is that we cannot solve the NVIDIA bug without additionals changes to daemon.json file
# which doesn't exist when using Docker Desktop
# GPU Access is supported for:
# - Linux (Docker Engine)
# - Windows (Docker Desktop)

if isGPUAvailable() and not (docker.isDockerDesktop() and currentOS != "windows"):
nodeConfig.allowGpu = ui.clickPrompt("Do you want to allow the Node to access your GPU? (Y/n)", type = bool, default = True)
Expand Down

0 comments on commit 8d0b69e

Please sign in to comment.