-
Can someone suggest ways to reduce the size of my fat JAR file that is currently around 1.2 GB? I am using the Shadow JAR plugin in my Gradle file to create the fat JAR. I believe this large file size is due to the inclusion of the PyTorch library, which is quite large, in my dependencies:
Are there any alternative approaches that I could use to achieve the same functionality but with a smaller JAR file size? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The pytorch GPU binary itself is more than 1G. I don't think there is way to reduce it's size if you must use GPU and want to distribute it. Here is a few options:
|
Beta Was this translation helpful? Give feedback.
The pytorch GPU binary itself is more than 1G. I don't think there is way to reduce it's size if you must use GPU and want to distribute it.
Here is a few options: