Skip to content
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

Fix a bug, remove harcoded counts #238

Closed
wants to merge 2 commits into from
Closed

Fix a bug, remove harcoded counts #238

wants to merge 2 commits into from

Conversation

horheynm
Copy link
Member

Model used in tests does a check to make sure apply_quantization_config works as expected - does not change the model structure.

Currently we do a hardcoded check to validate if the number of modules are a certain number after apply_quantization_config is run.

The fix solves is above problem, where if from the HF side, the model structure changes, the test will fail. Instead count the number of desired module, apply_quantization_config and check again.

@rahul-tuli
Copy link
Member

Merged into #239

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

Successfully merging this pull request may close these issues.

2 participants