()
| 238 | |
| 239 | |
| 240 | def is_torch_cuda_available(): |
| 241 | if is_torch_available(): |
| 242 | import torch |
| 243 | |
| 244 | return torch.cuda.is_available() |
| 245 | else: |
| 246 | return False |
| 247 | |
| 248 | |
| 249 | def is_wenetruntime_available(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…