Adding regression benchmark for the transformers SHA 5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2
Browse files- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/main.log +23 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/7/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/7/main.log +20 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/main.log +20 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/hydra_config.yaml +66 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/inference_results.csv +2 -0
- raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/main.log +22 -0
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float16
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 1
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,39455.686656,0.0328,30.5,6.53,30.6
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/0/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:27:19,729][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:27:19,730][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:27:20,016][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:27:20,017][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:27:20,017][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:27:20,152][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:27:20,166][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:27:20,167][pytorch][INFO] - + Loading pretrained model weights in dtype: float16 on device: cuda
|
9 |
+
[2023-08-11 15:28:26,614][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:28:26,615][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:28:34,701][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:28:36,016][memory_tracker][INFO] - Peak memory usage: 39455.686656 MB
|
13 |
+
[2023-08-11 15:28:36,017][inference][INFO] - + Forward pass peak memory: 39455.686656 (MB)
|
14 |
+
[2023-08-11 15:28:36,017][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:28:36,336][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:28:56,621][inference][INFO] - + Forward pass latency: 3.28e-02 (s)
|
17 |
+
[2023-08-11 15:28:56,622][inference][INFO] - + Forward pass throughput: 30.50 (samples/s)
|
18 |
+
[2023-08-11 15:28:56,623][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:29:03,962][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:29:30,082][inference][INFO] - + Generation pass latency: 6.53e+00 (s)
|
21 |
+
[2023-08-11 15:29:30,086][inference][INFO] - + Generation pass throughput: 30.60 (tokens/s)
|
22 |
+
[2023-08-11 15:29:30,086][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:29:30,095][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float32
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 1
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,54148.333567999995,0.0643,15.6,5.71,35.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/1/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:29:30,829][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:29:30,830][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:29:31,018][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:29:31,018][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:29:31,019][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:29:31,239][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:29:31,265][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:29:31,266][pytorch][INFO] - + Loading pretrained model weights in dtype: float32 on device: cuda
|
9 |
+
[2023-08-11 15:29:48,052][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:29:48,053][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:29:55,792][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:29:55,888][memory_tracker][INFO] - Peak memory usage: 54148.333567999995 MB
|
13 |
+
[2023-08-11 15:29:55,888][inference][INFO] - + Forward pass peak memory: 54148.333567999995 (MB)
|
14 |
+
[2023-08-11 15:29:55,888][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:29:58,007][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:31:04,195][inference][INFO] - + Forward pass latency: 6.43e-02 (s)
|
17 |
+
[2023-08-11 15:31:04,196][inference][INFO] - + Forward pass throughput: 15.60 (samples/s)
|
18 |
+
[2023-08-11 15:31:04,196][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:31:09,917][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:31:32,752][inference][INFO] - + Generation pass latency: 5.71e+00 (s)
|
21 |
+
[2023-08-11 15:31:32,755][inference][INFO] - + Generation pass throughput: 35.00 (tokens/s)
|
22 |
+
[2023-08-11 15:31:32,756][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:31:32,762][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float16
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 2
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,40212.758528,0.0324,61.7,6.11,65.5
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/2/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:31:33,257][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:31:33,258][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:31:33,446][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:31:33,446][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:31:33,446][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:31:33,666][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:31:33,689][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:31:33,690][pytorch][INFO] - + Loading pretrained model weights in dtype: float16 on device: cuda
|
9 |
+
[2023-08-11 15:31:44,143][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:31:44,144][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:31:51,874][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:31:51,914][memory_tracker][INFO] - Peak memory usage: 40212.758528 MB
|
13 |
+
[2023-08-11 15:31:51,915][inference][INFO] - + Forward pass peak memory: 40212.758528 (MB)
|
14 |
+
[2023-08-11 15:31:51,915][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:31:52,395][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:32:22,140][inference][INFO] - + Forward pass latency: 3.24e-02 (s)
|
17 |
+
[2023-08-11 15:32:22,141][inference][INFO] - + Forward pass throughput: 61.70 (samples/s)
|
18 |
+
[2023-08-11 15:32:22,141][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:32:29,336][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:32:53,786][inference][INFO] - + Generation pass latency: 6.11e+00 (s)
|
21 |
+
[2023-08-11 15:32:53,790][inference][INFO] - + Generation pass throughput: 65.50 (tokens/s)
|
22 |
+
[2023-08-11 15:32:53,790][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:32:53,796][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float32
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 2
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,30780.817408,0.115,17.4,8.88,45.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/3/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:32:54,284][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:32:54,285][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:32:54,493][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:32:54,493][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:32:54,493][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:32:54,594][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:32:54,617][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:32:54,618][pytorch][INFO] - + Loading pretrained model weights in dtype: float32 on device: cuda
|
9 |
+
[2023-08-11 15:33:11,911][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:33:11,913][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:33:19,823][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:33:19,949][memory_tracker][INFO] - Peak memory usage: 30780.817408 MB
|
13 |
+
[2023-08-11 15:33:19,949][inference][INFO] - + Forward pass peak memory: 30780.817408 (MB)
|
14 |
+
[2023-08-11 15:33:19,950][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:33:23,777][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:34:34,698][inference][INFO] - + Forward pass latency: 1.15e-01 (s)
|
17 |
+
[2023-08-11 15:34:34,698][inference][INFO] - + Forward pass throughput: 17.40 (samples/s)
|
18 |
+
[2023-08-11 15:34:34,699][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:34:41,894][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:35:08,550][inference][INFO] - + Generation pass latency: 8.88e+00 (s)
|
21 |
+
[2023-08-11 15:35:08,554][inference][INFO] - + Generation pass throughput: 45.00 (tokens/s)
|
22 |
+
[2023-08-11 15:35:08,554][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:35:08,560][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float16
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 4
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,40833.51552,0.0311,129.0,6.12,131.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/4/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:35:09,107][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:35:09,107][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:35:09,292][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:35:09,292][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:35:09,292][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:35:09,535][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:35:09,559][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:35:09,560][pytorch][INFO] - + Loading pretrained model weights in dtype: float16 on device: cuda
|
9 |
+
[2023-08-11 15:35:19,934][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:35:19,936][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:35:27,605][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:35:27,650][memory_tracker][INFO] - Peak memory usage: 40833.51552 MB
|
13 |
+
[2023-08-11 15:35:27,650][inference][INFO] - + Forward pass peak memory: 40833.51552 (MB)
|
14 |
+
[2023-08-11 15:35:27,651][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:35:28,415][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:36:16,906][inference][INFO] - + Forward pass latency: 3.11e-02 (s)
|
17 |
+
[2023-08-11 15:36:16,907][inference][INFO] - + Forward pass throughput: 129.00 (samples/s)
|
18 |
+
[2023-08-11 15:36:16,907][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:36:23,989][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:36:48,487][inference][INFO] - + Generation pass latency: 6.12e+00 (s)
|
21 |
+
[2023-08-11 15:36:48,490][inference][INFO] - + Generation pass throughput: 131.00 (tokens/s)
|
22 |
+
[2023-08-11 15:36:48,490][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:36:48,497][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float32
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 4
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,31481.266175999997,0.215,18.6,7.71,104.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/5/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:36:48,997][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:36:48,998][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:36:49,182][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:36:49,182][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:36:49,182][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:36:49,286][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:36:49,312][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:36:49,313][pytorch][INFO] - + Loading pretrained model weights in dtype: float32 on device: cuda
|
9 |
+
[2023-08-11 15:37:06,400][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:37:06,401][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:37:14,292][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:37:14,505][memory_tracker][INFO] - Peak memory usage: 31481.266175999997 MB
|
13 |
+
[2023-08-11 15:37:14,505][inference][INFO] - + Forward pass peak memory: 31481.266175999997 (MB)
|
14 |
+
[2023-08-11 15:37:14,510][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:37:21,438][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:38:35,969][inference][INFO] - + Forward pass latency: 2.15e-01 (s)
|
17 |
+
[2023-08-11 15:38:35,971][inference][INFO] - + Forward pass throughput: 18.60 (samples/s)
|
18 |
+
[2023-08-11 15:38:35,972][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:38:43,813][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:39:06,951][inference][INFO] - + Generation pass latency: 7.71e+00 (s)
|
21 |
+
[2023-08-11 15:39:06,955][inference][INFO] - + Generation pass throughput: 104.00 (tokens/s)
|
22 |
+
[2023-08-11 15:39:06,955][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:39:06,961][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float16
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 16
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,43849.220096,0.0974,164.0,6.59,486.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/6/main.log
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:39:07,533][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:39:07,534][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:39:07,717][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:39:07,718][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:39:07,718][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:39:07,961][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:39:07,985][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:39:07,986][pytorch][INFO] - + Loading pretrained model weights in dtype: float16 on device: cuda
|
9 |
+
[2023-08-11 15:39:18,666][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:39:18,668][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:39:26,443][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:39:26,554][memory_tracker][INFO] - Peak memory usage: 43849.220096 MB
|
13 |
+
[2023-08-11 15:39:26,554][inference][INFO] - + Forward pass peak memory: 43849.220096 (MB)
|
14 |
+
[2023-08-11 15:39:26,554][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:39:29,188][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:40:23,336][inference][INFO] - + Forward pass latency: 9.74e-02 (s)
|
17 |
+
[2023-08-11 15:40:23,336][inference][INFO] - + Forward pass throughput: 164.00 (samples/s)
|
18 |
+
[2023-08-11 15:40:23,337][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:40:30,015][inference][INFO] - + Tracking generation latency and throughput
|
20 |
+
[2023-08-11 15:40:56,380][inference][INFO] - + Generation pass latency: 6.59e+00 (s)
|
21 |
+
[2023-08-11 15:40:56,381][inference][INFO] - + Generation pass throughput: 486.00 (tokens/s)
|
22 |
+
[2023-08-11 15:40:56,381][inference][INFO] - Saving inference results
|
23 |
+
[2023-08-11 15:40:56,386][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/7/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: float32
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 20
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 16
|
37 |
+
sequence_length: 200
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 200
|
48 |
+
experiment_name: llama_1gpu_inference
|
49 |
+
model: togethercomputer/LLaMA-2-7B-32K
|
50 |
+
device: cuda
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/llama_1gpu_inference/7/main.log
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:40:57,035][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:40:57,035][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:40:57,232][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type llama
|
4 |
+
[2023-08-11 15:40:57,233][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:40:57,233][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:40:57,482][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:40:57,505][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:40:57,506][pytorch][INFO] - + Loading pretrained model weights in dtype: float32 on device: cuda
|
9 |
+
[2023-08-11 15:41:15,119][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:41:15,121][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:41:23,009][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:41:23,733][memory_tracker][INFO] - Peak memory usage: 35824.467968 MB
|
13 |
+
[2023-08-11 15:41:23,734][inference][INFO] - + Forward pass peak memory: 35824.467968 (MB)
|
14 |
+
[2023-08-11 15:41:23,748][inference][INFO] - + Warming up the forward pass
|
15 |
+
[2023-08-11 15:41:54,685][inference][INFO] - + Tracking forward pass latency and throughput
|
16 |
+
[2023-08-11 15:43:11,935][inference][INFO] - + Forward pass latency: 1.19e+00 (s)
|
17 |
+
[2023-08-11 15:43:11,936][inference][INFO] - + Forward pass throughput: 13.40 (samples/s)
|
18 |
+
[2023-08-11 15:43:11,936][inference][INFO] - + Warming up the generation pass
|
19 |
+
[2023-08-11 15:43:34,896][main][ERROR] - Error during benchmarking: CUDA out of memory. Tried to allocate 96.00 MiB (GPU 0; 79.35 GiB total capacity; 37.73 GiB already allocated; 8.12 MiB free; 39.24 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
|
20 |
+
[2023-08-11 15:43:34,897][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: null
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 10
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 1
|
37 |
+
sequence_length: 16
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 100
|
48 |
+
experiment_name: pytorch_bert_inference
|
49 |
+
model: hf-internal-testing/tiny-random-bert
|
50 |
+
device: cpu
|
51 |
+
task: text-classification
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s)
|
2 |
+
0,460.13235199999997,0.00355,282.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_bert_inference/0/main.log
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:43:39,166][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:43:39,166][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:43:39,372][pytorch][INFO] - + Infered AutoModel class AutoModelForSequenceClassification for task text-classification and model_type bert
|
4 |
+
[2023-08-11 15:43:39,372][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:43:39,372][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:43:39,372][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:43:39,374][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:43:39,374][pytorch][INFO] - + Loading pretrained model weights in dtype: None on device: cpu
|
9 |
+
[2023-08-11 15:43:39,942][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:43:39,942][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:43:40,060][dummy_input][INFO] - Generating dummy input for: ['input_ids', 'attention_mask', 'token_type_ids']
|
12 |
+
[2023-08-11 15:43:40,062][inference][INFO] - + Tracking forward pass peak memory
|
13 |
+
[2023-08-11 15:43:40,107][inference][INFO] - + Forward pass peak memory: 460.13235199999997 (MB)
|
14 |
+
[2023-08-11 15:43:40,108][dummy_input][INFO] - Generating dummy input for: ['input_ids', 'attention_mask', 'token_type_ids']
|
15 |
+
[2023-08-11 15:43:40,110][inference][INFO] - + Warming up the forward pass
|
16 |
+
[2023-08-11 15:43:40,147][inference][INFO] - + Tracking forward pass latency and throughput
|
17 |
+
[2023-08-11 15:43:50,256][inference][INFO] - + Forward pass latency: 3.55e-03 (s)
|
18 |
+
[2023-08-11 15:43:50,257][inference][INFO] - + Forward pass throughput: 282.00 (samples/s)
|
19 |
+
[2023-08-11 15:43:50,258][inference][INFO] - Saving inference results
|
20 |
+
[2023-08-11 15:43:50,269][backend][INFO] - Cleaning backend
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/hydra_config.yaml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
backend:
|
2 |
+
name: pytorch
|
3 |
+
version: 2.0.1+cu117
|
4 |
+
_target_: optimum_benchmark.backends.pytorch.PyTorchBackend
|
5 |
+
inter_op_num_threads: null
|
6 |
+
intra_op_num_threads: null
|
7 |
+
initial_isolation_check: true
|
8 |
+
continous_isolation_check: true
|
9 |
+
delete_cache: false
|
10 |
+
no_weights: false
|
11 |
+
torch_dtype: null
|
12 |
+
device_map: null
|
13 |
+
load_in_8bit: false
|
14 |
+
load_in_4bit: false
|
15 |
+
bettertransformer: false
|
16 |
+
torch_compile: false
|
17 |
+
torch_compile_config:
|
18 |
+
fullgraph: false
|
19 |
+
dynamic: false
|
20 |
+
backend: inductor
|
21 |
+
mode: null
|
22 |
+
options: null
|
23 |
+
disable: false
|
24 |
+
amp_autocast: false
|
25 |
+
amp_dtype: null
|
26 |
+
disable_grad: true
|
27 |
+
eval_mode: true
|
28 |
+
benchmark:
|
29 |
+
name: inference
|
30 |
+
_target_: optimum_benchmark.benchmarks.inference.InferenceBenchmark
|
31 |
+
seed: 42
|
32 |
+
memory: true
|
33 |
+
warmup_runs: 10
|
34 |
+
benchmark_duration: 10
|
35 |
+
input_shapes:
|
36 |
+
batch_size: 1
|
37 |
+
sequence_length: 16
|
38 |
+
num_choices: 4
|
39 |
+
width: 64
|
40 |
+
height: 64
|
41 |
+
num_channels: 3
|
42 |
+
point_batch_size: 3
|
43 |
+
nb_points_per_image: 2
|
44 |
+
feature_size: 80
|
45 |
+
nb_max_frames: 3000
|
46 |
+
audio_sequence_length: 16000
|
47 |
+
new_tokens: 100
|
48 |
+
experiment_name: pytorch_gpt2_inference
|
49 |
+
model: hf-internal-testing/tiny-random-gpt2
|
50 |
+
device: cpu
|
51 |
+
task: text-generation
|
52 |
+
hub_kwargs:
|
53 |
+
revision: main
|
54 |
+
cache_dir: null
|
55 |
+
force_download: false
|
56 |
+
local_files_only: false
|
57 |
+
environment:
|
58 |
+
optimum_version: 1.11.0
|
59 |
+
transformers_version: 4.32.0.dev0
|
60 |
+
accelerate_version: 0.21.0
|
61 |
+
diffusers_version: null
|
62 |
+
python_version: 3.10.12
|
63 |
+
system: Linux
|
64 |
+
cpu: ' Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz'
|
65 |
+
cpu_count: 96
|
66 |
+
cpu_ram_mb: 1204539.797504
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/inference_results.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
,forward.peak_memory(MB),forward.latency(s),forward.throughput(samples/s),generate.latency(s),generate.throughput(tokens/s)
|
2 |
+
0,463.962112,0.00396,253.0,0.518,193.0
|
raw_results/2023-08-11_14:26:45_5e5fa0d88c293e6d5be2517b4f45680ba3bb5df2/pytorch_gpt2_inference/0/main.log
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2023-08-11 15:43:54,032][benchmark][INFO] - Configuring inference benchmark
|
2 |
+
[2023-08-11 15:43:54,033][benchmark][INFO] - + Setting seed(42)
|
3 |
+
[2023-08-11 15:43:54,212][pytorch][INFO] - + Infered AutoModel class AutoModelForCausalLM for task text-generation and model_type gpt2
|
4 |
+
[2023-08-11 15:43:54,212][backend][INFO] - Configuring pytorch backend
|
5 |
+
[2023-08-11 15:43:54,212][backend][INFO] - + Checking initial device isolation
|
6 |
+
[2023-08-11 15:43:54,212][backend][INFO] - + Checking contineous device isolation
|
7 |
+
[2023-08-11 15:43:54,214][pytorch][INFO] - + Disabling gradients
|
8 |
+
[2023-08-11 15:43:54,214][pytorch][INFO] - + Loading pretrained model weights in dtype: None on device: cpu
|
9 |
+
[2023-08-11 15:43:54,880][pytorch][INFO] - + Turning on eval mode
|
10 |
+
[2023-08-11 15:43:54,881][inference][INFO] - Running inference benchmark
|
11 |
+
[2023-08-11 15:43:55,081][inference][INFO] - + Tracking forward pass peak memory
|
12 |
+
[2023-08-11 15:43:55,126][inference][INFO] - + Forward pass peak memory: 463.962112 (MB)
|
13 |
+
[2023-08-11 15:43:55,127][inference][INFO] - + Warming up the forward pass
|
14 |
+
[2023-08-11 15:43:55,158][inference][INFO] - + Tracking forward pass latency and throughput
|
15 |
+
[2023-08-11 15:44:05,252][inference][INFO] - + Forward pass latency: 3.96e-03 (s)
|
16 |
+
[2023-08-11 15:44:05,255][inference][INFO] - + Forward pass throughput: 253.00 (samples/s)
|
17 |
+
[2023-08-11 15:44:05,255][inference][INFO] - + Warming up the generation pass
|
18 |
+
[2023-08-11 15:44:05,815][inference][INFO] - + Tracking generation latency and throughput
|
19 |
+
[2023-08-11 15:44:16,182][inference][INFO] - + Generation pass latency: 5.18e-01 (s)
|
20 |
+
[2023-08-11 15:44:16,183][inference][INFO] - + Generation pass throughput: 193.00 (tokens/s)
|
21 |
+
[2023-08-11 15:44:16,183][inference][INFO] - Saving inference results
|
22 |
+
[2023-08-11 15:44:16,195][backend][INFO] - Cleaning backend
|