IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
18f8aa3 verified
raw
history blame
10.4 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": "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.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 908.996608,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.039104
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9963868465423579,
"mean": 0.007606006462155408,
"stdev": 0.00022405574825812592,
"p50": 0.007632895946502686,
"p90": 0.007879680156707763,
"p95": 0.00793343997001648,
"p99": 0.008100556659698487,
"values": [
0.008248319625854492,
0.007875584125518798,
0.00810700798034668,
0.00796569585800171,
0.007873536109924317,
0.007924736022949219,
0.007879680156707763,
0.007797760009765625,
0.007830527782440186,
0.007783423900604248,
0.007731200218200684,
0.007632895946502686,
0.007740416049957275,
0.007763936042785645,
0.007766016006469726,
0.007881728172302246,
0.007758848190307617,
0.007887872219085693,
0.007802879810333252,
0.007822336196899414,
0.007747583866119385,
0.007773183822631836,
0.007724031925201416,
0.007781375885009765,
0.007816192150115966,
0.007675903797149658,
0.007667712211608887,
0.007672832012176513,
0.007714816093444824,
0.008085503578186035,
0.007956480026245117,
0.00785920000076294,
0.007845888137817383,
0.007792640209197998,
0.007811039924621582,
0.0077619199752807615,
0.007772160053253174,
0.007830527782440186,
0.007703551769256592,
0.007774208068847656,
0.007685120105743408,
0.007730175971984863,
0.00790015983581543,
0.007798816204071045,
0.007727104187011719,
0.0076902399063110355,
0.0077916159629821775,
0.0076871681213378906,
0.0077292160987854006,
0.007778304100036621,
0.007847936153411865,
0.0077619199752807615,
0.007832575798034667,
0.00775270414352417,
0.007925759792327881,
0.007747583866119385,
0.007697408199310303,
0.007863296031951903,
0.0074997758865356446,
0.007527423858642578,
0.007685120105743408,
0.007542784214019775,
0.007388160228729248,
0.007357439994812012,
0.007400447845458984,
0.007559167861938477,
0.007713791847229004,
0.007635968208312988,
0.007776288032531739,
0.007898111820220948,
0.007941120147705078,
0.007562240123748779,
0.00801587200164795,
0.007296000003814697,
0.007334911823272705,
0.007137279987335205,
0.007408639907836914,
0.007387135982513428,
0.007398399829864502,
0.007398399829864502,
0.007390207767486572,
0.007420928001403809,
0.007387135982513428,
0.00744652795791626,
0.007408639907836914,
0.007390207767486572,
0.007396351814270019,
0.007502848148345947,
0.00753766393661499,
0.00740556812286377,
0.007396351814270019,
0.007384064197540283,
0.007354368209838867,
0.007423999786376953,
0.007395328044891358,
0.007457791805267334,
0.007398399829864502,
0.007756800174713135,
0.007539711952209473,
0.007415808200836181,
0.007325695991516113,
0.007402495861053467,
0.0073994240760803225,
0.007362559795379638,
0.007228415966033935,
0.007431136131286621,
0.007209951877593994,
0.007252992153167725,
0.007351295948028564,
0.007469056129455566,
0.007349247932434082,
0.007366655826568603,
0.007379968166351319,
0.007379968166351319,
0.007386112213134765,
0.007379968166351319,
0.007456768035888672,
0.007408671855926514,
0.007555071830749512,
0.007526400089263916,
0.007373824119567871,
0.007390207767486572,
0.007483391761779785,
0.007374847888946533,
0.007387135982513428,
0.007359488010406494,
0.007390207767486572,
0.007345151901245117,
0.007366655826568603,
0.007367680072784424,
0.007464960098266602
]
},
"throughput": {
"unit": "samples/s",
"value": 131.47503949353964
},
"energy": {
"unit": "kWh",
"cpu": 8.68918143049644e-08,
"ram": 4.750641595922445e-08,
"gpu": 1.591951800729893e-07,
"total": 2.9359341033717815e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3406070.997477591
}
}
}
}