IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
9c98ef6 verified
raw
history blame
8.91 kB
{
"config": {
"name": "cuda_inference_transformers_token-classification_microsoft/deberta-v3-base",
"backend": {
"name": "pytorch",
"version": "2.4.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": 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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 795.50464,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.95112744140625,
"mean": 7.95112744140625,
"stdev": 0.0,
"p50": 7.95112744140625,
"p90": 7.95112744140625,
"p95": 7.95112744140625,
"p99": 7.95112744140625,
"values": [
7.95112744140625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3798059520939004e-06,
"ram": 1.285777990804005e-06,
"gpu": 3.418336067984029e-06,
"total": 7.0839200108819345e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1184.74752,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"count": 69,
"total": 1.0089793586730957,
"mean": 0.014622889256131822,
"stdev": 0.00045476511138591117,
"p50": 0.014667776107788086,
"p90": 0.015057100677490234,
"p95": 0.015256985664367676,
"p99": 0.01619943367004394,
"values": [
0.01656012725830078,
0.016029695510864257,
0.014651391983032227,
0.01406668758392334,
0.014056447982788087,
0.014287872314453125,
0.013990912437438965,
0.013956095695495606,
0.014318592071533203,
0.014733311653137206,
0.014834624290466308,
0.014707743644714355,
0.015078399658203125,
0.01487667179107666,
0.01480294418334961,
0.014783488273620606,
0.014812159538269042,
0.014619647979736328,
0.014800959587097168,
0.014743552207946778,
0.014716032028198243,
0.014854144096374512,
0.015028223991394044,
0.01498316764831543,
0.014698495864868164,
0.015051775932312012,
0.014879743576049804,
0.014768128395080566,
0.01460223960876465,
0.014706687927246094,
0.01527500820159912,
0.014676992416381835,
0.0147957763671875,
0.014639103889465332,
0.014844927787780762,
0.015229951858520508,
0.015203328132629394,
0.014737407684326171,
0.014737471580505371,
0.014949376106262208,
0.014606335639953612,
0.014593024253845215,
0.014616576194763184,
0.014667776107788086,
0.014687264442443847,
0.014797823905944824,
0.015005696296691894,
0.015354880332946777,
0.014434304237365723,
0.014243840217590332,
0.014269503593444824,
0.014202879905700684,
0.014247936248779297,
0.014262271881103515,
0.01416806411743164,
0.01415167999267578,
0.014197759628295899,
0.014140416145324707,
0.014139391899108887,
0.014314496040344238,
0.014216192245483398,
0.014164992332458496,
0.01414355182647705,
0.01448857593536377,
0.014188544273376465,
0.014128128051757812,
0.014004287719726562,
0.01422640037536621,
0.014227456092834472
]
},
"throughput": {
"unit": "samples/s",
"value": 68.38593813330492
},
"energy": {
"unit": "kWh",
"cpu": 1.681086723479219e-07,
"ram": 9.176583722408403e-08,
"gpu": 3.877546138033406e-07,
"total": 6.476291233753466e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1544093.62381381
}
}
}
}