Config: Switch to YAML and add load progress
YAML is a more flexible format when it comes to configuration. Commandline arguments are difficult to remember and configure especially for an API with complicated commandline names. Rather than using half-baked textfiles, implement a proper config solution. Also add a progress bar when loading models in the commandline. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
5d32aa02cd
commit
a10c14d357
6 changed files with 38 additions and 26 deletions
8
config_sample.yml
Normal file
8
config_sample.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
model_dir: "D:/models"
|
||||
model_name: "this_is_a_exl2_model"
|
||||
max_seq_len: 4096
|
||||
gpu_split: "auto"
|
||||
rope_scale: 1.0
|
||||
rope_alpha: 1.0
|
||||
no_flash_attention: False
|
||||
low_mem: False
|
||||
Loading…
Add table
Add a link
Reference in a new issue