IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bd8f555 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.223-211.872.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 786.845696,
"max_global_vram": 1185.415168,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.3575966796875,
"mean": 7.3575966796875,
"stdev": 0.0,
"p50": 7.3575966796875,
"p90": 7.3575966796875,
"p95": 7.3575966796875,
"p99": 7.3575966796875,
"values": [
7.3575966796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.786178826390372e-07,
"ram": 4.6582144337773267e-07,
"gpu": 1.6088901759999177e-06,
"total": 2.9533295020166872e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.212352,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 125,
"total": 1.0004171543121338,
"mean": 0.00800333723449707,
"stdev": 0.00028654259123556407,
"p50": 0.008087552070617676,
"p90": 0.008307302474975586,
"p95": 0.008483020782470702,
"p99": 0.008605736923217772,
"values": [
0.008596480369567871,
0.008479743957519532,
0.008455167770385743,
0.008383487701416016,
0.008334303855895996,
0.008849408149719238,
0.008224767684936523,
0.008158207893371582,
0.008124416351318359,
0.008175616264343261,
0.008162303924560547,
0.008061951637268066,
0.008102911949157715,
0.008120320320129394,
0.008576000213623047,
0.008264703750610352,
0.008606719970703124,
0.008231936454772949,
0.008125439643859863,
0.008143872261047362,
0.008218624114990235,
0.008272895812988281,
0.008187904357910156,
0.00820633602142334,
0.008330240249633789,
0.008141823768615723,
0.008143872261047362,
0.00820019245147705,
0.008161279678344726,
0.008089599609375,
0.008153087615966797,
0.008127488136291505,
0.008135680198669434,
0.008111104011535645,
0.008148991584777832,
0.008135680198669434,
0.00820019245147705,
0.00860262393951416,
0.008165375709533691,
0.008162303924560547,
0.008119296073913575,
0.008087552070617676,
0.00820019245147705,
0.008220671653747558,
0.008167424201965333,
0.008166399955749512,
0.008125375747680665,
0.008033280372619628,
0.008080384254455567,
0.0081397762298584,
0.008137727737426758,
0.008194047927856446,
0.008037376403808593,
0.008069055557250977,
0.00809779167175293,
0.008041472434997558,
0.008070143699645996,
0.00808140754699707,
0.008151040077209473,
0.008432640075683593,
0.008237119674682616,
0.008262623786926269,
0.008232959747314453,
0.00857907199859619,
0.008114175796508789,
0.008069120407104492,
0.00810700798034668,
0.008086527824401855,
0.008111104011535645,
0.007964672088623047,
0.008003583908081055,
0.008103936195373536,
0.007968768119812012,
0.007814144134521485,
0.00769536018371582,
0.007921664237976075,
0.008004608154296875,
0.008128512382507324,
0.008029184341430663,
0.008142848014831543,
0.008483839988708495,
0.007988224029541016,
0.00781004810333252,
0.007867392063140868,
0.007803904056549072,
0.007773183822631836,
0.0077916159629821775,
0.0076871681213378906,
0.0076687359809875484,
0.007647232055664062,
0.007699456214904785,
0.007655424118041992,
0.007798783779144287,
0.0076789441108703616,
0.0076308479309082035,
0.007665664196014404,
0.007642047882080078,
0.007608320236206055,
0.0076277761459350585,
0.00765235185623169,
0.007621632099151611,
0.0076308479309082035,
0.0076277761459350585,
0.007633920192718506,
0.007620607852935791,
0.007664639949798584,
0.007588895797729492,
0.007663616180419922,
0.007643136024475097,
0.007621632099151611,
0.007619584083557129,
0.007716864109039307,
0.007665664196014404,
0.007621632099151611,
0.007650303840637207,
0.007619584083557129,
0.007599103927612305,
0.007726079940795898,
0.007648255825042725,
0.007608384132385254,
0.007612415790557861,
0.007659520149230957,
0.007620607852935791,
0.007606272220611572,
0.007642111778259277
]
},
"throughput": {
"unit": "samples/s",
"value": 124.94787745412805
},
"energy": {
"unit": "kWh",
"cpu": 8.451506227344165e-08,
"ram": 4.6210636638717045e-08,
"gpu": 1.5657222927659476e-07,
"total": 2.8729792818875344e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3480707.3141961694
}
}
}
}