
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f17437c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 721.293312, | |
"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.13442919921875, | |
"mean": 7.13442919921875, | |
"stdev": 0.0, | |
"p50": 7.13442919921875, | |
"p90": 7.13442919921875, | |
"p95": 7.13442919921875, | |
"p99": 7.13442919921875, | |
"values": [ | |
7.13442919921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1297022277776848e-06, | |
"ram": 5.60757316662321e-07, | |
"gpu": 1.8155570080001168e-06, | |
"total": 3.5060165524401224e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 914.558976, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9974321289062504, | |
"mean": 0.006353070884753186, | |
"stdev": 0.00021092148129269071, | |
"p50": 0.006322175979614258, | |
"p90": 0.006540492820739746, | |
"p95": 0.006765772819519043, | |
"p99": 0.0071974503707885745, | |
"values": [ | |
0.006987775802612305, | |
0.007005184173583984, | |
0.00667955207824707, | |
0.006615039825439453, | |
0.00659660816192627, | |
0.006626304149627686, | |
0.006551551818847656, | |
0.007095295906066895, | |
0.006352896213531494, | |
0.006142943859100342, | |
0.006131711959838867, | |
0.006122528076171875, | |
0.006136832237243653, | |
0.0061255359649658205, | |
0.006108160018920898, | |
0.006091775894165039, | |
0.006090752124786377, | |
0.0060661759376525876, | |
0.006089727878570556, | |
0.006069248199462891, | |
0.006114304065704346, | |
0.006338560104370118, | |
0.006091775894165039, | |
0.006097919940948486, | |
0.006053887844085694, | |
0.006080512046813965, | |
0.006056960105895996, | |
0.006096896171569824, | |
0.00606822395324707, | |
0.006074368000030517, | |
0.00606822395324707, | |
0.0063836159706115725, | |
0.006330368041992188, | |
0.006307839870452881, | |
0.00632422399520874, | |
0.006316031932830811, | |
0.006347743988037109, | |
0.006300672054290772, | |
0.006347775936126709, | |
0.006351903915405273, | |
0.006393856048583985, | |
0.006251520156860352, | |
0.006217728137969971, | |
0.006235136032104492, | |
0.006266880035400391, | |
0.006341631889343262, | |
0.006322175979614258, | |
0.006340608119964599, | |
0.00633241605758667, | |
0.006346752166748047, | |
0.006396927833557129, | |
0.006331391811370849, | |
0.00633241605758667, | |
0.0063539199829101565, | |
0.006358016014099121, | |
0.006338560104370118, | |
0.00652288007736206, | |
0.006337535858154297, | |
0.006525951862335205, | |
0.006301695823669433, | |
0.006326272010803223, | |
0.006348800182342529, | |
0.006296576023101807, | |
0.006304768085479737, | |
0.006333439826965332, | |
0.0067645440101623535, | |
0.006770688056945801, | |
0.00733900785446167, | |
0.007041024208068848, | |
0.0072427520751953125, | |
0.0065771517753601075, | |
0.006386688232421875, | |
0.006347775936126709, | |
0.006492159843444824, | |
0.006335487842559814, | |
0.006404096126556396, | |
0.006352896213531494, | |
0.006367231845855713, | |
0.006335487842559814, | |
0.006342656135559082, | |
0.006428671836853027, | |
0.006308864116668702, | |
0.0063211522102355954, | |
0.006334464073181153, | |
0.006331391811370849, | |
0.0063170561790466305, | |
0.006315008163452148, | |
0.006342656135559082, | |
0.00632428789138794, | |
0.006301695823669433, | |
0.006303743839263916, | |
0.006292479991912842, | |
0.006320064067840576, | |
0.0063211522102355954, | |
0.006340608119964599, | |
0.0063211522102355954, | |
0.006299647808074951, | |
0.006338560104370118, | |
0.006298624038696289, | |
0.006325247764587402, | |
0.006326272010803223, | |
0.006334464073181153, | |
0.006533120155334473, | |
0.006302720069885254, | |
0.007161856174468994, | |
0.006699007987976074, | |
0.006322175979614258, | |
0.006295551776885986, | |
0.0063498239517211915, | |
0.006300672054290772, | |
0.006351871967315674, | |
0.006304736137390137, | |
0.006371327877044678, | |
0.006334464073181153, | |
0.006315008163452148, | |
0.0063610877990722655, | |
0.0063211522102355954, | |
0.006326272010803223, | |
0.0062975997924804685, | |
0.006314943790435791, | |
0.0063170561790466305, | |
0.006277120113372803, | |
0.006310912132263183, | |
0.00616755199432373, | |
0.006276063919067383, | |
0.006260735988616943, | |
0.006326303958892822, | |
0.006307839870452881, | |
0.006285312175750732, | |
0.006301695823669433, | |
0.006281216144561768, | |
0.006284287929534912, | |
0.006307839870452881, | |
0.006284287929534912, | |
0.006285312175750732, | |
0.006296576023101807, | |
0.006304768085479737, | |
0.006434815883636475, | |
0.0062679038047790524, | |
0.006403071880340576, | |
0.0062863359451293946, | |
0.006329376220703125, | |
0.006303743839263916, | |
0.0062811517715454105, | |
0.006292448043823242, | |
0.006270976066589356, | |
0.006299647808074951, | |
0.00628223991394043, | |
0.006386688232421875, | |
0.006470655918121338, | |
0.006300672054290772, | |
0.006346752166748047, | |
0.006323200225830078, | |
0.0065075201988220215, | |
0.006307839870452881, | |
0.006328320026397705, | |
0.006328320026397705 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 157.40419367898326 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.510299608386229e-08, | |
"ram": 4.100279902241455e-08, | |
"gpu": 1.454449124177188e-07, | |
"total": 2.6155070752399563e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3823350.391465702 | |
} | |
} | |
} | |
} |