IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
dfbba22
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 956.301312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44702.86336, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.87573876953125, | |
"mean": 7.87573876953125, | |
"stdev": 0.0, | |
"p50": 7.87573876953125, | |
"p90": 7.87573876953125, | |
"p95": 7.87573876953125, | |
"p99": 7.87573876953125, | |
"values": [ | |
7.87573876953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.991744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 234118.43072, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 0.9974469661712653, | |
"mean": 0.007334168868906358, | |
"stdev": 0.0009765891690138035, | |
"p50": 0.0071911301612854, | |
"p90": 0.007735450506210327, | |
"p95": 0.007966851234436035, | |
"p99": 0.009930677413940443, | |
"values": [ | |
0.017402904510498047, | |
0.005162247180938721, | |
0.007853929996490478, | |
0.007630889892578125, | |
0.00741825008392334, | |
0.007424650192260743, | |
0.007385611057281494, | |
0.007339049816131591, | |
0.008318571090698243, | |
0.007242090225219726, | |
0.007320970058441162, | |
0.00720048999786377, | |
0.007197289943695068, | |
0.0072166500091552736, | |
0.007277130126953125, | |
0.007211050033569336, | |
0.007237770080566406, | |
0.007275209903717041, | |
0.00732273006439209, | |
0.007339049816131591, | |
0.0073091301918029785, | |
0.007283689975738525, | |
0.007314410209655762, | |
0.0072950501441955565, | |
0.007291369915008545, | |
0.007268650054931641, | |
0.007433609962463379, | |
0.007470890998840332, | |
0.007390890121459961, | |
0.010798734664916992, | |
0.007355370044708252, | |
0.007110089778900147, | |
0.007080328941345215, | |
0.0071982498168945315, | |
0.007174890041351318, | |
0.00713440990447998, | |
0.007141129970550537, | |
0.007110249042510986, | |
0.007086090087890625, | |
0.007201449871063232, | |
0.007082890033721924, | |
0.007165770053863526, | |
0.007140169143676758, | |
0.007162569999694824, | |
0.007120329856872559, | |
0.0071030502319335935, | |
0.007073288917541504, | |
0.00707568883895874, | |
0.00714976978302002, | |
0.007123370170593262, | |
0.007145450115203857, | |
0.00708768892288208, | |
0.007102250099182129, | |
0.007106249809265137, | |
0.0070564899444580075, | |
0.007092968940734863, | |
0.007236489772796631, | |
0.007213610172271729, | |
0.007182250022888184, | |
0.007194250106811523, | |
0.00698608922958374, | |
0.006984649181365966, | |
0.0069633698463439945, | |
0.006981928825378418, | |
0.006992489814758301, | |
0.006987849235534668, | |
0.006991528987884522, | |
0.006957290172576905, | |
0.006901769161224365, | |
0.0069108901023864746, | |
0.006988008975982666, | |
0.0069897699356079104, | |
0.006999689102172852, | |
0.00712785005569458, | |
0.006984010219573975, | |
0.0070059289932250975, | |
0.007005770206451416, | |
0.006999849796295166, | |
0.006994248867034912, | |
0.0069756898880004884, | |
0.007031050205230713, | |
0.007137769222259521, | |
0.007164969921112061, | |
0.007196330070495606, | |
0.007144969940185547, | |
0.007198729991912842, | |
0.007114250183105469, | |
0.007196329116821289, | |
0.007197608947753906, | |
0.007184969902038574, | |
0.007008810043334961, | |
0.0071880102157592775, | |
0.007020968914031983, | |
0.006985610008239746, | |
0.006972169876098633, | |
0.006967208862304688, | |
0.006984650135040283, | |
0.0069723291397094725, | |
0.006970089912414551, | |
0.006966729164123536, | |
0.007232170104980468, | |
0.007448010921478272, | |
0.007390890121459961, | |
0.007423210144042969, | |
0.007204010009765625, | |
0.007378570079803467, | |
0.007431049823760986, | |
0.007430409908294678, | |
0.007458890914916992, | |
0.007415050029754638, | |
0.007343050003051758, | |
0.007348010063171387, | |
0.007465290069580078, | |
0.008006410598754883, | |
0.007943211078643798, | |
0.008010411262512207, | |
0.00784001111984253, | |
0.007443850040435791, | |
0.007440969944000244, | |
0.007468329906463623, | |
0.007576650142669678, | |
0.007963691234588623, | |
0.00798417091369629, | |
0.007950410842895508, | |
0.007951210975646973, | |
0.007958090782165528, | |
0.007976331233978272, | |
0.007490890026092529, | |
0.007336490154266358, | |
0.007028649806976319, | |
0.006987209796905518, | |
0.006978728771209717, | |
0.006994729995727539, | |
0.00699648904800415, | |
0.006989129066467285, | |
0.006990250110626221 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.34810131514138 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |