litgpt
litgpt copied to clipboard
Deal with warnings during model download and conversion
When we download (and automatically convert) a model, we have these three warnings:
- .../huggingface_hub/file_download.py:1132: FutureWarning:
resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True
. - .../huggingface_hub/file_download.py:1194: UserWarning:
local_dir_use_symlinks
parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder aslocal_dir
. For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder. - [W init.cpp:1436] Warning: write_record(): Passing Storage by data pointer is deprecated and will be an error in the future, please pass the Storage object instead. (function operator())
First two come during weights downloading, while the third - during conversion.