Skip to content

Make lm_eval optional dependency #2073

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

Open
jainapurva opened this issue Apr 18, 2025 · 0 comments
Open

Make lm_eval optional dependency #2073

jainapurva opened this issue Apr 18, 2025 · 0 comments
Assignees

Comments

@jainapurva
Copy link
Contributor

lm_eval dependency should be removed, as it's causing import errors for torchao.quantization.GPTQ when lm_eval is not installed.

Approach: Move InputRecorder and similar classes to utils and guard it within _lm_eval_available

@jainapurva jainapurva self-assigned this Apr 18, 2025
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