
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
629b7b2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.224-212.876.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.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 799.37536, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.05483642578125, | |
"mean": 8.05483642578125, | |
"stdev": 0.0, | |
"p50": 8.05483642578125, | |
"p90": 8.05483642578125, | |
"p95": 8.05483642578125, | |
"p99": 8.05483642578125, | |
"values": [ | |
8.05483642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.447380963889777e-06, | |
"ram": 1.3223309757688212e-06, | |
"gpu": 3.5416694999998444e-06, | |
"total": 7.311381439658442e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1088.790528, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9955541753768921, | |
"mean": 0.006865890864668222, | |
"stdev": 0.0002202616134379557, | |
"p50": 0.006813600063323975, | |
"p90": 0.007144243144989014, | |
"p95": 0.0072032767295837396, | |
"p99": 0.0075092377662658695, | |
"values": [ | |
0.007230463981628418, | |
0.007292928218841553, | |
0.007181312084197998, | |
0.006882304191589355, | |
0.006927360057830811, | |
0.00683622407913208, | |
0.0068321280479431154, | |
0.006737919807434082, | |
0.006791168212890625, | |
0.006756351947784424, | |
0.006685696125030518, | |
0.006756351947784424, | |
0.006779903888702392, | |
0.006806528091430664, | |
0.006690815925598144, | |
0.006721536159515381, | |
0.00667855978012085, | |
0.00669593620300293, | |
0.00675328016281128, | |
0.00675328016281128, | |
0.006801407814025879, | |
0.00687718391418457, | |
0.007161856174468994, | |
0.007072768211364746, | |
0.007147520065307617, | |
0.007307263851165771, | |
0.007073791980743408, | |
0.007142399787902832, | |
0.00710041618347168, | |
0.007016448020935059, | |
0.00702675199508667, | |
0.007017471790313721, | |
0.007062528133392334, | |
0.00698367977142334, | |
0.006993855953216553, | |
0.006999040126800537, | |
0.007014400005340577, | |
0.007005184173583984, | |
0.0067123198509216305, | |
0.006814655780792237, | |
0.006964223861694336, | |
0.007054336071014404, | |
0.006986752033233643, | |
0.007008255958557129, | |
0.006990848064422607, | |
0.007043039798736573, | |
0.006722559928894043, | |
0.00676966381072998, | |
0.006765567779541016, | |
0.007435264110565186, | |
0.007145472049713135, | |
0.0071188478469848635, | |
0.0075673599243164065, | |
0.007067647933959961, | |
0.007206975936889648, | |
0.006986752033233643, | |
0.007177216053009033, | |
0.007132160186767578, | |
0.007110655784606934, | |
0.006744063854217529, | |
0.006766592025756836, | |
0.006797311782836914, | |
0.006721536159515381, | |
0.006654975891113281, | |
0.006690815925598144, | |
0.007126016139984131, | |
0.0069632000923156735, | |
0.007108607769012451, | |
0.007188479900360107, | |
0.006968319892883301, | |
0.007165952205657959, | |
0.007014400005340577, | |
0.006982656002044678, | |
0.007002143859863281, | |
0.006952960014343262, | |
0.0069283838272094726, | |
0.006994944095611572, | |
0.007080959796905518, | |
0.0070563840866088865, | |
0.006813600063323975, | |
0.006830080032348633, | |
0.006780928134918213, | |
0.006694911956787109, | |
0.0070860800743103025, | |
0.00738099193572998, | |
0.007715839862823487, | |
0.006937600135803222, | |
0.006998015880584717, | |
0.006968319892883301, | |
0.006914048194885254, | |
0.006825984001159668, | |
0.00667955207824707, | |
0.006916096210479736, | |
0.006884352207183838, | |
0.0067021121978759765, | |
0.00657203197479248, | |
0.006609920024871826, | |
0.006795263767242431, | |
0.00690176010131836, | |
0.006921120166778564, | |
0.006787007808685303, | |
0.006761472225189209, | |
0.0069253120422363285, | |
0.006998015880584717, | |
0.006726655960083008, | |
0.006621183872222901, | |
0.006677504062652588, | |
0.006648831844329834, | |
0.006909952163696289, | |
0.00679423999786377, | |
0.006694911956787109, | |
0.006623231887817383, | |
0.006696959972381592, | |
0.006650879859924317, | |
0.006639616012573242, | |
0.006606847763061524, | |
0.006635519981384277, | |
0.006606847763061524, | |
0.00663043212890625, | |
0.0068351998329162595, | |
0.006598656177520752, | |
0.0066826238632202144, | |
0.006636544227600098, | |
0.0065710082054138185, | |
0.006606847763061524, | |
0.006595583915710449, | |
0.00669593620300293, | |
0.006762464046478272, | |
0.006603775978088379, | |
0.0067051520347595215, | |
0.006612991809844971, | |
0.006687744140625, | |
0.006582272052764892, | |
0.0066119680404663084, | |
0.006601727962493896, | |
0.006565887928009034, | |
0.006605823993682861, | |
0.006653952121734619, | |
0.006700032234191895, | |
0.006586368083953857, | |
0.006606912136077881, | |
0.006555647850036621, | |
0.006763519763946534, | |
0.006623231887817383, | |
0.006654975891113281 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.64752334558446 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.798847815241369e-08, | |
"ram": 4.2617822899046284e-08, | |
"gpu": 1.4902606951315965e-07, | |
"total": 2.696323705646196e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3708753.507251244 | |
} | |
} | |
} | |
} |