Instructpix2pix training guide please
i m trying to train Instructpix2pix on my Colab free tier …but i m getting error everytime i m trying i have 1000 sample of dataset heres the error i m gettingOutOfMemoryError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 14.75  GiB total capacity; 13.21 GiB already allocated; 44.81 MiB free; 13.35 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_CONFheres the training manual i m following line by line:InstructPix2pixTrainingcan anyone help me out how i can train this model i m a newbie please do suggest me .
2023-05-29T17:20:25Z
hey@nicky007it very likely requires more gpu memory than a colab free tier has
2023-05-30T11:48:35Z
i understand but are there any hacks or tricks i can do to make this work i tried some like decreasing  batch size and dataset size.tried using xformers…i m using pytorch 2.0.1+cu117 do i need to downgrade the pytorch version .?