
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b8b91da
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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.745536, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 1.0018918728828432, | |
"mean": 0.006769539681640831, | |
"stdev": 0.0001744093525350522, | |
"p50": 0.006763520002365112, | |
"p90": 0.006992588710784912, | |
"p95": 0.007051212763786316, | |
"p99": 0.007346770057678222, | |
"values": [ | |
0.007473152160644531, | |
0.006854656219482422, | |
0.006985727787017822, | |
0.006949888229370117, | |
0.006946815967559815, | |
0.006904831886291504, | |
0.006929408073425293, | |
0.006896607875823975, | |
0.0068351998329162595, | |
0.006811647891998291, | |
0.006848512172698974, | |
0.006781951904296875, | |
0.006821887969970703, | |
0.006792191982269287, | |
0.006700032234191895, | |
0.006665215969085693, | |
0.006723584175109864, | |
0.006773759841918945, | |
0.0067738242149353025, | |
0.00684441614151001, | |
0.006814720153808594, | |
0.006803455829620361, | |
0.00675328016281128, | |
0.006762495994567871, | |
0.006778880119323731, | |
0.006811647891998291, | |
0.006820864200592041, | |
0.006819839954376221, | |
0.0068055038452148435, | |
0.00676966381072998, | |
0.0067717118263244626, | |
0.006782976150512696, | |
0.00690176010131836, | |
0.006836160182952881, | |
0.006788095951080322, | |
0.006693920135498047, | |
0.006657023906707763, | |
0.006722527980804444, | |
0.006747136116027832, | |
0.006719488143920899, | |
0.006806528091430664, | |
0.006781951904296875, | |
0.0067645440101623535, | |
0.007300096035003662, | |
0.0071198720932006835, | |
0.0070522880554199216, | |
0.007134208202362061, | |
0.007017471790313721, | |
0.006989823818206787, | |
0.006961152076721191, | |
0.0068249602317810056, | |
0.006804480075836182, | |
0.006816768169403077, | |
0.006810624122619629, | |
0.006831103801727295, | |
0.00672051191329956, | |
0.006713344097137451, | |
0.006715392112731934, | |
0.006732800006866455, | |
0.006807551860809326, | |
0.006795263767242431, | |
0.006711296081542969, | |
0.0071157760620117185, | |
0.0070266880989074704, | |
0.007010303974151612, | |
0.007039999961853028, | |
0.007013376235961914, | |
0.006999040126800537, | |
0.007049215793609619, | |
0.006831103801727295, | |
0.006948863983154297, | |
0.006884352207183838, | |
0.006862847805023193, | |
0.006821887969970703, | |
0.006837247848510742, | |
0.006814720153808594, | |
0.0067686400413513184, | |
0.006760447978973389, | |
0.006825984001159668, | |
0.006660096168518067, | |
0.006620160102844238, | |
0.006519807815551758, | |
0.006575104236602783, | |
0.006752255916595459, | |
0.006643712043762207, | |
0.006392799854278565, | |
0.0064102401733398436, | |
0.00642464017868042, | |
0.006437888145446777, | |
0.006487040042877197, | |
0.006688767910003662, | |
0.006830080032348633, | |
0.006897664070129395, | |
0.006937600135803222, | |
0.007103487968444824, | |
0.006973440170288086, | |
0.006881279945373535, | |
0.006785024166107178, | |
0.006767615795135498, | |
0.006731776237487793, | |
0.0067348480224609375, | |
0.006595583915710449, | |
0.006816768169403077, | |
0.006680575847625733, | |
0.006692863941192627, | |
0.006694911956787109, | |
0.0066375679969787596, | |
0.00657919979095459, | |
0.007388160228729248, | |
0.006978559970855713, | |
0.006722559928894043, | |
0.006614016056060791, | |
0.006685696125030518, | |
0.006717440128326416, | |
0.006617087841033936, | |
0.006631423950195312, | |
0.006749184131622315, | |
0.006625279903411865, | |
0.006597631931304931, | |
0.0066119680404663084, | |
0.006583295822143555, | |
0.006612991809844971, | |
0.006617087841033936, | |
0.0065771517753601075, | |
0.0066416640281677245, | |
0.006708223819732666, | |
0.006398975849151611, | |
0.006576128005981445, | |
0.006651904106140137, | |
0.006591487884521485, | |
0.006654975891113281, | |
0.006614016056060791, | |
0.006605823993682861, | |
0.006617087841033936, | |
0.006625311851501465, | |
0.0066078720092773435, | |
0.0066447358131408694, | |
0.006616064071655273, | |
0.0066078720092773435, | |
0.006625279903411865, | |
0.006643712043762207, | |
0.006602752208709717, | |
0.006649856090545654, | |
0.006658048152923584, | |
0.006612991809844971, | |
0.0067010560035705566, | |
0.006659071922302246, | |
0.006597631931304931 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.72053153215515 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.713026814646536e-08, | |
"ram": 4.215088005626707e-08, | |
"gpu": 1.5341823240259891e-07, | |
"total": 2.7269938060533133e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3667041.6991055305 | |
} | |
} | |
} | |
} |