黄巧波
黄巧波
Hi @kfern Thank you for your answer I found that export cmyk image is not supported by exportMethods of Image class Because of that, I have no way to export...
after run `pip install interence` get new error: `ImportError: cannot import name 'YOLOWorld' from 'inference.models'` edit YOLO_WORLD_EfficientSAM.py can resolve the error ```python - from inference.models import YOLOWorld + from inference.models.yolo_world...
> The issue is a memory leak issue in the pytorch build, it's resolved by using the pytorch nightly preview, but that can cause other issues. I did find that...
> FYI, that feature doesn't release cached data. You have to execute empty workflow before free_memory if you want to wipe all. I then ran this workflow and the memory...
> > > FYI, эта функция не освобождает кэшированные данные. Вам нужно выполнить пустой рабочий процесс перед free_memory, если вы хотите стереть все. > > > > > > >...
i find the memory leak is happen in torch function `module._load_from_state_dict`
> > i find the memory leak is happen in torch function `module._load_from_state_dict` > > Do you use torch 2.4.0 on windows? i have tried these versions 2.3.0 on mac....
>  > > Seems like the model disposage is the issue here: (This does clear the VRAM but duplicates the cache in ram) > > ``` > model_management.unload_all_models() >...
I guess this unreleased memory is pinned memory, it's managed by [CUDACachingHostAllocator](https://github.com/pytorch/pytorch/blob/ebeab262d90bd5e31a760da0ac7a3399bfb44f61/aten/src/ATen/cuda/CachingHostAllocator.cpp#L236). If we want to clean up this memory, we need to call the `CachingHostAllocator_emptyCache` method. This method can...
sad. `torch._C._host_emptyCache()` method is not work in this case. Because `CheckpointLoaderSimple` may not using pin_memory. However, some third-party nodes use `pin_memory=True` when using `torch.utils.data.DataLoader`. If you use such nodes, you...