IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e403d6a verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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": {},
"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,
"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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 716.120064,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.372544
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.1827578125,
"mean": 7.1827578125,
"stdev": 0.0,
"p50": 7.1827578125,
"p90": 7.1827578125,
"p95": 7.1827578125,
"p99": 7.1827578125,
"values": [
7.1827578125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.576139807701112e-07,
"ram": 4.543006241185784e-07,
"gpu": 0.0,
"total": 1.3119146048886895e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 915.677184,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0022141122817991,
"mean": 0.007210173469653232,
"stdev": 0.0002475209423558753,
"p50": 0.0072765440940856935,
"p90": 0.007467616081237792,
"p95": 0.007558041667938232,
"p99": 0.0077997054195404055,
"values": [
0.007646207809448242,
0.00754585599899292,
0.007575551986694336,
0.007531519889831543,
0.007489535808563232,
0.007426047801971435,
0.0074670081138610836,
0.007395328044891358,
0.0073656001091003415,
0.007322624206542969,
0.007366655826568603,
0.0073471999168395995,
0.007226336002349854,
0.007285791873931885,
0.00733081579208374,
0.007377920150756836,
0.0073697280883789065,
0.007385087966918945,
0.007355391979217529,
0.0072837119102478025,
0.007370751857757568,
0.0074076480865478515,
0.007356416225433349,
0.007404543876647949,
0.007362559795379638,
0.007321599960327148,
0.007312384128570557,
0.007310336112976074,
0.007336959838867187,
0.00730617618560791,
0.007278592109680176,
0.007198719978332519,
0.007267327785491944,
0.0073062400817871095,
0.007253983974456787,
0.007259136199951172,
0.007294976234436036,
0.007256063938140869,
0.007408639907836914,
0.007394303798675537,
0.007328767776489258,
0.007341055870056152,
0.007310336112976074,
0.007237631797790528,
0.00733081579208374,
0.007351295948028564,
0.007324672222137451,
0.00729804801940918,
0.007304192066192627,
0.0072130560874938965,
0.007255040168762207,
0.0072765440940856935,
0.007279615879058838,
0.007425024032592774,
0.00724070405960083,
0.007181312084197998,
0.007247871875762939,
0.007259136199951172,
0.0072631678581237796,
0.0073175039291381834,
0.007357439994812012,
0.007448575973510742,
0.007420928001403809,
0.007422912120819092,
0.007401472091674805,
0.007287807941436767,
0.007330880165100097,
0.0072765440940856935,
0.007228415966033935,
0.007739391803741455,
0.007651328086853027,
0.007517151832580567,
0.0075345921516418455,
0.0074700479507446285,
0.007556096076965332,
0.007407616138458252,
0.007292928218841553,
0.007326720237731933,
0.007422976016998291,
0.007452672004699707,
0.007184383869171143,
0.007184383869171143,
0.007332863807678222,
0.0077199358940124516,
0.007836671829223632,
0.008163328170776368,
0.007282656192779541,
0.007002111911773682,
0.006998015880584717,
0.006941696166992187,
0.006976511955261231,
0.007004159927368164,
0.006973440170288086,
0.006947807788848877,
0.00698367977142334,
0.006919167995452881,
0.006896639823913574,
0.00733900785446167,
0.0070860800743103025,
0.006952960014343262,
0.006937600135803222,
0.007062528133392334,
0.0068884482383728025,
0.006913023948669434,
0.00687718391418457,
0.006867968082427979,
0.006918144226074219,
0.006917119979858399,
0.006924287796020508,
0.006872064113616944,
0.006884352207183838,
0.00688640022277832,
0.006905856132507324,
0.006887423992156983,
0.006907904148101806,
0.006890495777130127,
0.006947840213775635,
0.0068986878395080565,
0.006914048194885254,
0.006895616054534912,
0.0068915200233459475,
0.006908927917480469,
0.007066624164581299,
0.0069324798583984375,
0.006929408073425293,
0.00695091199874878,
0.006939648151397705,
0.006957056045532227,
0.006938623905181885,
0.006924287796020508,
0.00693452787399292,
0.0069550080299377445,
0.0068618240356445315,
0.006884352207183838,
0.006906879901885986,
0.006906879901885986,
0.00687820816040039,
0.0068618240356445315,
0.006829055786132812
]
},
"throughput": {
"unit": "samples/s",
"value": 138.6929183061797
},
"energy": {
"unit": "kWh",
"cpu": 8.504261336629354e-08,
"ram": 4.6495462585805097e-08,
"gpu": 1.5798226924285688e-07,
"total": 2.8952034519495553e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3453988.697501123
}
}
}
}