
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
81a9a67
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"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.070272, | |
"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.9986178560256961, | |
"mean": 0.006887019696728938, | |
"stdev": 0.0002206984181418982, | |
"p50": 0.006858751773834228, | |
"p90": 0.007201177597045898, | |
"p95": 0.007257087993621826, | |
"p99": 0.007393853416442871, | |
"values": [ | |
0.007476223945617676, | |
0.007214047908782959, | |
0.007264256000518799, | |
0.007282688140869141, | |
0.007235583782196045, | |
0.007174143791198731, | |
0.007231488227844239, | |
0.007143424034118652, | |
0.0071157760620117185, | |
0.007269375801086426, | |
0.0071526398658752445, | |
0.0069959678649902345, | |
0.006988800048828125, | |
0.007036960124969483, | |
0.007092192173004151, | |
0.007192575931549072, | |
0.007150591850280762, | |
0.00709119987487793, | |
0.007028736114501953, | |
0.007098368167877197, | |
0.007135231971740722, | |
0.007079936027526855, | |
0.007103487968444824, | |
0.007101439952850342, | |
0.007060480117797851, | |
0.007066624164581299, | |
0.0070553598403930665, | |
0.0069621758460998535, | |
0.006977536201477051, | |
0.007021567821502686, | |
0.006999040126800537, | |
0.007039999961853028, | |
0.006831103801727295, | |
0.007109632015228271, | |
0.007350272178649903, | |
0.007260159969329834, | |
0.007296000003814697, | |
0.0071198720932006835, | |
0.007071743965148926, | |
0.007221248149871826, | |
0.007080927848815918, | |
0.007074816226959229, | |
0.006812672138214112, | |
0.006740992069244385, | |
0.006776832103729248, | |
0.006760447978973389, | |
0.006887423992156983, | |
0.0067983360290527345, | |
0.0067235522270202635, | |
0.006916096210479736, | |
0.006976511955261231, | |
0.00690886402130127, | |
0.006904831886291504, | |
0.0069816322326660156, | |
0.007051263809204102, | |
0.006982656002044678, | |
0.007030784130096435, | |
0.007017471790313721, | |
0.006960127830505371, | |
0.0069550080299377445, | |
0.007002111911773682, | |
0.006910912036895752, | |
0.006908927917480469, | |
0.007137279987335205, | |
0.0069283838272094726, | |
0.007077919960021973, | |
0.007071743965148926, | |
0.006858751773834228, | |
0.006849535942077637, | |
0.0069027838706970214, | |
0.006917119979858399, | |
0.006994944095611572, | |
0.007226367950439453, | |
0.007151616096496582, | |
0.007244800090789795, | |
0.007428095817565918, | |
0.007206912040710449, | |
0.007029759883880615, | |
0.006967296123504638, | |
0.007080959796905518, | |
0.00684441614151001, | |
0.006799359798431396, | |
0.006751232147216797, | |
0.006729728221893311, | |
0.006623231887817383, | |
0.00667955207824707, | |
0.0066979842185974124, | |
0.006675456047058105, | |
0.006690815925598144, | |
0.006690815925598144, | |
0.006660096168518067, | |
0.006699007987976074, | |
0.006676479816436768, | |
0.006647808074951172, | |
0.006677504062652588, | |
0.0067348480224609375, | |
0.006660096168518067, | |
0.006650879859924317, | |
0.006676479816436768, | |
0.006665215969085693, | |
0.006669312000274658, | |
0.006648831844329834, | |
0.006411231994628906, | |
0.006657023906707763, | |
0.006700992107391357, | |
0.0066713600158691405, | |
0.006676479816436768, | |
0.006691840171813965, | |
0.0066416640281677245, | |
0.006643712043762207, | |
0.006665215969085693, | |
0.006647808074951172, | |
0.006692863941192627, | |
0.006661119937896728, | |
0.006663167953491211, | |
0.006874048233032227, | |
0.006681600093841553, | |
0.006680575847625733, | |
0.006670400142669678, | |
0.006680575847625733, | |
0.0066406397819519045, | |
0.006666240215301514, | |
0.006730751991271973, | |
0.006700032234191895, | |
0.006661119937896728, | |
0.006696959972381592, | |
0.006691840171813965, | |
0.006659071922302246, | |
0.006652927875518798, | |
0.0067010560035705566, | |
0.006635519981384277, | |
0.006834176063537598, | |
0.006686719894409179, | |
0.006642687797546387, | |
0.006669343948364258, | |
0.006670335769653321, | |
0.006653952121734619, | |
0.0067358717918396, | |
0.0066641921997070315, | |
0.0066344962120056155, | |
0.006703104019165039, | |
0.006691840171813965, | |
0.006654975891113281, | |
0.006653952121734619, | |
0.006689792156219483 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.20068825633828 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.742139292351994e-08, | |
"ram": 4.2328702875238376e-08, | |
"gpu": 1.445843567712422e-07, | |
"total": 2.6433445257000054e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3783086.1254651695 | |
} | |
} | |
} | |
} |