• H
    [Cherry-pick] Cherry-pick of PR#29579 and PR#29617 (#29904) · 63939597
    Huihuang Zheng 提交于
    * [Dy2stat] Enable jit.save to Save Without Running (#29579)
    
    Enable jit.save to Save Without Running.
    
    * Modify CublasHandleHolder to Fix Random Unittest Failure. test=develop (#29617)
    
    Modify CublasHandleHolder from using PADDLE_ENFORCE_CUDA_SUCCESS to PADDLE_RETRY_CUDA_SUCCESS to fix random unittest failure. We checked that the unittest log showed CUDA allocation error at this file, which may due to GPU not enough. We fixed similar failure in the past, so we applied PADDLE_RETRY_CUDA_SUCCESS here.
    63939597
test_jit_save_load.py 37.8 KB