IlyasMoutawwakil's picture
Upload cuda_inference_transformers_token-classification_microsoft/deberta-v3-base/benchmark.json with huggingface_hub
01c5c59 verified
raw
history blame
8.89 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.225-213.878.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",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 801.931264,
"max_global_vram": 1410.859008,
"max_process_vram": 0.0,
"max_reserved": 773.849088,
"max_allocated": 736.603648
},
"latency": {
"unit": "s",
"values": [
0.207457275390625
],
"count": 1,
"total": 0.207457275390625,
"mean": 0.207457275390625,
"p50": 0.207457275390625,
"p90": 0.207457275390625,
"p95": 0.207457275390625,
"p99": 0.207457275390625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1191.05536,
"max_global_vram": 1442.316288,
"max_process_vram": 0.0,
"max_reserved": 794.820608,
"max_allocated": 753.606656
},
"latency": {
"unit": "s",
"values": [
0.014302176475524902,
0.014225407600402832,
0.013579263687133789,
0.013576255798339844,
0.013517824172973633,
0.013544447898864746,
0.013616095542907715,
0.014292991638183594,
0.014143487930297852,
0.0135731201171875,
0.016706560134887697,
0.017059839248657227,
0.014029824256896972,
0.014445568084716797,
0.014140416145324707,
0.014002176284790039,
0.013947903633117676,
0.014005248069763183,
0.01425715160369873,
0.013892607688903809,
0.014027775764465332,
0.014433247566223145,
0.014160896301269531,
0.014135295867919923,
0.014397503852844239,
0.014414848327636719,
0.014254079818725587,
0.0140830717086792,
0.013913087844848633,
0.014214143753051758,
0.013931520462036133,
0.01397555160522461,
0.013858847618103028,
0.013808639526367187,
0.01398681640625,
0.014543871879577636,
0.014593024253845215,
0.014508031845092773,
0.014188544273376465,
0.014068672180175781,
0.01409945583343506,
0.014006272315979004,
0.014096351623535156,
0.014043135643005371,
0.013981696128845214,
0.013542400360107423,
0.013484095573425293,
0.01349836826324463,
0.013538304328918458,
0.013505536079406738,
0.013503487586975099,
0.013489151954650879,
0.013451264381408692,
0.013451264381408692,
0.013527039527893067,
0.013559807777404785,
0.014137344360351562,
0.01410972785949707,
0.014090239524841308,
0.014038016319274902,
0.014432255744934081,
0.014347264289855957,
0.01358847999572754,
0.01348300838470459,
0.0134901762008667,
0.013495295524597169,
0.013463552474975587,
0.013502431869506835,
0.013490143775939942,
0.01346457576751709,
0.013528063774108886,
0.013460479736328124
],
"count": 72,
"total": 1.0072545242309567,
"mean": 0.013989646169874402,
"p50": 0.01399449634552002,
"p90": 0.014430515003204344,
"p95": 0.014524159860610961,
"p99": 0.016809011077880864,
"stdev": 0.0005971992157420038,
"stdev_": 4.268865763224413
},
"throughput": {
"unit": "samples/s",
"value": 71.48143618910255
},
"energy": {
"unit": "kWh",
"cpu": 1.6783916182511552e-07,
"ram": 9.136675478612259e-08,
"gpu": 3.5564191205632957e-07,
"total": 6.148478286675676e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 1626418.689917297
}
}
}
}