Skip to content

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

Closed
@Nevermetyou65

Description

@Nevermetyou65

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions