Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoGPTQ
Commits
7e92c364
Commit
7e92c364
authored
Nov 28, 2024
by
yangql
Browse files
Update README.md
parent
4cfed9e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
README.md
README.md
+11
-0
No files found.
README.md
View file @
7e92c364
...
...
@@ -34,6 +34,17 @@ pip3 install e .
python3 setup.py bdist_wheel
cd dist && pip3 install auto_gptq*
```
#### 量化模型
方式1、
```
shell
python test_infer.py
```
方式2、
```
shell
python quant_with_alpaca.py
--pretrained_model_dir
"/home/yang/DL_DATA/Yi/Yi-34B-Chat/"
--quantized_model_dir
"./Yi-34B-Chat-gptq"
--quant_batch_size
4
```
## 支持模型
| Models | Sizes |
| :------: | :-------------------------: |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment