Skip to content

Make lm_eval optional dependency #2073

Open
@jainapurva

Description

@jainapurva

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions