ImportError: cannot import name 'set_caching_enabled' from 'datasets' 
NONE
pip install datasets==2.18.0
2024-12-11T01:59:08Z
https://github.com/huggingface/datasets/issues/7321#issuecomment-2533449117
https://api.github.com/repos/huggingface/datasets/issues/7321
IC_kwDODunzps6XAV2d
https://api.github.com/repos/huggingface/datasets/issues/comments/2533449117/reactions
2024-12-11T01:59:08Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2533449117
https://avatars.githubusercontent.com/u/33318353?v=4
https://api.github.com/users/sankexin/events{/privacy}
https://api.github.com/users/sankexin/followers
https://api.github.com/users/sankexin/following{/other_user}
https://api.github.com/users/sankexin/gists{/gist_id}
https://github.com/sankexin
sankexin
MDQ6VXNlcjMzMzE4MzUz
https://api.github.com/users/sankexin/orgs
https://api.github.com/users/sankexin/received_events
https://api.github.com/users/sankexin/repos
https://api.github.com/users/sankexin/starred{/owner}{/repo}
https://api.github.com/users/sankexin/subscriptions
User
https://api.github.com/users/sankexin
public
MEMBER
Hi ! I think you need to update axolotl
2024-12-11T13:32:14Z
https://github.com/huggingface/datasets/issues/7321#issuecomment-2536002052
https://api.github.com/repos/huggingface/datasets/issues/7321
IC_kwDODunzps6XKFIE
https://api.github.com/repos/huggingface/datasets/issues/comments/2536002052/reactions
2024-12-11T13:32:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2536002052
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
### Describe the bug

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/local/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/home/Medusa/axolotl/src/axolotl/cli/__init__.py", line 23, in <module>
    from axolotl.train import TrainDatasetMeta
  File "/home/Medusa/axolotl/src/axolotl/train.py", line 23, in <module>
    from axolotl.utils.trainer import setup_trainer
  File "/home/Medusa/axolotl/src/axolotl/utils/trainer.py", line 13, in <module>
    from datasets import set_caching_enabled
ImportError: cannot import name 'set_caching_enabled' from 'datasets' (/usr/local/lib/python3.10/site-packages/datasets/__init__.py)

### Steps to reproduce the bug

1、axolotl
2、accelerate launch -m axolotl.cli.train examples/medusa/qwen_lora_stage1.yml

### Expected behavior

enable datasets

### Environment info

python3.10