
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c523b6b
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-211.872.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.1", | |
"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": 791.179264, | |
"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.41557470703125, | |
"mean": 7.41557470703125, | |
"stdev": 0.0, | |
"p50": 7.41557470703125, | |
"p90": 7.41557470703125, | |
"p95": 7.41557470703125, | |
"p99": 7.41557470703125, | |
"values": [ | |
7.41557470703125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0591699124997294e-06, | |
"ram": 5.609054799337031e-07, | |
"gpu": 1.7961125480005224e-06, | |
"total": 3.4161879404339548e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1081.114624, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.0001531200408942, | |
"mean": 0.006994077762523732, | |
"stdev": 0.00023248259720239556, | |
"p50": 0.007058432102203369, | |
"p90": 0.007220633697509766, | |
"p95": 0.007315660715103149, | |
"p99": 0.007699845323562625, | |
"values": [ | |
0.007299071788787842, | |
0.007365568161010742, | |
0.007355391979217529, | |
0.007328767776489258, | |
0.007277567863464355, | |
0.007237631797790528, | |
0.007155712127685547, | |
0.007156735897064209, | |
0.007136256217956543, | |
0.007073791980743408, | |
0.007163904190063477, | |
0.007124991893768311, | |
0.007077888011932373, | |
0.0070225920677185055, | |
0.007076863765716553, | |
0.007091231822967529, | |
0.007139328002929687, | |
0.0071526398658752445, | |
0.007135263919830322, | |
0.007174143791198731, | |
0.007113728046417236, | |
0.007078911781311035, | |
0.00709935998916626, | |
0.007162879943847656, | |
0.0071495680809020995, | |
0.007122943878173828, | |
0.007131135940551757, | |
0.007108607769012451, | |
0.007073791980743408, | |
0.007070720195770264, | |
0.007101439952850342, | |
0.007135231971740722, | |
0.007124991893768311, | |
0.007045119762420654, | |
0.0069918718338012695, | |
0.007016448020935059, | |
0.006999040126800537, | |
0.007068672180175781, | |
0.007035903930664063, | |
0.007071743965148926, | |
0.007790592193603516, | |
0.00719155216217041, | |
0.007221248149871826, | |
0.008096768379211425, | |
0.007142399787902832, | |
0.007151616096496582, | |
0.006978559970855713, | |
0.007574528217315674, | |
0.00733903980255127, | |
0.007173120021820068, | |
0.007110655784606934, | |
0.006800384044647217, | |
0.006848512172698974, | |
0.007198719978332519, | |
0.007006207942962647, | |
0.007093247890472412, | |
0.007076863765716553, | |
0.007080959796905518, | |
0.007207935810089112, | |
0.0070522880554199216, | |
0.007101439952850342, | |
0.007090176105499267, | |
0.007070720195770264, | |
0.007111680030822754, | |
0.007129087924957276, | |
0.00709939193725586, | |
0.007120895862579346, | |
0.00724889612197876, | |
0.00727347183227539, | |
0.007218175888061523, | |
0.0072540159225463864, | |
0.007185408115386963, | |
0.007144447803497315, | |
0.0073175039291381834, | |
0.00707583999633789, | |
0.0071485438346862796, | |
0.007128064155578613, | |
0.007020544052124023, | |
0.007032832145690918, | |
0.006875135898590088, | |
0.00687820816040039, | |
0.007072768211364746, | |
0.006966271877288818, | |
0.006767615795135498, | |
0.006726655960083008, | |
0.006732800006866455, | |
0.006795263767242431, | |
0.0070256638526916505, | |
0.006969344139099121, | |
0.007071743965148926, | |
0.007058432102203369, | |
0.007174143791198731, | |
0.00709939193725586, | |
0.0069816322326660156, | |
0.00679423999786377, | |
0.006756351947784424, | |
0.006687744140625, | |
0.006719488143920899, | |
0.006752255916595459, | |
0.006711296081542969, | |
0.0067573761940002445, | |
0.006738944053649902, | |
0.0067573761940002445, | |
0.006713344097137451, | |
0.006737919807434082, | |
0.006776832103729248, | |
0.006706175804138184, | |
0.006715360164642334, | |
0.006723584175109864, | |
0.006707200050354004, | |
0.006721536159515381, | |
0.006755328178405762, | |
0.006732800006866455, | |
0.006749184131622315, | |
0.0069253120422363285, | |
0.006795263767242431, | |
0.0067276802062988285, | |
0.006732800006866455, | |
0.0067686400413513184, | |
0.00672051191329956, | |
0.006730751991271973, | |
0.006730751991271973, | |
0.006692863941192627, | |
0.006700032234191895, | |
0.006729728221893311, | |
0.006694911956787109, | |
0.0067358717918396, | |
0.006719488143920899, | |
0.006690815925598144, | |
0.00672979211807251, | |
0.006729728221893311, | |
0.006743040084838867, | |
0.006700032234191895, | |
0.006715392112731934, | |
0.006748159885406494, | |
0.006871071815490723, | |
0.006747136116027832, | |
0.006760447978973389, | |
0.006721536159515381, | |
0.006907904148101806, | |
0.007064544200897217, | |
0.006833151817321777, | |
0.006722559928894043 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.97810718638073 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.766841273147549e-08, | |
"ram": 4.246705309345686e-08, | |
"gpu": 1.5462249116339205e-07, | |
"total": 2.747579569883244e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3639567.0245957393 | |
} | |
} | |
} | |
} |