IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0109464 verified
raw
history blame
10.6 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",
"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": 909.94688,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9998827495574946,
"mean": 0.007352079040863935,
"stdev": 0.00022782686304659592,
"p50": 0.007419903993606567,
"p90": 0.00756224012374878,
"p95": 0.007704320192337036,
"p99": 0.00813306851387024,
"values": [
0.00819206428527832,
0.007654399871826172,
0.007823359966278077,
0.007812096118927002,
0.007699456214904785,
0.007727104187011719,
0.007718912124633789,
0.008173567771911621,
0.007375807762145996,
0.007185408115386963,
0.007161856174468994,
0.00714035177230835,
0.007145472049713135,
0.007138271808624267,
0.007143424034118652,
0.007154687881469727,
0.007142399787902832,
0.007111680030822754,
0.007111743927001953,
0.007129087924957276,
0.00734822416305542,
0.007161856174468994,
0.007121920108795166,
0.007105472087860107,
0.007142399787902832,
0.007129087924957276,
0.007098368167877197,
0.007085055828094483,
0.007114751815795899,
0.007113728046417236,
0.007106560230255127,
0.007131135940551757,
0.007096320152282715,
0.00714137601852417,
0.007126016139984131,
0.0071188478469848635,
0.007112736225128174,
0.00709939193725586,
0.007113728046417236,
0.00709222412109375,
0.007178239822387696,
0.007219264030456543,
0.007124991893768311,
0.007120895862579346,
0.007120895862579346,
0.007107583999633789,
0.00707583999633789,
0.007108607769012451,
0.007097343921661377,
0.007114751815795899,
0.007105535984039306,
0.007078879833221435,
0.007098368167877197,
0.0071064958572387696,
0.007119840145111084,
0.007066624164581299,
0.007096320152282715,
0.007101439952850342,
0.007101439952850342,
0.007102464199066162,
0.007071743965148926,
0.007109632015228271,
0.007096320152282715,
0.007104479789733887,
0.0070522880554199216,
0.007526400089263916,
0.008057855606079101,
0.007436287879943848,
0.00743017578125,
0.0074414401054382325,
0.007434239864349365,
0.007445536136627197,
0.007447487831115722,
0.007403456211090088,
0.007459807872772217,
0.00743833589553833,
0.0074629120826721195,
0.007445504188537597,
0.007426047801971435,
0.007455743789672851,
0.007641088008880615,
0.007463935852050781,
0.00745472002029419,
0.007465983867645264,
0.007445504188537597,
0.007466047763824463,
0.007443456172943115,
0.007445504188537597,
0.00742195177078247,
0.007409664154052734,
0.007456768035888672,
0.007428095817565918,
0.007615488052368164,
0.0074301438331604,
0.007442431926727295,
0.007453695774078369,
0.007398399829864502,
0.007444479942321777,
0.007479296207427978,
0.0074711041450500485,
0.007526400089263916,
0.007524384021759033,
0.007508992195129394,
0.007491583824157715,
0.0074997758865356446,
0.007515135765075683,
0.00760319995880127,
0.007518208026885987,
0.007579648017883301,
0.007493631839752197,
0.007494656085968018,
0.007523392200469971,
0.007515135765075683,
0.007480319976806641,
0.007473152160644531,
0.007501823902130127,
0.007497727870941162,
0.007574528217315674,
0.0075335679054260255,
0.007549952030181885,
0.007526400089263916,
0.00749567985534668,
0.007483391761779785,
0.007417856216430664,
0.007434239864349365,
0.007422976016998291,
0.007408639907836914,
0.00738099193572998,
0.007401472091674805,
0.007372799873352051,
0.007361536026000977,
0.007404543876647949,
0.007368703842163086,
0.007461887836456299,
0.007478271961212158,
0.007488512039184571
]
},
"throughput": {
"unit": "samples/s",
"value": 136.01594793008252
},
"energy": {
"unit": "kWh",
"cpu": 8.692752149950076e-08,
"ram": 4.751775817381368e-08,
"gpu": 1.5732169925547403e-07,
"total": 2.917669789287885e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3427392.6531078415
}
}
}
}