mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Iluvatar] add vl into ci and support v1 loader (#4774)
This commit is contained in:
@@ -56,7 +56,10 @@ class GPUMemoryChecker:
|
||||
|
||||
def __del__(self):
|
||||
""" """
|
||||
pynvml.nvmlShutdown()
|
||||
if self.gpu_memory_handle is None:
|
||||
pass
|
||||
else:
|
||||
pynvml.nvmlShutdown()
|
||||
|
||||
def _print_memory_info(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user