Skip to content

fix: GPTQ cache path built from int hash - #84

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/gptq-5bfdcea7
Open

fix: GPTQ cache path built from int hash#84
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/gptq-5bfdcea7

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

This PR addresses the following issue in fouroversix/scripts/ptq/evaluators/gptq.py: GPTQ cache path built from int hash.

Changes

  • fouroversix/scripts/ptq/evaluators/gptq.py: GPTQ cache path built from int hash.

Details

--- a/fouroversix/scripts/ptq/evaluators/gptq.py
+++ b/fouroversix/scripts/ptq/evaluators/gptq.py
@@ -1,1 +1,1 @@
-        save_path = save_path / "gptq" / model_name / quantization_config.__hash__()
+        save_path = save_path / "gptq" / model_name / str(quantization_config.__hash__())

Tests

Let me know if you want tests added for this fix or not.

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.

1 participant