
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cc81870
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", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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.766016, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.9997600336074829, | |
"mean": 0.006709798883271698, | |
"stdev": 0.00035486076368426077, | |
"p50": 0.006707200050354004, | |
"p90": 0.007040819168090821, | |
"p95": 0.007178444766998291, | |
"p99": 0.007999447021484377, | |
"values": [ | |
0.007350272178649903, | |
0.006987775802612305, | |
0.007181312084197998, | |
0.007067647933959961, | |
0.0071198720932006835, | |
0.007174143791198731, | |
0.007081984043121338, | |
0.007062528133392334, | |
0.007031807899475098, | |
0.007235583782196045, | |
0.006996992111206054, | |
0.0069621758460998535, | |
0.00693555212020874, | |
0.006988800048828125, | |
0.006894591808319092, | |
0.006880256175994873, | |
0.006876160144805908, | |
0.006959104061126709, | |
0.006987775802612305, | |
0.007039999961853028, | |
0.006978559970855713, | |
0.006969344139099121, | |
0.0069110398292541505, | |
0.006927360057830811, | |
0.006974463939666748, | |
0.006956031799316406, | |
0.0069283838272094726, | |
0.006953983783721924, | |
0.006922239780426025, | |
0.0069703998565673825, | |
0.0069324798583984375, | |
0.006924287796020508, | |
0.006915071964263916, | |
0.006929408073425293, | |
0.0068321280479431154, | |
0.007032832145690918, | |
0.006812672138214112, | |
0.0068504958152771, | |
0.006841343879699707, | |
0.0068321280479431154, | |
0.00693555212020874, | |
0.006967296123504638, | |
0.006700032234191895, | |
0.006681600093841553, | |
0.0067051520347595215, | |
0.006686719894409179, | |
0.0067010560035705566, | |
0.006662144184112549, | |
0.006589439868927002, | |
0.006614016056060791, | |
0.006690847873687744, | |
0.006707200050354004, | |
0.006670335769653321, | |
0.006645760059356689, | |
0.00658841609954834, | |
0.006567935943603515, | |
0.006624256134033203, | |
0.006729728221893311, | |
0.006622176170349121, | |
0.0067420158386230465, | |
0.006790143966674805, | |
0.007016448020935059, | |
0.006872128009796143, | |
0.007061503887176514, | |
0.006900735855102539, | |
0.006882304191589355, | |
0.00688640022277832, | |
0.0069212160110473635, | |
0.006949888229370117, | |
0.006969344139099121, | |
0.007044095993041993, | |
0.007005184173583984, | |
0.006968319892883301, | |
0.0069212160110473635, | |
0.006922239780426025, | |
0.006923264026641846, | |
0.006829055786132812, | |
0.006927360057830811, | |
0.006850560188293457, | |
0.0068577280044555666, | |
0.006736832141876221, | |
0.006650879859924317, | |
0.006860799789428711, | |
0.006780928134918213, | |
0.006865920066833496, | |
0.006624256134033203, | |
0.006669312000274658, | |
0.007360511779785156, | |
0.007960576057434082, | |
0.008035327911376953, | |
0.008056832313537597, | |
0.00745472002029419, | |
0.006872032165527344, | |
0.0066529598236083985, | |
0.006549503803253174, | |
0.006421504020690918, | |
0.006387712001800537, | |
0.006372352123260498, | |
0.006433792114257812, | |
0.006412288188934326, | |
0.006334464073181153, | |
0.006418464183807373, | |
0.006348800182342529, | |
0.006339583873748779, | |
0.006280191898345947, | |
0.006281216144561768, | |
0.006301695823669433, | |
0.006298624038696289, | |
0.006364160060882569, | |
0.006296576023101807, | |
0.006316031932830811, | |
0.006315008163452148, | |
0.006293504238128662, | |
0.006308864116668702, | |
0.006490111827850342, | |
0.006475776195526123, | |
0.006457344055175781, | |
0.00642252779006958, | |
0.006291456222534179, | |
0.0062576642036437985, | |
0.0063211522102355954, | |
0.006298624038696289, | |
0.00628223991394043, | |
0.006315008163452148, | |
0.0063201279640197755, | |
0.006384640216827392, | |
0.006342656135559082, | |
0.006251520156860352, | |
0.00628227186203003, | |
0.006299647808074951, | |
0.0062740478515625, | |
0.006301695823669433, | |
0.006322239875793457, | |
0.006300672054290772, | |
0.0062679038047790524, | |
0.0063211522102355954, | |
0.0062576642036437985, | |
0.006275072097778321, | |
0.006268928050994873, | |
0.006291456222534179, | |
0.006281216144561768, | |
0.00626585578918457, | |
0.006388735771179199, | |
0.006601727962493896, | |
0.006512639999389648, | |
0.006302720069885254, | |
0.006276095867156982, | |
0.006293504238128662, | |
0.0062679038047790524 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.035763574541 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.481078931620538e-08, | |
"ram": 4.08969263346835e-08, | |
"gpu": 1.3251932334590888e-07, | |
"total": 2.482270389967978e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4028569.989963504 | |
} | |
} | |
} | |
} |