IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
eaf2c71 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.224-212.876.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 798.39232,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.99041650390625,
"mean": 7.99041650390625,
"stdev": 0.0,
"p50": 7.99041650390625,
"p90": 7.99041650390625,
"p95": 7.99041650390625,
"p99": 7.99041650390625,
"values": [
7.99041650390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 2.3360344465273563e-06,
"ram": 1.2609252684638103e-06,
"gpu": 3.566391741999936e-06,
"total": 7.163351456991103e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1095.380992,
"max_global_vram": 1203.24096,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 132,
"total": 1.0021448650360112,
"mean": 0.007592006553303112,
"stdev": 0.00023317350389960023,
"p50": 0.0075407359600067145,
"p90": 0.007846911907196046,
"p95": 0.007972348499298095,
"p99": 0.00828100625038147,
"values": [
0.0077619199752807615,
0.007778304100036621,
0.007654431819915771,
0.007688191890716553,
0.007666656017303467,
0.008409088134765624,
0.008000543594360351,
0.00794927978515625,
0.007885824203491211,
0.007848959922790527,
0.007799808025360107,
0.008068096160888672,
0.008064000129699708,
0.007798783779144287,
0.007769087791442871,
0.007790592193603516,
0.00775164794921875,
0.007800767898559571,
0.00780185604095459,
0.00782537603378296,
0.00793497610092163,
0.0077916159629821775,
0.007811071872711181,
0.007575551986694336,
0.007552000045776367,
0.007539711952209473,
0.007529471874237061,
0.007476223945617676,
0.007488512039184571,
0.007481344223022461,
0.007542784214019775,
0.007516160011291504,
0.007508992195129394,
0.007676928043365478,
0.007659520149230957,
0.007416831970214844,
0.007428095817565918,
0.007548927783966064,
0.007774176120758057,
0.007897088050842285,
0.007846911907196046,
0.007798783779144287,
0.007775231838226319,
0.007832608222961425,
0.00781824016571045,
0.007828479766845703,
0.008013824462890624,
0.007748608112335205,
0.007749663829803467,
0.007840799808502196,
0.007781375885009765,
0.007730207920074463,
0.007846911907196046,
0.007783423900604248,
0.007696383953094482,
0.007730175971984863,
0.007756800174713135,
0.007417856216430664,
0.007529471874237061,
0.007475200176239013,
0.007388160228729248,
0.007472127914428711,
0.007482367992401123,
0.007445504188537597,
0.0074301438331604,
0.007879680156707763,
0.008162303924560547,
0.007568384170532226,
0.008334336280822753,
0.007641151905059814,
0.007524352073669433,
0.007541759967803955,
0.007531519889831543,
0.007709695816040039,
0.007772160053253174,
0.00774348783493042,
0.007733248233795166,
0.007703551769256592,
0.007684095859527588,
0.007624703884124756,
0.007531519889831543,
0.007464960098266602,
0.007345151901245117,
0.007171072006225586,
0.007094272136688232,
0.007247871875762939,
0.007588863849639893,
0.007583744049072265,
0.007478271961212158,
0.0075980801582336424,
0.0077107839584350584,
0.007819263935089112,
0.007479296207427978,
0.007402495861053467,
0.007354368209838867,
0.007379968166351319,
0.007372799873352051,
0.007387135982513428,
0.007407616138458252,
0.007409664154052734,
0.007385087966918945,
0.0074711041450500485,
0.007407584190368652,
0.007349279880523682,
0.00733081579208374,
0.007365632057189942,
0.007361536026000977,
0.007344128131866455,
0.007361536026000977,
0.007358496189117432,
0.007331840038299561,
0.0073768959045410155,
0.007356416225433349,
0.007359488010406494,
0.007367680072784424,
0.007394303798675537,
0.007362559795379638,
0.007326720237731933,
0.007359488010406494,
0.007368703842163086,
0.007322624206542969,
0.00734819221496582,
0.007321599960327148,
0.007352320194244385,
0.007371776103973389,
0.007367680072784424,
0.007407616138458252,
0.007395328044891358,
0.007370751857757568,
0.007383039951324463,
0.007327744007110596,
0.007372799873352051
]
},
"throughput": {
"unit": "samples/s",
"value": 131.71748377442094
},
"energy": {
"unit": "kWh",
"cpu": 8.622213070148848e-08,
"ram": 4.698878844934837e-08,
"gpu": 1.6834755818840427e-07,
"total": 3.015584773392411e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3316106.4110130803
}
}
}
}