
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe70f62
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": 791.212032, | |
"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.40512451171875, | |
"mean": 7.40512451171875, | |
"stdev": 0.0, | |
"p50": 7.40512451171875, | |
"p90": 7.40512451171875, | |
"p95": 7.40512451171875, | |
"p99": 7.40512451171875, | |
"values": [ | |
7.40512451171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0636942145832428e-06, | |
"ram": 5.66896192268742e-07, | |
"gpu": 1.7127791480000924e-06, | |
"total": 3.3433695548520774e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.336384, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9983105902671814, | |
"mean": 0.006884900622532286, | |
"stdev": 0.00023685302236489876, | |
"p50": 0.006820864200592041, | |
"p90": 0.0070072128295898435, | |
"p95": 0.007377305507659912, | |
"p99": 0.007987076950073242, | |
"values": [ | |
0.007468031883239746, | |
0.007479296207427978, | |
0.007378943920135498, | |
0.007370751857757568, | |
0.00740556812286377, | |
0.007334911823272705, | |
0.007450623989105225, | |
0.007342080116271973, | |
0.008430527687072755, | |
0.0070256319046020504, | |
0.006821887969970703, | |
0.006969344139099121, | |
0.006889472007751465, | |
0.006853663921356201, | |
0.006803455829620361, | |
0.006849535942077637, | |
0.006833151817321777, | |
0.006782976150512696, | |
0.006815743923187256, | |
0.00683622407913208, | |
0.008042495727539062, | |
0.007916543960571289, | |
0.007203839778900147, | |
0.006815743923187256, | |
0.006849503993988037, | |
0.0068915200233459475, | |
0.006838272094726563, | |
0.006799359798431396, | |
0.006854656219482422, | |
0.006853631973266602, | |
0.006783999919891357, | |
0.006853631973266602, | |
0.006812672138214112, | |
0.0067717118263244626, | |
0.006802432060241699, | |
0.006797311782836914, | |
0.006783999919891357, | |
0.0067645440101623535, | |
0.006795263767242431, | |
0.006800384044647217, | |
0.00678604793548584, | |
0.006801439762115479, | |
0.00683622407913208, | |
0.006830080032348633, | |
0.006817791938781738, | |
0.006852608203887939, | |
0.006820864200592041, | |
0.00679423999786377, | |
0.006807551860809326, | |
0.006800384044647217, | |
0.006788095951080322, | |
0.006792191982269287, | |
0.006871039867401123, | |
0.006823935985565186, | |
0.006778880119323731, | |
0.006843391895294189, | |
0.0068321280479431154, | |
0.006830080032348633, | |
0.006773759841918945, | |
0.0068351998329162595, | |
0.006833151817321777, | |
0.006810624122619629, | |
0.006838304042816162, | |
0.0068351998329162595, | |
0.006813695907592773, | |
0.0068055038452148435, | |
0.0068373122215270995, | |
0.006823935985565186, | |
0.006792191982269287, | |
0.006804480075836182, | |
0.007319551944732666, | |
0.0068832640647888185, | |
0.006749184131622315, | |
0.0068351998329162595, | |
0.0069212160110473635, | |
0.00687718391418457, | |
0.006814720153808594, | |
0.006833151817321777, | |
0.006838272094726563, | |
0.006781951904296875, | |
0.006849535942077637, | |
0.006853631973266602, | |
0.006805471897125244, | |
0.00683622407913208, | |
0.0068321280479431154, | |
0.006823935985565186, | |
0.006749184131622315, | |
0.006817791938781738, | |
0.006838272094726563, | |
0.0067870721817016606, | |
0.006811583995819092, | |
0.006831103801727295, | |
0.006843391895294189, | |
0.006802432060241699, | |
0.0068249602317810056, | |
0.006849535942077637, | |
0.006862847805023193, | |
0.006854656219482422, | |
0.006830080032348633, | |
0.007035903930664063, | |
0.006788095951080322, | |
0.0068351998329162595, | |
0.00683622407913208, | |
0.006808576107025147, | |
0.006800384044647217, | |
0.0068392958641052244, | |
0.006821887969970703, | |
0.006777823925018311, | |
0.00683622407913208, | |
0.006820864200592041, | |
0.006784959793090821, | |
0.006791168212890625, | |
0.00682912015914917, | |
0.006811647891998291, | |
0.006807551860809326, | |
0.006979584217071533, | |
0.0069253120422363285, | |
0.006825984001159668, | |
0.006781951904296875, | |
0.006814720153808594, | |
0.006806528091430664, | |
0.006744063854217529, | |
0.006815743923187256, | |
0.006776832103729248, | |
0.006778880119323731, | |
0.0067573761940002445, | |
0.0067870721817016606, | |
0.006807551860809326, | |
0.006743040084838867, | |
0.00677785587310791, | |
0.006747136116027832, | |
0.006744063854217529, | |
0.006802432060241699, | |
0.006799359798431396, | |
0.0067358717918396, | |
0.006894591808319092, | |
0.006810624122619629, | |
0.006809599876403808, | |
0.006751232147216797, | |
0.006785024166107178, | |
0.006758304119110108, | |
0.006731776237487793, | |
0.006788032054901123, | |
0.006799359798431396, | |
0.0067645440101623535 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.24537895685663 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.854458681015115e-08, | |
"ram": 4.294344898715416e-08, | |
"gpu": 1.433076937483424e-07, | |
"total": 2.647957295456477e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3776495.949220403 | |
} | |
} | |
} | |
} |