RuntimeError: CUDA out of memory. Tried to allocate 40.00 MiB (GPU 0; 4.00 GiB total capacity; 3.39 GiB already allocated; 0 bytes free; 3.44 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Хоть ты лопни, хоть ты тресни. Карточка - 4 гига (GTX 1650), в батнике прописано: --medvram --precision full --no-half --skip-torch-cuda-test