
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e7068fe
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.34.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": 789.712896, | |
"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.4194482421875, | |
"mean": 7.4194482421875, | |
"stdev": 0.0, | |
"p50": 7.4194482421875, | |
"p90": 7.4194482421875, | |
"p95": 7.4194482421875, | |
"p99": 7.4194482421875, | |
"values": [ | |
7.4194482421875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0890240847222307e-06, | |
"ram": 5.69563443036472e-07, | |
"gpu": 1.64333464800024e-06, | |
"total": 3.3019221757589425e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1079.373824, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.995240671634674, | |
"mean": 0.0067703447049977826, | |
"stdev": 0.0003565973334678574, | |
"p50": 0.006726655960083008, | |
"p90": 0.0069146623611450195, | |
"p95": 0.007042233514785766, | |
"p99": 0.008673566818237295, | |
"values": [ | |
0.009569279670715332, | |
0.009253888130187989, | |
0.00799232006072998, | |
0.007192575931549072, | |
0.0070481600761413575, | |
0.006813695907592773, | |
0.006841343879699707, | |
0.006765567779541016, | |
0.006767615795135498, | |
0.006812672138214112, | |
0.0067768640518188475, | |
0.006746111869812011, | |
0.006719488143920899, | |
0.006883327960968018, | |
0.006913023948669434, | |
0.006999040126800537, | |
0.007047167778015137, | |
0.007030720233917236, | |
0.006929408073425293, | |
0.006797311782836914, | |
0.006718463897705078, | |
0.006726655960083008, | |
0.006813695907592773, | |
0.006880256175994873, | |
0.006804480075836182, | |
0.006819839954376221, | |
0.006791103839874268, | |
0.006803455829620361, | |
0.006765567779541016, | |
0.006760447978973389, | |
0.00676966381072998, | |
0.006774784088134766, | |
0.006749184131622315, | |
0.006691840171813965, | |
0.006648831844329834, | |
0.0066447358131408694, | |
0.006726655960083008, | |
0.0067051520347595215, | |
0.0066713600158691405, | |
0.006755328178405762, | |
0.006719488143920899, | |
0.00677785587310791, | |
0.006873087882995605, | |
0.0068249602317810056, | |
0.006905856132507324, | |
0.006782976150512696, | |
0.00675328016281128, | |
0.0066938881874084475, | |
0.006723584175109864, | |
0.0068689918518066405, | |
0.006814688205718994, | |
0.006746111869812011, | |
0.0067358717918396, | |
0.006847487926483154, | |
0.006699007987976074, | |
0.006779903888702392, | |
0.006818816184997558, | |
0.006749184131622315, | |
0.006796288013458252, | |
0.006762495994567871, | |
0.0066928319931030275, | |
0.006686719894409179, | |
0.006746111869812011, | |
0.00672051191329956, | |
0.00673689603805542, | |
0.006818784236907959, | |
0.006752255916595459, | |
0.00682700777053833, | |
0.006846496105194092, | |
0.006896639823913574, | |
0.0068249602317810056, | |
0.006987775802612305, | |
0.006783999919891357, | |
0.00674508810043335, | |
0.006744063854217529, | |
0.006660096168518067, | |
0.006688767910003662, | |
0.006807551860809326, | |
0.006683648109436035, | |
0.00667852783203125, | |
0.006593535900115967, | |
0.006463488101959228, | |
0.006663167953491211, | |
0.006683648109436035, | |
0.006463488101959228, | |
0.006482944011688232, | |
0.006388671875, | |
0.006395872116088867, | |
0.006475776195526123, | |
0.006800384044647217, | |
0.00683628797531128, | |
0.006917119979858399, | |
0.007063551902770996, | |
0.007180287837982178, | |
0.0070225920677185055, | |
0.006961152076721191, | |
0.00687718391418457, | |
0.006689792156219483, | |
0.00658841609954834, | |
0.006649856090545654, | |
0.006622208118438721, | |
0.006593535900115967, | |
0.0066447358131408694, | |
0.006789152145385742, | |
0.006690815925598144, | |
0.006582272052764892, | |
0.00658841609954834, | |
0.006558720111846924, | |
0.006591487884521485, | |
0.0065699520111083985, | |
0.006573056221008301, | |
0.006595583915710449, | |
0.0065669121742248536, | |
0.006586368083953857, | |
0.006599679946899414, | |
0.00658841609954834, | |
0.00657203197479248, | |
0.006601727962493896, | |
0.006568960189819336, | |
0.006620160102844238, | |
0.00672051191329956, | |
0.006719488143920899, | |
0.006740992069244385, | |
0.0065771517753601075, | |
0.006556672096252441, | |
0.0066641921997070315, | |
0.00658841609954834, | |
0.006619135856628418, | |
0.0066078720092773435, | |
0.006670271873474121, | |
0.0065812478065490725, | |
0.006609920024871826, | |
0.0065710082054138185, | |
0.00657919979095459, | |
0.0066119680404663084, | |
0.006758399963378906, | |
0.006582272052764892, | |
0.006636608123779297, | |
0.00657097578048706, | |
0.0066109437942504885, | |
0.0066119680404663084, | |
0.0065914239883422855, | |
0.00657206392288208, | |
0.0068280320167541505, | |
0.006645760059356689, | |
0.006555647850036621, | |
0.006633471965789795 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.70296692010567 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.710856182359277e-08, | |
"ram": 4.215796714882065e-08, | |
"gpu": 1.388709624675333e-07, | |
"total": 2.5813749143994675e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3873904.539870531 | |
} | |
} | |
} | |
} |