Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'url_to_fs' from 'fsspec' #507

Open
Nevermetyou65 opened this issue Jan 22, 2025 · 0 comments
Open

ImportError: cannot import name 'url_to_fs' from 'fsspec' #507

Nevermetyou65 opened this issue Jan 22, 2025 · 0 comments

Comments

@Nevermetyou65
Copy link

Hi

I am trying this lighteval for the first time and got struck immediately.

I tired to run this example

lighteval accelerate \
     "pretrained=gpt2" \
     "leaderboard|truthfulqa:mc|0|0"

And I got this error
ImportError: cannot import name 'url_to_fs' from 'fsspec' (/root/miniconda3/envs/lightevals/lib/python3.11/site-packages/fsspec/__init__.py)

Steps to reproduce

git clone https://github.com/huggingface/lighteval.git
cd lighteval
pip install -e .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant