IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
28bfd0d verified
raw
history blame
8.95 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "token-classification",
"library": "transformers",
"model_type": "deberta-v2",
"model": "microsoft/deberta-v3-base",
"processor": "microsoft/deberta-v3-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 772.726784,
"max_global_vram": 1403.518976,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4209677734375,
"mean": 7.4209677734375,
"stdev": 0.0,
"p50": 7.4209677734375,
"p90": 7.4209677734375,
"p95": 7.4209677734375,
"p99": 7.4209677734375,
"values": [
7.4209677734375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.0831728972223609e-06,
"ram": 5.775573789914655e-07,
"gpu": 1.6483346519996153e-06,
"total": 3.3090649282134418e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1160.400896,
"max_global_vram": 1434.976256,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 70,
"total": 1.0002083225250242,
"mean": 0.014288690321786063,
"stdev": 0.0006954016103874884,
"p50": 0.014110208034515381,
"p90": 0.01501501407623291,
"p95": 0.015175321626663208,
"p99": 0.016693934440612793,
"values": [
0.015195136070251464,
0.014865407943725586,
0.014793760299682617,
0.014758912086486817,
0.01477836799621582,
0.014656512260437012,
0.01467801570892334,
0.014005184173583984,
0.01436569595336914,
0.013953023910522461,
0.014104576110839843,
0.014115839958190919,
0.014096384048461913,
0.014031871795654297,
0.014033920288085937,
0.01701683235168457,
0.014718976020812988,
0.014957568168640138,
0.014757887840270996,
0.015015935897827149,
0.0149616641998291,
0.014870528221130372,
0.014709759712219238,
0.015025152206420898,
0.014935040473937988,
0.014577695846557617,
0.014647295951843262,
0.015014911651611328,
0.014686207771301269,
0.014708736419677734,
0.014833663940429688,
0.015151103973388673,
0.014407679557800293,
0.01427455997467041,
0.014203904151916504,
0.013963264465332031,
0.014116864204406738,
0.013940735816955567,
0.01400115203857422,
0.013850624084472657,
0.013766655921936035,
0.014394368171691894,
0.01465446376800537,
0.01488486385345459,
0.016548864364624022,
0.015258560180664063,
0.013929471969604493,
0.013859840393066406,
0.013660160064697266,
0.013678591728210449,
0.013690879821777344,
0.013529088020324707,
0.013508607864379883,
0.013526016235351563,
0.013596672058105469,
0.013586432456970214,
0.013562879562377929,
0.013600768089294434,
0.013459456443786622,
0.01359769630432129,
0.013560832023620606,
0.013521920204162598,
0.013579263687133789,
0.01358028793334961,
0.013706239700317382,
0.013529088020324707,
0.013480959892272949,
0.013633536338806153,
0.013667327880859375,
0.013874176025390626
]
},
"throughput": {
"unit": "samples/s",
"value": 69.98542046049478
},
"energy": {
"unit": "kWh",
"cpu": 1.7072146127976422e-07,
"ram": 9.330540257870173e-08,
"gpu": 3.4908361260000005e-07,
"total": 6.13110476458466e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1631027.4222948188
}
}
}
}