You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using kagglehub.model_download, the model is stored in a system-generated path that is not always intuitive or easy to manage. It would be highly beneficial to add functionality that allows users to specify a custom storage path during the model download process.
For anyone that needs a solution right now, you can set the environment variable KAGGLEHUB_CACHE to your download location outside of the python or from within with:
import os
os.environ['KAGGLEHUB_CACHE'] = '/desired/destination/folder'
For anyone that needs a solution right now, you can set the environment variable KAGGLEHUB_CACHE to your download location outside of the python or from within with:
import os
os.environ['KAGGLEHUB_CACHE'] = '/desired/destination/folder'
I can't give you enough thumbs for this solution. It's ridiculous that we have to jump through hoops to get this basic functionality.
Description:
When using
kagglehub.model_download
, the model is stored in a system-generated path that is not always intuitive or easy to manage. It would be highly beneficial to add functionality that allows users to specify a custom storage path during the model download process.Example:
If no path is provided, the function can default to the current behavior or use the current path, storing it in the system-generated location.
The text was updated successfully, but these errors were encountered: