cx_Freeze
cx_Freeze copied to clipboard
Reducing the Size of PyTorch-Based Executable
Hi,
I'm working on converting a Python program that uses PyTorch to an executable file. However, the folder for the app is too large. I've noticed that the original torch2.3+cu118 in conda is around 5GB, and the torch library in the app is about 4GB.
I'm wondering how to use torch while keeping the executable file small. Specifically, how do others create standalone binary executables that are only 200-300 MB in size?
Any advice or suggestions would be greatly appreciated. Thank you!