-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add test_asym_gptq_v1.py * add base score
- Loading branch information
1 parent
9c3296f
commit b11d112
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -- do not touch | ||
import os | ||
|
||
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" | ||
# -- end do not touch | ||
from gptqmodel.quantization import FORMAT # noqa: E402 | ||
|
||
from models.model_test import ModelTest # noqa: E402 | ||
|
||
|
||
class Test(ModelTest): | ||
NATIVE_MODEL_ID = "/monster/data/model/Llama-3.2-1B-Instruct" # "meta-llama/Llama-3.2-1B-Instruct" | ||
QUANT_FORMAT = FORMAT.GPTQ | ||
SYM = False | ||
NATIVE_ARC_CHALLENGE_ACC = 0.2747 | ||
NATIVE_ARC_CHALLENGE_ACC_NORM = 0.2935 | ||
|
||
def test(self): | ||
self.quant_lm_eval() |