IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
802eb78 verified
raw
history blame
12.2 kB
{
"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.138304,
"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.4244169921875,
"mean": 7.4244169921875,
"stdev": 0.0,
"p50": 7.4244169921875,
"p90": 7.4244169921875,
"p95": 7.4244169921875,
"p99": 7.4244169921875,
"values": [
7.4244169921875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.1297411270832294e-06,
"ram": 5.725995632654777e-07,
"gpu": 1.937779327999302e-06,
"total": 3.640120018348009e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1080.25856,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 508.993024
},
"latency": {
"unit": "s",
"count": 148,
"total": 0.999428894042969,
"mean": 0.006752897932722762,
"stdev": 0.0002872177567960461,
"p50": 0.0067179520130157475,
"p90": 0.006923235034942627,
"p95": 0.007543756866455078,
"p99": 0.007942860708236694,
"values": [
0.0075632638931274416,
0.007552000045776367,
0.007715839862823487,
0.007516160011291504,
0.007528448104858398,
0.007894015789031983,
0.006737919807434082,
0.006920191764831543,
0.006843391895294189,
0.0067348480224609375,
0.0067717118263244626,
0.007166975975036621,
0.00757862377166748,
0.006802432060241699,
0.006755328178405762,
0.0067717118263244626,
0.006748095989227295,
0.006709248065948486,
0.006744063854217529,
0.00694271993637085,
0.008062975883483887,
0.007986176013946533,
0.006946815967559815,
0.006802432060241699,
0.006829055786132812,
0.006842368125915528,
0.0067051520347595215,
0.006658048152923584,
0.006563839912414551,
0.006434815883636475,
0.006456287860870361,
0.0064737281799316405,
0.006458367824554443,
0.0067123198509216305,
0.006788095951080322,
0.006724607944488525,
0.006719488143920899,
0.00674508810043335,
0.006696959972381592,
0.006751264095306396,
0.006779903888702392,
0.006701087951660157,
0.00674399995803833,
0.00675328016281128,
0.006744063854217529,
0.006653952121734619,
0.006621183872222901,
0.006460415840148926,
0.0065146880149841305,
0.0065710082054138185,
0.0064471039772033695,
0.006492224216461182,
0.006486015796661377,
0.0064767999649047855,
0.006501376152038574,
0.006591487884521485,
0.006647808074951172,
0.006677504062652588,
0.006529024124145508,
0.006463488101959228,
0.006491136074066162,
0.006843391895294189,
0.006770688056945801,
0.006711296081542969,
0.0065484800338745115,
0.006466559886932373,
0.006498303890228272,
0.0065617280006408695,
0.006773759841918945,
0.006756351947784424,
0.006699007987976074,
0.006750207901000976,
0.006731776237487793,
0.006738944053649902,
0.00669593620300293,
0.006725632190704346,
0.0067338237762451176,
0.0066979842185974124,
0.007721983909606934,
0.006964223861694336,
0.006716415882110595,
0.006795263767242431,
0.006708223819732666,
0.0067348480224609375,
0.006667263984680176,
0.006739967823028564,
0.0067348480224609375,
0.006689792156219483,
0.006765567779541016,
0.006703104019165039,
0.006734911918640137,
0.006668320178985596,
0.006758399963378906,
0.0067348480224609375,
0.006726655960083008,
0.006746111869812011,
0.006730751991271973,
0.006694911956787109,
0.006740992069244385,
0.006759424209594727,
0.006771647930145263,
0.006744063854217529,
0.006648831844329834,
0.006699007987976074,
0.006719488143920899,
0.006647808074951172,
0.006608895778656006,
0.006643712043762207,
0.006692863941192627,
0.006621183872222901,
0.00672870397567749,
0.006692863941192627,
0.006672383785247803,
0.006648831844329834,
0.006666240215301514,
0.006716415882110595,
0.006497280120849609,
0.006608895778656006,
0.006535168170928955,
0.006520832061767578,
0.0065474557876586915,
0.006582240104675293,
0.006783936023712158,
0.006729728221893311,
0.0066713600158691405,
0.006752255916595459,
0.006751232147216797,
0.00672051191329956,
0.006691840171813965,
0.006731776237487793,
0.006510591983795166,
0.0066007041931152345,
0.006700032234191895,
0.006672383785247803,
0.0066078720092773435,
0.006529024124145508,
0.006500351905822754,
0.006519807815551758,
0.006565887928009034,
0.006550528049468994,
0.006930335998535157,
0.00672870397567749,
0.006732800006866455,
0.0066979842185974124,
0.006726655960083008,
0.006762495994567871,
0.006666272163391113,
0.0067358717918396
]
},
"throughput": {
"unit": "samples/s",
"value": 148.08457198120288
},
"energy": {
"unit": "kWh",
"cpu": 7.746866691468165e-08,
"ram": 4.221024455751681e-08,
"gpu": 1.5559536257143593e-07,
"total": 2.752742740436344e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3632740.4857363733
}
}
}
}