IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
cecbb01 verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_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.14",
"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.0",
"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": 891.0848,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9985012807846071,
"mean": 0.007288330516675963,
"stdev": 0.00039064226336823333,
"p50": 0.007333888053894043,
"p90": 0.007714816093444824,
"p95": 0.007736524772644042,
"p99": 0.008024514427185056,
"values": [
0.008078335762023926,
0.007819263935089112,
0.007928832054138184,
0.007420928001403809,
0.007478271961212158,
0.007672832012176513,
0.007803904056549072,
0.007714816093444824,
0.007662591934204102,
0.007624703884124756,
0.007658495903015137,
0.0076267518997192385,
0.00764518404006958,
0.007608320236206055,
0.007521279811859131,
0.00758681583404541,
0.007667712211608887,
0.007723008155822754,
0.0073471999168395995,
0.007333888053894043,
0.007615488052368164,
0.007778304100036621,
0.007634943962097168,
0.00764415979385376,
0.007649280071258545,
0.007675903797149658,
0.007658495903015137,
0.007714816093444824,
0.007659584045410156,
0.0076912641525268555,
0.007887872219085693,
0.007681024074554443,
0.007607295989990235,
0.007547904014587403,
0.007715839862823487,
0.007580671787261963,
0.007609344005584716,
0.007590911865234375,
0.007566336154937744,
0.0075857601165771485,
0.007656447887420655,
0.007716864109039307,
0.007726079940795898,
0.007718912124633789,
0.007688191890716553,
0.0076574721336364745,
0.007605216026306152,
0.007699456214904785,
0.007669760227203369,
0.0076943359375,
0.007685120105743408,
0.007606272220611572,
0.007539711952209473,
0.007684095859527588,
0.00760422420501709,
0.00760319995880127,
0.007721983909606934,
0.007548927783966064,
0.0075304961204528805,
0.00758784008026123,
0.0076605439186096195,
0.007640063762664795,
0.007623680114746094,
0.007616511821746826,
0.007616511821746826,
0.008318976402282715,
0.007374847888946533,
0.007301119804382325,
0.007356416225433349,
0.007263296127319336,
0.007266304016113281,
0.0073431038856506346,
0.007196671962738037,
0.00729702377319336,
0.007200767993927002,
0.007195648193359375,
0.007072768211364746,
0.007046144008636474,
0.0072468481063842774,
0.007031807899475098,
0.006882304191589355,
0.006863872051239014,
0.00703385591506958,
0.007143424034118652,
0.007136256217956543,
0.007207935810089112,
0.007207935810089112,
0.007264256000518799,
0.0069918718338012695,
0.006887423992156983,
0.006803455829620361,
0.006867968082427979,
0.006855743885040283,
0.006819839954376221,
0.006842368125915528,
0.006895616054534912,
0.006856704235076904,
0.006823935985565186,
0.006842368125915528,
0.006850560188293457,
0.0068392958641052244,
0.006807551860809326,
0.006833151817321777,
0.006863872051239014,
0.006806528091430664,
0.006850560188293457,
0.006842368125915528,
0.006862847805023193,
0.006789120197296142,
0.0068494720458984375,
0.00682700777053833,
0.006850560188293457,
0.006819839954376221,
0.006840320110321045,
0.006834176063537598,
0.006809599876403808,
0.006848512172698974,
0.0068392958641052244,
0.006788095951080322,
0.006873087882995605,
0.006825984001159668,
0.006854656219482422,
0.006789087772369385,
0.006832096099853515,
0.0068791680335998535,
0.006804480075836182,
0.006840320110321045,
0.006862847805023193,
0.006846464157104492,
0.006813695907592773,
0.0068280320167541505,
0.006831103801727295,
0.006782976150512696,
0.00683516788482666,
0.006846464157104492,
0.006848512172698974,
0.006795263767242431
]
},
"throughput": {
"unit": "samples/s",
"value": 137.20563271821496
},
"energy": {
"unit": "kWh",
"cpu": 8.069541493961512e-08,
"ram": 4.410909769292778e-08,
"gpu": 1.507616474419874e-07,
"total": 2.7556616007453034e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3628892.6032482996
}
}
}
}