IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
b61756b verified
raw
history blame
8.98 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.11",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 819.191808,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.08269004821777344
],
"count": 1,
"total": 0.08269004821777344,
"mean": 0.08269004821777344,
"p50": 0.08269004821777344,
"p90": 0.08269004821777344,
"p95": 0.08269004821777344,
"p99": 0.08269004821777344,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010685589125069418,
"ram": 5.853994825468139e-05,
"gpu": 0.00014162066885200098,
"total": 0.00030701650835737656
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1206.718464,
"max_global_vram": 1444.41344,
"max_process_vram": 0.0,
"max_reserved": 796.91776,
"max_allocated": 757.115392
},
"latency": {
"unit": "s",
"values": [
0.015540224075317383,
0.015228927612304688,
0.015244288444519043,
0.015028223991394044,
0.015035360336303712,
0.015002623558044433,
0.015261695861816407,
0.015759360313415526,
0.01523305606842041,
0.015259648323059082,
0.015233023643493653,
0.015287296295166015,
0.015351807594299317,
0.015540224075317383,
0.01574502372741699,
0.015555583953857421,
0.01601126480102539,
0.01550540828704834,
0.01557091236114502,
0.015303680419921875,
0.01506611156463623,
0.01539072036743164,
0.0157327356338501,
0.01600307273864746,
0.015729663848876953,
0.01510912036895752,
0.015139840126037597,
0.01500876808166504,
0.015001664161682129,
0.0148787202835083,
0.01520844841003418,
0.015436736106872559,
0.01583929634094238,
0.015988736152648925,
0.015523839950561523,
0.015491071701049805,
0.015455231666564942,
0.01531289577484131,
0.014543871879577636,
0.014578687667846679,
0.01457862377166748,
0.014672896385192872,
0.0148787841796875,
0.014568384170532227,
0.014656512260437012,
0.014559231758117675,
0.014490592002868652,
0.01454694366455078,
0.01452444839477539,
0.01448857593536377,
0.01458073616027832,
0.014655488014221191,
0.014500864028930664,
0.014511103630065919,
0.014459903717041016,
0.014484479904174804,
0.014460927963256836,
0.014535679817199706,
0.01444764804840088,
0.014466048240661621,
0.014619647979736328,
0.014618623733520507,
0.014575615882873535,
0.01452236843109131,
0.014477312088012695,
0.014458880424499512,
0.014455807685852052
],
"count": 67,
"total": 1.0069329948425292,
"mean": 0.015028850669291483,
"p50": 0.015028223991394044,
"p90": 0.015730892562866212,
"p95": 0.015815315532684324,
"p99": 0.016005858039855957,
"stdev": 0.0004790843362023249,
"stdev_": 3.187764299110643
},
"throughput": {
"unit": "samples/s",
"value": 133.07737524377754
},
"energy": {
"unit": "kWh",
"cpu": 1.826045508333522e-07,
"ram": 9.977745522023566e-08,
"gpu": 4.1820973627693e-07,
"total": 7.005917423305178e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2854729.622343252
}
}
}
}