huggingface / datasets

🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
https://huggingface.co/docs/datasets
Apache License 2.0
19.28k stars 2.7k forks source link

Windows do not supprot signal.alarm and singal.signal #7212

Open TomasJavurek opened 1 month ago

TomasJavurek commented 1 month ago

Describe the bug

signal.alarm and signal.signal are used in the load.py module, but these are not supported by Windows.

Steps to reproduce the bug

lighteval accelerate --model_args "pretrained=gpt2,trust_remote_code=True" --tasks "community|kinit_sts" --custom_tasks "community_tasks/kinit_evals.py" --output_dir "./evals"

Expected behavior

proceed with input(..) method

Environment info

Windows 11