You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default value for CACHE_DIR in the pipeline creates several issues. On many systems, such as Ubuntu distributions, users typically lack permissions for the root directory (/), which prevents the pipeline from running. On Windows, it creates a scratch folder on the C drive, which is not ideal.
Describe the bug
The default value for CACHE_DIR in the pipeline creates several issues. On many systems, such as Ubuntu distributions, users typically lack permissions for the root directory (
/
), which prevents the pipeline from running. On Windows, it creates ascratch
folder on the C drive, which is not ideal.lighteval/src/lighteval/main_accelerate.py
Line 34 in 0977fde
Proposed Solution
Remove the default value for CACHE_DIR and instead return None. This will allow the pipeline to follow the default logic of the transformers library.
To Reproduce
Run the example provided in the README on any Linux distribution:
Expected behavior
The running should execute without errors.
Version info
The issue was encountered on the
main
branch installed withpip install -e .[dev]
.The text was updated successfully, but these errors were encountered: