
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6238481
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": 790.073344, | |
"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.49018115234375, | |
"mean": 7.49018115234375, | |
"stdev": 0.0, | |
"p50": 7.49018115234375, | |
"p90": 7.49018115234375, | |
"p95": 7.49018115234375, | |
"p99": 7.49018115234375, | |
"values": [ | |
7.49018115234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0911675604165715e-06, | |
"ram": 5.645188580941678e-07, | |
"gpu": 1.7252791580002654e-06, | |
"total": 3.3809655765110048e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.303616, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 0.9948610887527461, | |
"mean": 0.007055752402501748, | |
"stdev": 0.000262493189755061, | |
"p50": 0.0071188478469848635, | |
"p90": 0.007341119766235351, | |
"p95": 0.007464960098266602, | |
"p99": 0.0075413504600524905, | |
"values": [ | |
0.007477280139923096, | |
0.0075345921516418455, | |
0.007541759967803955, | |
0.007464960098266602, | |
0.007540736198425293, | |
0.00748748779296875, | |
0.007341055870056152, | |
0.0073194241523742674, | |
0.007263232231140137, | |
0.007546879768371582, | |
0.007259136199951172, | |
0.007324672222137451, | |
0.007304192066192627, | |
0.007112703800201416, | |
0.007228415966033935, | |
0.007255040168762207, | |
0.007185408115386963, | |
0.0073359360694885255, | |
0.007167136192321778, | |
0.007005184173583984, | |
0.007038047790527344, | |
0.007075808048248291, | |
0.0070553598403930665, | |
0.00709939193725586, | |
0.0073697280883789065, | |
0.007326720237731933, | |
0.007341119766235351, | |
0.007318528175354004, | |
0.006894591808319092, | |
0.006811647891998291, | |
0.006652927875518798, | |
0.006571904182434082, | |
0.006725632190704346, | |
0.0068269758224487305, | |
0.006948863983154297, | |
0.006930431842803955, | |
0.006919167995452881, | |
0.006899712085723877, | |
0.007370687961578369, | |
0.007198719978332519, | |
0.007145472049713135, | |
0.007266304016113281, | |
0.0072468481063842774, | |
0.007184383869171143, | |
0.007197696208953858, | |
0.00719974422454834, | |
0.007132160186767578, | |
0.007013376235961914, | |
0.007134208202362061, | |
0.007074816226959229, | |
0.007139296054840088, | |
0.007155712127685547, | |
0.007093247890472412, | |
0.007160831928253173, | |
0.007277567863464355, | |
0.00727347183227539, | |
0.0073471999168395995, | |
0.007322624206542969, | |
0.007268352031707764, | |
0.0072765440940856935, | |
0.006956031799316406, | |
0.006829055786132812, | |
0.006694911956787109, | |
0.007255040168762207, | |
0.007395328044891358, | |
0.007374847888946533, | |
0.007287807941436767, | |
0.007095295906066895, | |
0.007053311824798584, | |
0.0071905279159545895, | |
0.00719155216217041, | |
0.007124991893768311, | |
0.007135231971740722, | |
0.007174143791198731, | |
0.00712505578994751, | |
0.007262207984924316, | |
0.007169023990631103, | |
0.006996992111206054, | |
0.007078911781311035, | |
0.007114751815795899, | |
0.007159872055053711, | |
0.007120895862579346, | |
0.007166975975036621, | |
0.006990848064422607, | |
0.006879231929779053, | |
0.007244800090789795, | |
0.007261184215545655, | |
0.007275648117065429, | |
0.0072837119102478025, | |
0.006951935768127441, | |
0.0068618240356445315, | |
0.006859776020050049, | |
0.006780928134918213, | |
0.006576128005981445, | |
0.007116799831390381, | |
0.00714137601852417, | |
0.007158783912658692, | |
0.007051263809204102, | |
0.007192575931549072, | |
0.007158783912658692, | |
0.0071188478469848635, | |
0.007077888011932373, | |
0.006987775802612305, | |
0.0069847040176391605, | |
0.007136256217956543, | |
0.007046144008636474, | |
0.006416384220123291, | |
0.00642252779006958, | |
0.006825952053070068, | |
0.006803455829620361, | |
0.007504896163940429, | |
0.007287807941436767, | |
0.007126016139984131, | |
0.007070720195770264, | |
0.007318528175354004, | |
0.007388160228729248, | |
0.007072768211364746, | |
0.006696959972381592, | |
0.006782976150512696, | |
0.006756383895874024, | |
0.006636544227600098, | |
0.006688767910003662, | |
0.0067758078575134275, | |
0.006677504062652588, | |
0.006675456047058105, | |
0.0067717118263244626, | |
0.006646783828735352, | |
0.006643712043762207, | |
0.006760447978973389, | |
0.006726655960083008, | |
0.006610976219177246, | |
0.006730656147003174, | |
0.006707200050354004, | |
0.006710271835327148, | |
0.0066979842185974124, | |
0.006635519981384277, | |
0.006593535900115967, | |
0.0066744318008422855, | |
0.0066282558441162105, | |
0.006605823993682861, | |
0.006718463897705078 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.7283293055226 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.926421086111296e-08, | |
"ram": 4.333384009516443e-08, | |
"gpu": 1.4777419229333502e-07, | |
"total": 2.703722432496124e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3698604.5164287905 | |
} | |
} | |
} | |
} |