IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
960592b verified
raw
history blame
10.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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": 907.390976,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 129,
"total": 1.0025586242675786,
"mean": 0.007771772281144017,
"stdev": 0.00028678864035398154,
"p50": 0.007878655910491944,
"p90": 0.008062975883483887,
"p95": 0.008168857383728027,
"p99": 0.008483594360351562,
"values": [
0.008500224113464355,
0.008079360008239746,
0.008440832138061523,
0.008219648361206054,
0.008163328170776368,
0.008132608413696289,
0.008150015830993652,
0.008046591758728027,
0.00795136022567749,
0.00800870418548584,
0.007929855823516846,
0.007907328128814697,
0.008016863822937011,
0.00799129581451416,
0.007988224029541016,
0.007997439861297608,
0.007947264194488525,
0.007985151767730713,
0.007994368076324462,
0.007977983951568603,
0.007982079982757568,
0.007946239948272706,
0.007993343830108643,
0.00797388792037964,
0.007962624073028564,
0.007920639991760254,
0.007897088050842285,
0.007942240238189697,
0.007945216178894043,
0.007969823837280274,
0.007977983951568603,
0.008042495727539062,
0.007983104228973388,
0.007983104228973388,
0.007916543960571289,
0.008031231880187988,
0.007970816135406494,
0.007994368076324462,
0.007937024116516114,
0.007906303882598878,
0.007910431861877442,
0.008035327911376953,
0.007916543960571289,
0.007917632102966308,
0.007933951854705811,
0.00794316816329956,
0.007924736022949219,
0.007994368076324462,
0.00802406406402588,
0.008058879852294922,
0.008416255950927735,
0.00799948787689209,
0.00830668830871582,
0.008625151634216309,
0.00802195167541504,
0.008134655952453614,
0.007808000087738037,
0.007915520191192627,
0.00785920000076294,
0.007764992237091065,
0.007651296138763428,
0.007558144092559814,
0.007759871959686279,
0.007902207851409913,
0.007921664237976075,
0.007878655910491944,
0.00802406406402588,
0.008114175796508789,
0.007910399913787843,
0.007748608112335205,
0.0081725435256958,
0.007997439861297608,
0.0075632638931274416,
0.0076492481231689455,
0.007619584083557129,
0.007485439777374267,
0.007498752117156982,
0.007509984016418457,
0.007429183959960938,
0.007573503971099854,
0.007607295989990235,
0.007334911823272705,
0.007455743789672851,
0.007432191848754883,
0.007292895793914795,
0.007409664154052734,
0.007425024032592774,
0.007425024032592774,
0.007508992195129394,
0.007489535808563232,
0.00742195177078247,
0.0075121278762817385,
0.007497727870941162,
0.0074414401054382325,
0.007556096076965332,
0.007552000045776367,
0.007452672004699707,
0.007569407939910889,
0.007356416225433349,
0.00738918399810791,
0.007507967948913574,
0.007522304058074952,
0.0075008001327514645,
0.007477248191833496,
0.0074065918922424315,
0.007329792022705078,
0.007398399829864502,
0.007540736198425293,
0.007506944179534912,
0.007525375843048096,
0.007554048061370849,
0.0074925761222839355,
0.007529471874237061,
0.0075345921516418455,
0.00744755220413208,
0.0074629120826721195,
0.007533599853515625,
0.0075038719177246095,
0.007513088226318359,
0.0075335679054260255,
0.007450623989105225,
0.00749567985534668,
0.007535615921020508,
0.007498752117156982,
0.007469056129455566,
0.00749567985534668,
0.007520256042480469,
0.00744755220413208,
0.007510015964508057
]
},
"throughput": {
"unit": "samples/s",
"value": 128.67077982022377
},
"energy": {
"unit": "kWh",
"cpu": 8.886614026714914e-08,
"ram": 4.857846867314188e-08,
"gpu": 1.6054324617910385e-07,
"total": 2.9798785511939484e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3355841.464073527
}
}
}
}