
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
af09104
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-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.33.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": 789.815296, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.374962890625, | |
"mean": 7.374962890625, | |
"stdev": 0.0, | |
"p50": 7.374962890625, | |
"p90": 7.374962890625, | |
"p95": 7.374962890625, | |
"p99": 7.374962890625, | |
"values": [ | |
7.374962890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1322530187498674e-06, | |
"ram": 5.622907074425664e-07, | |
"gpu": 1.7847236500000661e-06, | |
"total": 3.4792673761924998e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.693888, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9983866519927982, | |
"mean": 0.0068854251861572265, | |
"stdev": 0.00023652851343929478, | |
"p50": 0.006847487926483154, | |
"p90": 0.007153478336334228, | |
"p95": 0.007219404697418212, | |
"p99": 0.0076377844810485845, | |
"values": [ | |
0.007063551902770996, | |
0.007090176105499267, | |
0.007037951946258545, | |
0.007046112060546875, | |
0.0070256638526916505, | |
0.007019519805908203, | |
0.006894591808319092, | |
0.006863872051239014, | |
0.006917119979858399, | |
0.0068577280044555666, | |
0.006831103801727295, | |
0.006908927917480469, | |
0.0068986878395080565, | |
0.007245823860168457, | |
0.007390207767486572, | |
0.0068577280044555666, | |
0.006904831886291504, | |
0.007216127872467041, | |
0.007782400131225586, | |
0.0072202239036560055, | |
0.007120895862579346, | |
0.007151616096496582, | |
0.007097343921661377, | |
0.007130112171173096, | |
0.007132160186767578, | |
0.006847487926483154, | |
0.007087135791778564, | |
0.007142399787902832, | |
0.007139328002929687, | |
0.007070720195770264, | |
0.007117824077606201, | |
0.007176191806793213, | |
0.007131135940551757, | |
0.007160831928253173, | |
0.0067758078575134275, | |
0.006806528091430664, | |
0.0067942080497741695, | |
0.006833151817321777, | |
0.006803455829620361, | |
0.006882304191589355, | |
0.006812672138214112, | |
0.006776832103729248, | |
0.006833151817321777, | |
0.0068884482383728025, | |
0.0068904318809509275, | |
0.006860799789428711, | |
0.006920191764831543, | |
0.007101439952850342, | |
0.007078911781311035, | |
0.006842368125915528, | |
0.006888383865356445, | |
0.006882304191589355, | |
0.006840320110321045, | |
0.006867968082427979, | |
0.006860799789428711, | |
0.006782976150512696, | |
0.006760447978973389, | |
0.006899712085723877, | |
0.006815743923187256, | |
0.0073175039291381834, | |
0.0068884482383728025, | |
0.007087103843688965, | |
0.007802879810333252, | |
0.007453728199005127, | |
0.007142399787902832, | |
0.007097343921661377, | |
0.007076863765716553, | |
0.007134208202362061, | |
0.007159808158874512, | |
0.007161888122558593, | |
0.007126016139984131, | |
0.007160831928253173, | |
0.007154719829559326, | |
0.007135231971740722, | |
0.007103487968444824, | |
0.007066624164581299, | |
0.006852672100067138, | |
0.0067758398056030275, | |
0.00682700777053833, | |
0.006788095951080322, | |
0.006736927986145019, | |
0.006712287902832031, | |
0.0065781760215759275, | |
0.006668288230895996, | |
0.006760447978973389, | |
0.006584320068359375, | |
0.006502399921417237, | |
0.006474688053131104, | |
0.006461440086364746, | |
0.006557695865631104, | |
0.00693452787399292, | |
0.006971392154693603, | |
0.007013376235961914, | |
0.007023615837097168, | |
0.007102464199066162, | |
0.007031807899475098, | |
0.007233535766601563, | |
0.006980607986450196, | |
0.006715392112731934, | |
0.0066416640281677245, | |
0.006800447940826416, | |
0.0068055038452148435, | |
0.006690815925598144, | |
0.006762495994567871, | |
0.006770688056945801, | |
0.006759391784667969, | |
0.006783999919891357, | |
0.006740992069244385, | |
0.00672051191329956, | |
0.0067348480224609375, | |
0.006739967823028564, | |
0.006737919807434082, | |
0.006692863941192627, | |
0.006749248027801514, | |
0.006732800006866455, | |
0.006680575847625733, | |
0.006740992069244385, | |
0.006714367866516113, | |
0.006724544048309326, | |
0.006715392112731934, | |
0.0067338237762451176, | |
0.006709248065948486, | |
0.0067051520347595215, | |
0.00674508810043335, | |
0.006716415882110595, | |
0.006468607902526856, | |
0.0064726719856262206, | |
0.006487040042877197, | |
0.0064542717933654785, | |
0.006458367824554443, | |
0.006423552036285401, | |
0.0064737281799316405, | |
0.006568960189819336, | |
0.0067041277885437015, | |
0.006913023948669434, | |
0.006969344139099121, | |
0.006688767910003662, | |
0.0067358717918396, | |
0.006711296081542969, | |
0.0067041277885437015, | |
0.006706175804138184, | |
0.006732800006866455, | |
0.006791168212890625, | |
0.00669593620300293, | |
0.006744063854217529 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.23431349024688 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.735764938271701e-08, | |
"ram": 4.229026512369158e-08, | |
"gpu": 1.4308653422222266e-07, | |
"total": 2.6273444872863125e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3806124.415123284 | |
} | |
} | |
} | |
} |