IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d25e510 verified
raw
history blame
9.97 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": "3731aa19b0b76022fb42f78436721c579f50c777",
"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.261376,
"max_global_vram": 898.977792,
"max_process_vram": 183199.686656,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 126,
"total": 1.0019048328399658,
"mean": 0.007951625657460047,
"stdev": 0.00045277429277887214,
"p50": 0.00780140209197998,
"p90": 0.008618677616119385,
"p95": 0.008759437084197998,
"p99": 0.008896116495132446,
"values": [
0.008474038124084473,
0.008687156677246094,
0.008745877265930176,
0.00882667636871338,
0.008882676124572754,
0.008785237312316894,
0.008450037956237793,
0.008332919120788575,
0.007921081066131591,
0.007678522109985352,
0.007718202114105225,
0.007837241172790527,
0.008055801391601563,
0.008057721138000488,
0.008103960990905762,
0.007797242164611817,
0.007744761943817138,
0.007683803081512451,
0.00768108320236206,
0.007804282188415527,
0.007824281215667724,
0.008705877304077148,
0.008789715766906738,
0.008763957023620605,
0.008738677024841308,
0.008670997619628907,
0.008650836944580078,
0.008554038047790527,
0.008555797576904297,
0.008586518287658692,
0.009876912117004394,
0.008900596618652343,
0.008485078811645508,
0.008390838623046876,
0.008398359298706054,
0.008346038818359375,
0.008381078720092774,
0.008374837875366211,
0.008330039024353027,
0.008379158973693847,
0.008055800437927247,
0.008008440017700196,
0.008121879577636718,
0.008179960250854492,
0.008050359725952149,
0.008064760208129882,
0.0078354811668396,
0.008050040245056152,
0.007912761211395263,
0.007855960845947266,
0.0077985219955444334,
0.007631002902984619,
0.007491322994232177,
0.00750428295135498,
0.007527801990509033,
0.007490842819213867,
0.007518202781677246,
0.007504602909088135,
0.007483482837677002,
0.007482522964477539,
0.007562522888183594,
0.007527163028717041,
0.007569723129272461,
0.007528762817382812,
0.007543642997741699,
0.007643803119659424,
0.007609882831573486,
0.007615322113037109,
0.007584763050079346,
0.007583323001861572,
0.007538523197174072,
0.007447642803192139,
0.007558203220367431,
0.007639002799987793,
0.007549881935119629,
0.0075951628684997555,
0.007510363101959228,
0.00750428295135498,
0.007641242980957031,
0.007603161811828614,
0.007616442203521728,
0.007592282772064209,
0.007601242065429687,
0.008316598892211913,
0.008451638221740722,
0.007975961208343506,
0.008393877983093262,
0.008237079620361328,
0.007994040966033936,
0.008052120208740235,
0.008023639678955079,
0.008051000595092773,
0.008030521392822265,
0.007928121089935302,
0.008008760452270508,
0.007575482845306397,
0.007605082988739013,
0.0075407629013061524,
0.007591322898864746,
0.0075830030441284176,
0.007556922912597656,
0.00755836296081543,
0.007539802074432373,
0.008029880523681641,
0.008397079467773438,
0.008452279090881348,
0.008522837638854981,
0.008370518684387207,
0.00819771957397461,
0.007714201927185058,
0.007862202167510986,
0.0076495628356933595,
0.007585241794586182,
0.007794521808624268,
0.00758076286315918,
0.007569723129272461,
0.007555642127990723,
0.007547643184661865,
0.007539802074432373,
0.007569403171539307,
0.007515963077545166,
0.007513883113861084,
0.007555642127990723,
0.007581082820892334,
0.007538362979888916,
0.007540441989898681
]
},
"throughput": {
"unit": "samples/s",
"value": 125.76044736988105
},
"energy": null,
"efficiency": null
}
}
}