IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0d3ba80
verified
{ | |
"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": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61", | |
"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.503872, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 40474.042368, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.7721630859375, | |
"mean": 6.7721630859375, | |
"stdev": 0.0, | |
"p50": 6.7721630859375, | |
"p90": 6.7721630859375, | |
"p95": 6.7721630859375, | |
"p99": 6.7721630859375, | |
"values": [ | |
6.7721630859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1013.06368, | |
"max_global_vram": 898.277376, | |
"max_process_vram": 207510.110208, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9953487696647646, | |
"mean": 0.007212672243947569, | |
"stdev": 0.00018768500832396954, | |
"p50": 0.007149514198303223, | |
"p90": 0.007418922090530395, | |
"p95": 0.007465729951858521, | |
"p99": 0.008065273251533504, | |
"values": [ | |
0.007540153980255127, | |
0.007462873935699463, | |
0.007581433773040771, | |
0.008349432945251464, | |
0.007580472946166992, | |
0.007452154159545898, | |
0.007481914043426513, | |
0.007489113807678222, | |
0.007360952854156494, | |
0.007381753921508789, | |
0.007333754062652588, | |
0.007322874069213867, | |
0.007297433853149414, | |
0.007256474018096924, | |
0.007233593940734863, | |
0.007152153968811035, | |
0.007186553955078125, | |
0.007180473804473877, | |
0.007207833766937256, | |
0.008506233215332032, | |
0.007418394088745117, | |
0.007111033916473389, | |
0.007094394207000732, | |
0.007139033794403076, | |
0.0071159939765930175, | |
0.007102394104003906, | |
0.007094873905181885, | |
0.007072793960571289, | |
0.007104633808135986, | |
0.007127833843231201, | |
0.007097914218902588, | |
0.007077273845672608, | |
0.0071209540367126465, | |
0.007088154792785645, | |
0.00713279390335083, | |
0.00712191390991211, | |
0.007109114170074463, | |
0.00708799409866333, | |
0.007125113964080811, | |
0.007107193946838379, | |
0.007091673851013183, | |
0.0071116738319396975, | |
0.0071283140182495115, | |
0.007115513801574707, | |
0.007126873970031739, | |
0.007107034206390381, | |
0.007141114234924317, | |
0.007120153903961182, | |
0.007131353855133056, | |
0.007135993957519531, | |
0.007139194965362549, | |
0.007115994930267334, | |
0.007096794128417969, | |
0.007145274162292481, | |
0.007104313850402832, | |
0.007107354164123535, | |
0.007132314205169678, | |
0.007121754169464111, | |
0.00722607421875, | |
0.0071348738670349125, | |
0.007115193843841553, | |
0.00710655403137207, | |
0.007097914218902588, | |
0.007111353874206543, | |
0.007085114002227783, | |
0.007133913993835449, | |
0.007171353816986084, | |
0.0071276741027832035, | |
0.0071095948219299316, | |
0.007125914096832275, | |
0.007142074108123779, | |
0.007169593811035156, | |
0.007151994228363037, | |
0.007181913852691651, | |
0.007148794174194336, | |
0.007128794193267823, | |
0.00715023422241211, | |
0.007141754150390625, | |
0.007154074192047119, | |
0.007135354042053223, | |
0.007175993919372558, | |
0.007162874221801758, | |
0.007145753860473633, | |
0.007161593914031982, | |
0.007147034168243408, | |
0.00716383409500122, | |
0.007186073780059815, | |
0.007143673896789551, | |
0.007146234035491943, | |
0.007151994228363037, | |
0.0072039937973022465, | |
0.007126073837280273, | |
0.007161913871765136, | |
0.007127994060516357, | |
0.007139513969421387, | |
0.007146073818206787, | |
0.007448634147644043, | |
0.007420154094696045, | |
0.007451354026794433, | |
0.007408473968505859, | |
0.007263673782348633, | |
0.00738303279876709, | |
0.007389433860778808, | |
0.007439993858337403, | |
0.0074414339065551754, | |
0.007389113903045654, | |
0.007269753932952881, | |
0.007335352897644043, | |
0.007327993869781494, | |
0.00726543378829956, | |
0.0073436741828918455, | |
0.007187193870544434, | |
0.007152634143829346, | |
0.00722015380859375, | |
0.007159833908081055, | |
0.0071350340843200685, | |
0.007170234203338623, | |
0.0071595139503479, | |
0.00712623405456543, | |
0.00712239408493042, | |
0.007166714191436768, | |
0.0071710338592529295, | |
0.007166234016418457, | |
0.007169114112854004, | |
0.007129594802856445, | |
0.007165275096893311, | |
0.007147674083709717, | |
0.007154714107513427, | |
0.007152793884277343, | |
0.007130874156951904, | |
0.007159354209899903, | |
0.007116953849792481, | |
0.007142074108123779, | |
0.007187674045562744, | |
0.007173113822937012, | |
0.007164953231811523, | |
0.007145433902740478, | |
0.007173593997955322 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.64486922154802 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |