
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
981effd
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.213632, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9954977912902835, | |
"mean": 0.006865502008898505, | |
"stdev": 0.00016913658315695975, | |
"p50": 0.006823935985565186, | |
"p90": 0.007104102611541748, | |
"p95": 0.007145267200469971, | |
"p99": 0.007348265018463135, | |
"values": [ | |
0.0073431038856506346, | |
0.007012351989746094, | |
0.007064576148986816, | |
0.007058432102203369, | |
0.007039999961853028, | |
0.007310336112976074, | |
0.007358463764190673, | |
0.00710041618347168, | |
0.007163904190063477, | |
0.007054336071014404, | |
0.007076863765716553, | |
0.0070563840866088865, | |
0.007066688060760498, | |
0.006960127830505371, | |
0.0067870721817016606, | |
0.0067686400413513184, | |
0.006852608203887939, | |
0.006809599876403808, | |
0.0068915200233459475, | |
0.0069621758460998535, | |
0.006974463939666748, | |
0.0068392958641052244, | |
0.006856704235076904, | |
0.0067983360290527345, | |
0.006840320110321045, | |
0.006892543792724609, | |
0.00687820816040039, | |
0.006838272094726563, | |
0.0068618240356445315, | |
0.006863840103149414, | |
0.006841343879699707, | |
0.006818816184997558, | |
0.006856704235076904, | |
0.0070522880554199216, | |
0.006859776020050049, | |
0.00674508810043335, | |
0.006759424209594727, | |
0.006750207901000976, | |
0.006773759841918945, | |
0.006795263767242431, | |
0.0068055038452148435, | |
0.006874112129211426, | |
0.006883327960968018, | |
0.006908927917480469, | |
0.00694374418258667, | |
0.006922239780426025, | |
0.006887423992156983, | |
0.007198719978332519, | |
0.007049215793609619, | |
0.006890495777130127, | |
0.006953983783721924, | |
0.006904831886291504, | |
0.006830080032348633, | |
0.006806528091430664, | |
0.006878079891204834, | |
0.006774784088134766, | |
0.006811647891998291, | |
0.006811647891998291, | |
0.006865920066833496, | |
0.006968287944793701, | |
0.006951935768127441, | |
0.006823935985565186, | |
0.007138304233551026, | |
0.007352320194244385, | |
0.0070594558715820314, | |
0.007107583999633789, | |
0.00703385591506958, | |
0.0070236802101135256, | |
0.007041024208068848, | |
0.00709119987487793, | |
0.007064576148986816, | |
0.007144447803497315, | |
0.007145472049713135, | |
0.007110623836517334, | |
0.007112703800201416, | |
0.007096320152282715, | |
0.007122879981994629, | |
0.007074816226959229, | |
0.007065599918365479, | |
0.0070522880554199216, | |
0.007106560230255127, | |
0.0069283838272094726, | |
0.006797311782836914, | |
0.00694374418258667, | |
0.006959104061126709, | |
0.006783999919891357, | |
0.006631423950195312, | |
0.006722559928894043, | |
0.006889472007751465, | |
0.00671123218536377, | |
0.006725632190704346, | |
0.006791168212890625, | |
0.0068321280479431154, | |
0.00682700777053833, | |
0.007164927959442138, | |
0.006821887969970703, | |
0.006718463897705078, | |
0.006656000137329102, | |
0.006721536159515381, | |
0.0067041277885437015, | |
0.006677504062652588, | |
0.0067123198509216305, | |
0.00674508810043335, | |
0.006710271835327148, | |
0.006699007987976074, | |
0.0067041277885437015, | |
0.006684671878814697, | |
0.006750207901000976, | |
0.006708223819732666, | |
0.006668288230895996, | |
0.0067758078575134275, | |
0.006708159923553467, | |
0.006677504062652588, | |
0.006680575847625733, | |
0.006706175804138184, | |
0.006801407814025879, | |
0.006680575847625733, | |
0.006709248065948486, | |
0.0066979842185974124, | |
0.006715392112731934, | |
0.0066979842185974124, | |
0.006700032234191895, | |
0.006774784088134766, | |
0.006703104019165039, | |
0.006677567958831787, | |
0.006718463897705078, | |
0.006725632190704346, | |
0.006719488143920899, | |
0.0066406397819519045, | |
0.006690815925598144, | |
0.006685696125030518, | |
0.006658048152923584, | |
0.006757343769073486, | |
0.006706175804138184, | |
0.006670335769653321, | |
0.006667263984680176, | |
0.006782976150512696, | |
0.00674508810043335, | |
0.006667263984680176, | |
0.006689792156219483, | |
0.0067051520347595215, | |
0.006754303932189941, | |
0.006714431762695312, | |
0.006686719894409179, | |
0.006692863941192627 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.65577268841832 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.072651027281539e-08, | |
"ram": 4.41250807481844e-08, | |
"gpu": 1.441875681088461e-07, | |
"total": 2.690391591298459e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3716931.03425651 | |
} | |
} | |
} | |
} |