
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d198e55
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 720.912384, | |
"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.1954208984375, | |
"mean": 7.1954208984375, | |
"stdev": 0.0, | |
"p50": 7.1954208984375, | |
"p90": 7.1954208984375, | |
"p95": 7.1954208984375, | |
"p99": 7.1954208984375, | |
"values": [ | |
7.1954208984375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0460754235585531e-06, | |
"ram": 5.571498782770353e-07, | |
"gpu": 1.6361124199996968e-06, | |
"total": 3.239337721835285e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 914.178048, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9999572782516479, | |
"mean": 0.006666381855010986, | |
"stdev": 0.00021209311649014986, | |
"p50": 0.006728704214096069, | |
"p90": 0.0069152767658233645, | |
"p95": 0.006994687938690185, | |
"p99": 0.0071019827938079835, | |
"values": [ | |
0.007103487968444824, | |
0.00710041618347168, | |
0.007043136119842529, | |
0.006957056045532227, | |
0.00693452787399292, | |
0.006552576065063476, | |
0.006553599834442139, | |
0.0065146880149841305, | |
0.006831103801727295, | |
0.006778880119323731, | |
0.006958079814910889, | |
0.006872064113616944, | |
0.006806528091430664, | |
0.006869952201843262, | |
0.006722559928894043, | |
0.0068577280044555666, | |
0.006803455829620361, | |
0.006881279945373535, | |
0.006845471858978272, | |
0.006784959793090821, | |
0.006770688056945801, | |
0.006752255916595459, | |
0.006726655960083008, | |
0.0068055038452148435, | |
0.006860799789428711, | |
0.0068280320167541505, | |
0.006833151817321777, | |
0.0068577280044555666, | |
0.007015423774719238, | |
0.0065474557876586915, | |
0.006752255916595459, | |
0.007015423774719238, | |
0.006799359798431396, | |
0.006831103801727295, | |
0.006717440128326416, | |
0.006740992069244385, | |
0.00679423999786377, | |
0.006773759841918945, | |
0.006765567779541016, | |
0.006754303932189941, | |
0.006778880119323731, | |
0.00677785587310791, | |
0.006792191982269287, | |
0.007048192024230957, | |
0.00686678409576416, | |
0.006861728191375732, | |
0.006816768169403077, | |
0.006706175804138184, | |
0.0067348480224609375, | |
0.006755328178405762, | |
0.006804480075836182, | |
0.006750207901000976, | |
0.006830080032348633, | |
0.006849535942077637, | |
0.006791168212890625, | |
0.006779903888702392, | |
0.006866879940032959, | |
0.006815743923187256, | |
0.006808576107025147, | |
0.006946815967559815, | |
0.00667955207824707, | |
0.006754303932189941, | |
0.006789120197296142, | |
0.006746111869812011, | |
0.006819839954376221, | |
0.006726655960083008, | |
0.00677785587310791, | |
0.006860799789428711, | |
0.006969344139099121, | |
0.007265279769897461, | |
0.0068986878395080565, | |
0.007035903930664063, | |
0.006804480075836182, | |
0.006813695907592773, | |
0.006882304191589355, | |
0.006779903888702392, | |
0.006729728221893311, | |
0.006917119979858399, | |
0.0067358717918396, | |
0.006668288230895996, | |
0.006589407920837402, | |
0.006662144184112549, | |
0.0067276802062988285, | |
0.006689792156219483, | |
0.00638976001739502, | |
0.006402048110961914, | |
0.006645760059356689, | |
0.006448128223419189, | |
0.006737919807434082, | |
0.00673689603805542, | |
0.006838272094726563, | |
0.00679423999786377, | |
0.006915071964263916, | |
0.006918079853057861, | |
0.0067226881980895995, | |
0.006525951862335205, | |
0.006510591983795166, | |
0.006492224216461182, | |
0.006516736030578613, | |
0.006461440086364746, | |
0.006411231994628906, | |
0.006638591766357422, | |
0.00648089599609375, | |
0.006400000095367431, | |
0.00648089599609375, | |
0.006512639999389648, | |
0.006636544227600098, | |
0.006387712001800537, | |
0.006394879817962646, | |
0.006402048110961914, | |
0.006457344055175781, | |
0.006448128223419189, | |
0.006432767868041992, | |
0.006457344055175781, | |
0.006405119895935059, | |
0.006352896213531494, | |
0.0063640961647033695, | |
0.006379519939422608, | |
0.006403071880340576, | |
0.006395904064178467, | |
0.006342720031738281, | |
0.006420608043670654, | |
0.006583295822143555, | |
0.006344736099243164, | |
0.0063836159706115725, | |
0.0066078720092773435, | |
0.006358016014099121, | |
0.006432767868041992, | |
0.0063610877990722655, | |
0.006344704151153564, | |
0.0063610877990722655, | |
0.006337535858154297, | |
0.006420351982116699, | |
0.006452223777770996, | |
0.006411263942718506, | |
0.006417439937591553, | |
0.006419456005096436, | |
0.006448128223419189, | |
0.006427648067474365, | |
0.006342656135559082, | |
0.006631423950195312, | |
0.0064430079460144046, | |
0.00643891191482544, | |
0.006470655918121338, | |
0.0064471039772033695, | |
0.006415359973907471, | |
0.006400000095367431, | |
0.006401023864746094, | |
0.006392831802368164, | |
0.00638259220123291 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.00640853603667 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.540105992990104e-08, | |
"ram": 4.122590335366896e-08, | |
"gpu": 1.3990280123566677e-07, | |
"total": 2.565297645192368e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3898183.1284728423 | |
} | |
} | |
} | |
} |