Prüfen Sie, ob die GPU im Confidential Computing-Modus ausgeführt wird:
sudonvidia-smiconf-compute-f
Die Ausgabe sieht etwa so aus:
CCstatus:ON
GPU nach jedem Neustart in den Bereitschaftsmodus versetzen.
sudonvidia-smiconf-compute-srs1
Prüfen Sie, ob Confidential Computing bereit ist.
sudonvidia-smiconf-compute-grs
Wenn Sie eine GPU mit nvidia-smi conf-compute -srs 0 aus dem Status „Bereit“ entfernen, starten Sie die VM-Instanz neu, um die GPU wieder in den Status „Bereit“ zu versetzen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-02 (UTC)."],[],[],null,["# Verify Confidential Computing is enabled on GPUs\n\nAfter completing\n[the configuration steps](/confidential-computing/confidential-vm/docs/create-a-confidential-vm-instance-with-gpu),\nverify that your GPU is correctly operating in confidential computing mode:\n\n1. Verify that the `nvidia-persistenced` service is running with\n `uvm-persistence-mode` enabled:\n\n ps aux | grep nvidia-persistenced | grep -v grep\n\n The output is similar to the following: \n\n nvidia-+ 729 6.2 0.0 5468 1664 ? Ss 12:02 0:10\n /usr/bin/nvidia-persistenced \\\n --user nvidia-persistenced \\\n --uvm-persistence-mode \\\n --verbose\n\n | **Caution:** Don't restart the `nvidia-persistenced` service after enabling `uvm-persistence-mode`, as this can disrupt the secure connection and require a VM reboot.\n2. Confirm that the GPU is running in confidential computing mode:\n\n sudo nvidia-smi conf-compute -f\n\n The output is similar to the following: \n\n CC status: ON\n\n3. Set GPU to ready state after each reboot.\n\n sudo nvidia-smi conf-compute -srs 1\n\n4. Verify Confidential Computing ready state.\n\n sudo nvidia-smi conf-compute -grs\n\n If you transition a GPU out of the ready state using\n `nvidia-smi conf-compute -srs 0`, reboot the VM instance to return the GPU\n to the ready state.\n\n The output is similar to the following: \n\n Confidential Compute GPUs Ready state: ready"]]