-
Notifications
You must be signed in to change notification settings - Fork 708
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to reproduce (i'm forcing the versions due to pytorch/ao#2919)
$ pip install torch==2.9.1 torchvision torchao==0.15.0 --index-url https://download.pytorch.org/whl/cu128
$ pip install torch
$ tune --help
Traceback (most recent call last):
File "/home/toolkit/.conda/envs/backdoors/bin/tune", line 3, in <module>
from torchtune._cli.tune import main
File "/home/toolkit/.conda/envs/backdoors/lib/python3.12/site-packages/torchtune/_cli/tune.py", line 12, in <module>
from torchtune._cli.download import Download
File "/home/toolkit/.conda/envs/backdoors/lib/python3.12/site-packages/torchtune/_cli/download.py", line 22, in <modu
le>
from kagglehub.auth import set_kaggle_credentials
ImportError: cannot import name 'set_kaggle_credentials' from 'kagglehub.auth' (/home/toolkit/.conda/envs/backdoors/lib
/python3.12/site-packages/kagglehub/auth.py). Did you mean: 'get_kaggle_credentials'?
Installed library versions
torch==2.9.1+cu128
torchao==0.15.0+cu128
torchdata==0.11.0
torchtune==0.6.1
torchvision==0.24.1+cu128
kagglehub==0.4.1 # problematic
It's been changed in this commit (0.4.1 of kagglehub)
Kaggle/kagglehub@f4bb1b2
Workaround: downgrade kagglehub
pip install kagglehub==0.4.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working