IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
814e22f verified
raw
history blame
9.66 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "3b8c49a169ebd79001b2a83fbf2b332612417102",
"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": 1004.580864,
"max_global_vram": 898.461696,
"max_process_vram": 200684.527616,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 119,
"total": 0.9979014649391171,
"mean": 0.008385726596127038,
"stdev": 0.00015412085227216538,
"p50": 0.008380728721618652,
"p90": 0.008593527030944823,
"p95": 0.008639653778076172,
"p99": 0.008752511558532714,
"values": [
0.008380728721618652,
0.008440728187561036,
0.008564726829528808,
0.008586326599121093,
0.00836392879486084,
0.008412729263305664,
0.008603607177734375,
0.00853208827972412,
0.008528247833251953,
0.008495287895202637,
0.008698966979980469,
0.008520567893981933,
0.008386488914489745,
0.008442008018493652,
0.008451607704162598,
0.008438167572021484,
0.008381049156188964,
0.008403127670288085,
0.008737686157226563,
0.008537527084350585,
0.008535448074340821,
0.008499768257141114,
0.008464887619018554,
0.00843016815185547,
0.00847608757019043,
0.008422168731689453,
0.008398488998413086,
0.008390969276428222,
0.008392088890075684,
0.008390008926391601,
0.008606487274169922,
0.008810965538024903,
0.008755765914916992,
0.008586968421936035,
0.008557368278503417,
0.008578328132629395,
0.008555607795715332,
0.008512568473815919,
0.00845176887512207,
0.008424248695373535,
0.008414969444274903,
0.008400728225708008,
0.008405529022216796,
0.008493529319763184,
0.008591607093811035,
0.00860120677947998,
0.008662165641784668,
0.008608407020568847,
0.00864584732055664,
0.008573847770690918,
0.00850264835357666,
0.008429368972778321,
0.008466968536376953,
0.008433368682861328,
0.008395447731018066,
0.008397369384765626,
0.008338008880615234,
0.008319449424743653,
0.008361529350280762,
0.00827145004272461,
0.008292248725891113,
0.008316249847412109,
0.008322489738464356,
0.008266010284423829,
0.008296730041503907,
0.008608567237854003,
0.008638965606689452,
0.00841640853881836,
0.008353049278259278,
0.008342008590698242,
0.008318968772888184,
0.008394489288330078,
0.008103450775146485,
0.007979931831359864,
0.008340888977050782,
0.008270170211791992,
0.007762174129486084,
0.008285050392150878,
0.008297209739685058,
0.008302968978881836,
0.008330168724060059,
0.008320730209350586,
0.008308890342712403,
0.008395929336547852,
0.008315290451049805,
0.00827960968017578,
0.008265210151672362,
0.008340568542480468,
0.008322328567504882,
0.00828024959564209,
0.008264089584350586,
0.00829384994506836,
0.00829049015045166,
0.008231610298156737,
0.008240570068359375,
0.008208569526672363,
0.008242329597473145,
0.008243610382080078,
0.008262009620666503,
0.008249850273132324,
0.008241849899291992,
0.00827256965637207,
0.008301369667053223,
0.008288249969482422,
0.008228409767150878,
0.008248250007629394,
0.008262330055236817,
0.008230971336364747,
0.008223450660705567,
0.008246170997619628,
0.008315770149230958,
0.008323609352111816,
0.008229848861694335,
0.008249690055847168,
0.008256890296936036,
0.008224090576171876,
0.008238970756530762,
0.008218971252441407,
0.00824680995941162
]
},
"throughput": {
"unit": "samples/s",
"value": 119.2502508323908
},
"energy": null,
"efficiency": null
}
}
}