IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
726a04b verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": 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.3.1",
"optimum_benchmark_commit": "33013b51e0268a2fd7f07c903783b994ac1e0021",
"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": 899.44064,
"max_global_vram": 841.777152,
"max_process_vram": 45396.762624,
"max_reserved": 555.74528,
"max_allocated": 499.376128
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.14115087890625,
"mean": 7.14115087890625,
"stdev": 0.0,
"p50": 7.14115087890625,
"p90": 7.14115087890625,
"p95": 7.14115087890625,
"p99": 7.14115087890625,
"values": [
7.14115087890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1014.185984,
"max_global_vram": 896.958464,
"max_process_vram": 218920.587264,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 122,
"total": 0.9987852334976195,
"mean": 0.008186764208996881,
"stdev": 0.00041528695259520146,
"p50": 0.008215109348297119,
"p90": 0.008538644886016846,
"p95": 0.00865318922996521,
"p99": 0.008953252372741699,
"values": [
0.008707827568054199,
0.008655029296875,
0.008888788223266601,
0.008970388412475586,
0.008747987747192383,
0.008617749214172363,
0.008536628723144531,
0.008447989463806153,
0.0086182279586792,
0.008417268753051758,
0.008444469451904297,
0.008292469024658203,
0.008290549278259278,
0.008266868591308594,
0.008226228713989257,
0.008305909156799317,
0.00833678913116455,
0.008261908531188964,
0.008179669380187988,
0.00821950912475586,
0.0082150297164917,
0.00821710968017578,
0.008196629524230958,
0.00817742919921875,
0.008197909355163574,
0.008177589416503907,
0.008145428657531739,
0.008187989234924316,
0.008260469436645507,
0.008235029220581055,
0.008218548774719238,
0.008195988655090332,
0.008302549362182617,
0.008252948760986327,
0.00832206916809082,
0.008251829147338867,
0.008215188980102539,
0.008206229209899902,
0.008255668640136719,
0.008232949256896972,
0.008222868919372558,
0.008337267875671387,
0.008409588813781739,
0.008357109069824219,
0.008343989372253419,
0.008271669387817383,
0.008236469268798828,
0.008250868797302247,
0.008429429054260255,
0.008690068244934082,
0.008578868865966796,
0.00853886890411377,
0.008449588775634766,
0.008495027542114258,
0.008523988723754882,
0.008532468795776366,
0.008434388160705566,
0.008393268585205078,
0.008279349327087402,
0.008245908737182617,
0.008264308929443359,
0.008244149208068848,
0.008244468688964843,
0.008245908737182617,
0.008131829261779785,
0.008210868835449218,
0.008136629104614258,
0.008227028846740723,
0.008207829475402832,
0.008133589744567871,
0.008143829345703126,
0.008203828811645508,
0.008421428680419922,
0.008559349060058594,
0.008545269012451171,
0.008259188652038575,
0.008153589248657226,
0.008114229202270508,
0.00817470932006836,
0.008097108840942382,
0.008074869155883789,
0.008096309661865234,
0.008127188682556153,
0.008135989189147949,
0.00815342903137207,
0.008122709274291992,
0.008128149032592773,
0.00811950969696045,
0.008132630348205567,
0.011035024642944336,
0.008327189445495606,
0.007998388767242431,
0.007937429904937744,
0.007936150074005126,
0.007966868877410889,
0.007933430194854737,
0.00795038890838623,
0.007965428829193115,
0.007935349941253661,
0.007938229084014892,
0.008002869606018067,
0.0080054292678833,
0.008015349388122558,
0.007974549770355225,
0.007568309783935547,
0.007955989837646484,
0.007819668769836426,
0.0077015900611877445,
0.0076855897903442385,
0.007704628944396973,
0.007480150222778321,
0.007489109992980957,
0.00759646987915039,
0.007533429145812988,
0.007515029907226562,
0.007380469799041748,
0.007652470111846924,
0.007458549976348877,
0.007893428802490235,
0.007486390113830566,
0.00711151123046875,
0.0071025509834289555
]
},
"throughput": {
"unit": "samples/s",
"value": 122.14838176248504
},
"energy": null,
"efficiency": null
}
}
}