今朝から突然、次のエラーが出てjasnaが途中で止まるようになった

torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1008.00 MiB. GPU 0 has a total capacity of 11.94 GiB of which 0 bytes is free.
Of the allocated memory 5.58 GiB is allocated by PyTorch, and 1.69 GiB is reserved by PyTorch but unallocated.
If reserved but unallocated memory is large try setting PYTORCH_ALLOC_CONF=expandable_segments:True to avoid fragmentation.
See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

書かれている「set PYTORCH_ALLOC_CONF=expandable_segments:True」をやった後でもダメ、
再起動やjasna・pytorch・Python・CUDAの再インストールしてもダメだったが、
「set PYTORCH_ALLOC_CONF=max_split_size_mb:128」をやると、今までがウソのように問題なく完走できるようになった