IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2442020
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1106.812928, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4501.004288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08644545745849609 | |
], | |
"count": 1, | |
"total": 0.08644545745849609, | |
"mean": 0.08644545745849609, | |
"p50": 0.08644545745849609, | |
"p90": 0.08644545745849609, | |
"p95": 0.08644545745849609, | |
"p99": 0.08644545745849609, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1229.778944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 230355.349504, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00786269187927246, | |
0.007625093936920166, | |
0.007648773193359375, | |
0.007510054111480713, | |
0.007558534145355225, | |
0.007559174060821533, | |
0.007542532920837402, | |
0.007406854152679444, | |
0.007292134761810303, | |
0.007544293880462647, | |
0.0075194940567016606, | |
0.007346694946289063, | |
0.007280294895172119, | |
0.0070863752365112305, | |
0.0072391748428344725, | |
0.007056775093078613, | |
0.00665805721282959, | |
0.006823336124420166, | |
0.006839655876159668, | |
0.006652457237243652, | |
0.006673417091369629, | |
0.006634056091308594, | |
0.015959625244140626, | |
0.007784933090209961, | |
0.0068436570167541505, | |
0.006670055866241455, | |
0.006703816890716553, | |
0.006674057006835938, | |
0.006636456966400146, | |
0.006674376964569092, | |
0.006665896892547607, | |
0.006860616207122802, | |
0.006884615898132324, | |
0.0067439770698547365, | |
0.006737095832824707, | |
0.006877255916595459, | |
0.006686697006225586, | |
0.0066943769454956056, | |
0.006840136051177979, | |
0.006896615982055664, | |
0.006785416126251221, | |
0.006655177116394043, | |
0.006691176891326905, | |
0.006650537014007568, | |
0.007569893836975098, | |
0.0074986939430236816, | |
0.007269895076751709, | |
0.00746877384185791, | |
0.007498213768005371, | |
0.007530693054199219, | |
0.007342215061187744, | |
0.007987971782684327, | |
0.007159335136413574, | |
0.007427333831787109, | |
0.007236614227294922, | |
0.007094855785369873, | |
0.00723725414276123, | |
0.007346214771270752, | |
0.0073358149528503416, | |
0.007063974857330322, | |
0.007230374813079834, | |
0.007039334774017334, | |
0.007038536071777343, | |
0.007324773788452149, | |
0.00714925479888916, | |
0.007012455940246582, | |
0.007372614860534668, | |
0.007240774154663086, | |
0.0070567760467529295, | |
0.00738573408126831, | |
0.0072687740325927735, | |
0.007611333847045898, | |
0.007585573196411133, | |
0.007543653964996338, | |
0.007515974044799804, | |
0.007475813865661621, | |
0.00718093490600586, | |
0.007153894901275635, | |
0.007159655094146729, | |
0.007019336223602295, | |
0.007136616230010986, | |
0.007511973857879639, | |
0.0075678138732910155, | |
0.007555333137512207, | |
0.007608774185180664, | |
0.007562693119049072, | |
0.007561254024505615, | |
0.007553893089294434, | |
0.007530694007873535, | |
0.0071700549125671385, | |
0.006874855995178223, | |
0.007027975082397461, | |
0.007218854904174805, | |
0.007025094985961914, | |
0.007615653991699218, | |
0.007513733863830566, | |
0.007581254005432129, | |
0.007377574920654297, | |
0.0071700549125671385, | |
0.007388615131378174, | |
0.007245093822479248, | |
0.007039815902709961, | |
0.007196935176849365, | |
0.006930215835571289, | |
0.0067084569931030276, | |
0.006732135772705078, | |
0.006740937232971192, | |
0.006730535984039307, | |
0.006701577186584473, | |
0.00668557596206665, | |
0.006853096008300781, | |
0.006802056789398193, | |
0.006728456974029541, | |
0.0067393360137939454, | |
0.006723816871643066, | |
0.0068078160285949705, | |
0.006782536029815674, | |
0.006732457160949707, | |
0.006773416042327881, | |
0.006743337154388428, | |
0.006726377010345459, | |
0.00674669599533081, | |
0.006764616966247559, | |
0.0067436561584472655, | |
0.0067503762245178225, | |
0.006740777015686035, | |
0.006725416183471679, | |
0.006758216857910156, | |
0.006732776165008545, | |
0.006680777072906494, | |
0.006727175235748291, | |
0.006689416885375977, | |
0.006753736019134522, | |
0.006716136932373047, | |
0.00671725606918335, | |
0.00669901704788208, | |
0.006740456104278565, | |
0.006715657234191895, | |
0.0067343759536743165, | |
0.006710696220397949 | |
], | |
"count": 140, | |
"total": 0.9999337997436525, | |
"mean": 0.00714238428388323, | |
"p50": 0.007039575338363647, | |
"p90": 0.007561397933959961, | |
"p95": 0.007611549854278564, | |
"p99": 0.007939112620353697, | |
"stdev": 0.0008265530341704439, | |
"stdev_": 11.572508581420891 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.00926864947567 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |