-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify WOQ examples structure (#1866)
Signed-off-by: Kaihui-intel <[email protected]> Signed-off-by: chensuyue <[email protected]>
- Loading branch information
1 parent
498af74
commit 48c5e3a
Showing
11 changed files
with
233 additions
and
305 deletions.
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
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 |
---|---|---|
@@ -1,67 +1,151 @@ | ||
{ | ||
"pytorch": { | ||
"gpt_j_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"gpt_j_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"llama2_7b_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"llama2_7b_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"opt_125m_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"dlrm_ipex": { | ||
"model_src_dir": "recommendation/dlrm/static_quant/ipex", | ||
"dataset_location": "/mnt/local_disk3/dataset/dlrm/dlrm/input", | ||
"input_model": "/mnt/local_disk3/dataset/dlrm/dlrm/dlrm_weight/tb00_40M.pt", | ||
"main_script": "dlrm_s_pytorch.py", | ||
"batch_size": 16384 | ||
}, | ||
"resnet18_pt2e_static":{ | ||
"model_src_dir": "cv/static_quant", | ||
"dataset_location": "/tf_dataset/pytorch/ImageNet/raw", | ||
"input_model": "", | ||
"main_script": "main.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_pt2e_static":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant/pt2e", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
} | ||
} | ||
} | ||
{ | ||
"pytorch": { | ||
"opt_125m_woq_gptq_int4":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_woq_gptq_int4_dq_bnb":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_woq_gptq_int4_dq_ggml":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"llama2_7b_gptq_int4":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"llama2_7b_gptq_int4_dq_bnb":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"llama2_7b_gptq_int4_dq_ggml":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_rtn_int4":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_rtn_int4_dq_bnb":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_rtn_int4_dq_ggml":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_gptq_int4":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_gptq_int4_dq_bnb":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_woq_gptq_int4_dq_ggml":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/weight_only", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"gpt_j_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"gpt_j_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"llama2_7b_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"llama2_7b_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_ipex":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"opt_125m_ipex_sq":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/smooth_quant", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 8 | ||
}, | ||
"dlrm_ipex": { | ||
"model_src_dir": "recommendation/dlrm/static_quant/ipex", | ||
"dataset_location": "/mnt/local_disk3/dataset/dlrm/dlrm/input", | ||
"input_model": "/mnt/local_disk3/dataset/dlrm/dlrm/dlrm_weight/tb00_40M.pt", | ||
"main_script": "dlrm_s_pytorch.py", | ||
"batch_size": 16384 | ||
}, | ||
"resnet18_pt2e_static":{ | ||
"model_src_dir": "cv/static_quant", | ||
"dataset_location": "/tf_dataset/pytorch/ImageNet/raw", | ||
"input_model": "", | ||
"main_script": "main.py", | ||
"batch_size": 1 | ||
}, | ||
"opt_125m_pt2e_static":{ | ||
"model_src_dir": "nlp/huggingface_models/language-modeling/quantization/static_quant/pt2e", | ||
"dataset_location": "", | ||
"input_model": "", | ||
"main_script": "run_clm_no_trainer.py", | ||
"batch_size": 1 | ||
} | ||
} | ||
} |
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
File renamed without changes.
Oops, something went wrong.