Kaggle / kagglehub

Python library to access Kaggle resources
Apache License 2.0
42 stars 7 forks source link

Try to improve the printing for cached downloads from kaggle/colab #142

Closed mattdangerw closed 1 month ago

mattdangerw commented 1 month ago

This is an attempt to fix this issue when running kagglehub from a cache.

image

I don't think we want to log as if we are attaching an asset every time we read something from the cache.

mattdangerw commented 1 month ago

Alternately we could figure out a way to only log each asset once, if it is found in the cache. That seems slightly misleading, as IIUC the whole directory is just mounted once, not asset by asset. And it would involve some state to track which call is the first download call for each asset.

rosbo commented 1 month ago

/gcbrun

rosbo commented 1 month ago

/gcbrun