Send feedback
  
   
 
  
    
      Verify Confidential Computing is enabled on GPUs 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  
After completing
the configuration steps ,
verify that your GPU is correctly operating in confidential computing mode:
Verify that the nvidia-persistenced service is running with
uvm-persistence-mode enabled:
ps  aux  |   grep  nvidia-persistenced  |   grep  -v  grep
 
The output is similar to the following:
nvidia-+      729    6 .2   0 .0    5468    1664   ?   Ss    12 :02    0 :10
/usr/bin/nvidia-persistenced  \ 
--user  nvidia-persistenced  \ 
--uvm-persistence-mode  \ 
--verbose
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.  
Confirm that the GPU is running in confidential computing mode:
sudo  nvidia-smi  conf-compute  -f
 
The output is similar to the following:
CC  status:  ON
 
Set GPU to ready state after each reboot.
sudo  nvidia-smi  conf-compute  -srs  1 
 
Verify Confidential Computing ready state.
sudo  nvidia-smi  conf-compute  -grs
 
If you transition a GPU out of the ready state using
nvidia-smi conf-compute -srs 0, reboot the VM instance to return the GPU
to the ready state.
The output is similar to the following:
Confidential  Compute  GPUs  Ready  state:  ready
 
 
  
  
  
     
  
  
 
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]