-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade arc perf test to transformers 4.37 (#11842)
* fix load low bit com dtype (#11832) * feat: add mixed_precision argument on ppl longbench evaluation * fix: delete extra code * feat: upgrade arc perf test to transformers 4.37 * fix: add missing codes * fix: keep perf test for qwen-vl-chat in transformers 4.36 * fix: remove extra space * fix: resolve pr comment * fix: add empty line * fix: add pip install for spr and core test * fix: delete extra comments * fix: remove python -m for pip * Revert "fix load low bit com dtype (#11832)" This reverts commit 6841a9a. --------- Co-authored-by: Zhao Changmin <[email protected]> Co-authored-by: Jinhe Tang <[email protected]>
- Loading branch information
1 parent
1ac3440
commit a78e0b9
Showing
10 changed files
with
105 additions
and
105 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
python/llm/test/benchmark/arc-perf-transformers-436-batch2.yaml
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,16 @@ | ||
repo_id: | ||
- 'Qwen/Qwen-VL-Chat' | ||
local_model_hub: '/mnt/disk1/models' | ||
warm_up: 1 | ||
num_trials: 3 | ||
num_beams: 1 # default to greedy search | ||
low_bit: 'sym_int4' # default to use 'sym_int4' (i.e. symmetric int4) | ||
batch_size: 2 # default to 1 | ||
in_out_pairs: | ||
- '32-32' | ||
- '1024-128' | ||
- '2048-256' | ||
test_api: | ||
- "transformer_int4_fp16_gpu" # on Intel GPU | ||
cpu_embedding: False # whether put embedding to CPU (only avaiable now for gpu win related test_api) | ||
task: 'continuation' # task can be 'continuation', 'QA' and 'summarize' |
18 changes: 18 additions & 0 deletions
18
python/llm/test/benchmark/arc-perf-transformers-436-batch4.yaml
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,18 @@ | ||
repo_id: | ||
- 'Qwen/Qwen-VL-Chat' | ||
local_model_hub: '/mnt/disk1/models' | ||
warm_up: 1 | ||
num_trials: 3 | ||
num_beams: 1 # default to greedy search | ||
low_bit: 'sym_int4' # default to use 'sym_int4' (i.e. symmetric int4) | ||
batch_size: 4 # default to 1 | ||
in_out_pairs: | ||
- '32-32' | ||
- '1024-128' | ||
- '2048-256' | ||
test_api: | ||
- "transformer_int4_fp16_gpu" # on Intel GPU | ||
cpu_embedding: False # whether put embedding to CPU (only avaiable now for gpu win related test_api) | ||
exclude: | ||
- 'Qwen/Qwen-VL-Chat:2048' | ||
task: 'continuation' # task can be 'continuation', 'QA' and 'summarize' |
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,16 @@ | ||
repo_id: | ||
- 'Qwen/Qwen-VL-Chat' | ||
local_model_hub: '/mnt/disk1/models' | ||
warm_up: 1 | ||
num_trials: 3 | ||
num_beams: 1 # default to greedy search | ||
low_bit: 'sym_int4' # default to use 'sym_int4' (i.e. symmetric int4) | ||
batch_size: 1 # default to 1 | ||
in_out_pairs: | ||
- '32-32' | ||
- '1024-128' | ||
- '2048-256' | ||
test_api: | ||
- "transformer_int4_fp16_gpu" # on Intel GPU | ||
cpu_embedding: False # whether put embedding to CPU (only avaiable now for gpu win related test_api) | ||
task: 'continuation' # task can be 'continuation', 'QA' and 'summarize' |
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