IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b498b94 verified
raw
history blame
11.2 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_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": 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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": "0aac0108c378c328492774ddb431ea89a3c2b507",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 903.610368,
"max_global_vram": 841.76896,
"max_process_vram": 42718.674944,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.72775390625,
"mean": 6.72775390625,
"stdev": 0.0,
"p50": 6.72775390625,
"p90": 6.72775390625,
"p95": 6.72775390625,
"p99": 6.72775390625,
"values": [
6.72775390625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1013.182464,
"max_global_vram": 898.265088,
"max_process_vram": 211011.055616,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 136,
"total": 0.9964764409065241,
"mean": 0.007327032653724446,
"stdev": 0.0008650337537273659,
"p50": 0.007180850982666015,
"p90": 0.007613734006881714,
"p95": 0.007911255955696106,
"p99": 0.009005047798156739,
"values": [
0.00790117597579956,
0.007892216205596924,
0.007941495895385743,
0.009051584243774414,
0.007967735767364502,
0.00795573616027832,
0.007890934944152833,
0.007792214870452881,
0.007706133842468261,
0.007736694812774658,
0.007609653949737549,
0.0075882129669189455,
0.007585653781890869,
0.007427412033081055,
0.007447251796722412,
0.007420852184295655,
0.007304370880126953,
0.007498292922973633,
0.007600694179534912,
0.008918622970581054,
0.007947896003723144,
0.007507411956787109,
0.007456212043762207,
0.007617814064025879,
0.007388852119445801,
0.007395092010498047,
0.007406611919403076,
0.007402771949768066,
0.007368210792541504,
0.007387732028961182,
0.007417652130126953,
0.007431093215942383,
0.007398931980133056,
0.007380531787872314,
0.007382612228393554,
0.007351252079010009,
0.00738949203491211,
0.007387412071228027,
0.007414612770080566,
0.007228850841522217,
0.007200049877166748,
0.007253490924835205,
0.0072270908355712895,
0.01586795234680176,
0.003375063896179199,
0.007261651039123535,
0.007362132072448731,
0.00725429105758667,
0.0071368498802185055,
0.007148210048675537,
0.007040528774261474,
0.0070526890754699706,
0.007097809791564941,
0.0070790891647338865,
0.0071056499481201175,
0.007014288902282715,
0.007044848918914795,
0.00703892993927002,
0.007054450035095215,
0.007061970233917236,
0.007051889896392822,
0.007032848834991455,
0.007118770122528076,
0.007063570022583007,
0.007064050197601319,
0.007152689933776856,
0.007103889942169189,
0.007175409793853759,
0.007076848983764648,
0.007071249008178711,
0.007069169044494629,
0.007037168979644776,
0.007063570022583007,
0.007073490142822265,
0.00710660982131958,
0.007067728996276856,
0.007133009910583496,
0.0071130099296569825,
0.007024048805236816,
0.007051569938659668,
0.0070274100303649905,
0.007028688907623291,
0.007041009902954101,
0.007059249877929687,
0.007038290023803711,
0.007127570152282715,
0.007115729808807373,
0.007043088912963867,
0.007023728847503662,
0.007097809791564941,
0.0071008501052856445,
0.0070453290939331056,
0.0070771689414978025,
0.007116529941558838,
0.007418612003326416,
0.007370771884918213,
0.0074104518890380855,
0.007399251937866211,
0.007280052185058594,
0.007084529876708984,
0.007168690204620362,
0.00760757303237915,
0.007394611835479736,
0.0073957319259643555,
0.007409652233123779,
0.007335731983184815,
0.00721173095703125,
0.0071867709159851075,
0.007239891052246094,
0.007267571926116943,
0.007177649974822998,
0.007212850093841552,
0.007216050148010254,
0.007164050102233887,
0.007136210918426513,
0.007195889949798584,
0.007218609809875489,
0.007173170089721679,
0.007108369827270508,
0.007106929779052734,
0.007183091163635254,
0.00726469087600708,
0.007165811061859131,
0.007133649826049805,
0.007178610801696778,
0.0071509299278259275,
0.007119410037994385,
0.007156690120697021,
0.007226770877838135,
0.007084370136260986,
0.007092689990997315,
0.007174931049346924,
0.007111889839172363,
0.007115089893341064,
0.0071203699111938475,
0.007137969017028809
]
},
"throughput": {
"unit": "samples/s",
"value": 136.48089851103424
},
"energy": null,
"efficiency": null
}
}
}