
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
26e01b2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 719.536128, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1252890625, | |
"mean": 7.1252890625, | |
"stdev": 0.0, | |
"p50": 7.1252890625, | |
"p90": 7.1252890625, | |
"p95": 7.1252890625, | |
"p99": 7.1252890625, | |
"values": [ | |
7.1252890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.158747063742745e-07, | |
"ram": 4.568830785045937e-07, | |
"gpu": 0.0, | |
"total": 1.3727577848788682e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 919.3472, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.001888800621033, | |
"mean": 0.0074767820941868115, | |
"stdev": 0.00036200216368497843, | |
"p50": 0.007373824119567871, | |
"p90": 0.0077725695610046395, | |
"p95": 0.007982796788215637, | |
"p99": 0.00876343276977539, | |
"values": [ | |
0.007982079982757568, | |
0.007930880069732665, | |
0.007945216178894043, | |
0.007988160133361816, | |
0.007945216178894043, | |
0.007402495861053467, | |
0.007409664154052734, | |
0.007350272178649903, | |
0.007700479984283447, | |
0.00729804801940918, | |
0.007315423965454102, | |
0.007238656044006348, | |
0.007132160186767578, | |
0.0072837119102478025, | |
0.007279615879058838, | |
0.007373824119567871, | |
0.007372799873352051, | |
0.007357439994812012, | |
0.007287807941436767, | |
0.007266304016113281, | |
0.007319551944732666, | |
0.007677951812744141, | |
0.008450048446655273, | |
0.007753727912902832, | |
0.007751679897308349, | |
0.007707647800445557, | |
0.0076687359809875484, | |
0.007716864109039307, | |
0.007749631881713868, | |
0.007812096118927002, | |
0.007605247974395752, | |
0.007624703884124756, | |
0.007665664196014404, | |
0.0076605439186096195, | |
0.007664639949798584, | |
0.0077270717620849605, | |
0.00769536018371582, | |
0.007751679897308349, | |
0.007779327869415284, | |
0.0077547521591186525, | |
0.007704576015472412, | |
0.007628799915313721, | |
0.007669760227203369, | |
0.007729152202606201, | |
0.007712768077850342, | |
0.007697408199310303, | |
0.007708703994750977, | |
0.007556096076965332, | |
0.007616511821746826, | |
0.00764518404006958, | |
0.007710720062255859, | |
0.007665664196014404, | |
0.007612448215484619, | |
0.00765337610244751, | |
0.007640063762664795, | |
0.007651328086853027, | |
0.007674880027770996, | |
0.00765337610244751, | |
0.007825407981872558, | |
0.007756800174713135, | |
0.007730175971984863, | |
0.0076912641525268555, | |
0.007669760227203369, | |
0.0076984319686889645, | |
0.007647232055664062, | |
0.007617536067962646, | |
0.007749631881713868, | |
0.007620607852935791, | |
0.007592959880828858, | |
0.007507967948913574, | |
0.007599103927612305, | |
0.007610367774963379, | |
0.007269375801086426, | |
0.007277567863464355, | |
0.007302144050598145, | |
0.007984127998352051, | |
0.008666111946105956, | |
0.008755200386047364, | |
0.008845312118530273, | |
0.008767487525939942, | |
0.007622655868530274, | |
0.007570432186126709, | |
0.007364607810974121, | |
0.0072499198913574215, | |
0.007264256000518799, | |
0.007231488227844239, | |
0.007201791763305664, | |
0.007269375801086426, | |
0.007287807941436767, | |
0.007285759925842285, | |
0.007260159969329834, | |
0.007236608028411865, | |
0.00722431993484497, | |
0.007223296165466309, | |
0.007188479900360107, | |
0.007236639976501465, | |
0.007203872203826904, | |
0.007200767993927002, | |
0.007113728046417236, | |
0.0070891518592834475, | |
0.007123968124389648, | |
0.007103519916534424, | |
0.007107583999633789, | |
0.007050240039825439, | |
0.007053311824798584, | |
0.007067647933959961, | |
0.007063551902770996, | |
0.007045119762420654, | |
0.007019552230834961, | |
0.007077888011932373, | |
0.0071188478469848635, | |
0.007109600067138672, | |
0.007101439952850342, | |
0.007120895862579346, | |
0.007129087924957276, | |
0.007373824119567871, | |
0.007156735897064209, | |
0.007063551902770996, | |
0.007106560230255127, | |
0.007098368167877197, | |
0.007080959796905518, | |
0.007053311824798584, | |
0.007222271919250488, | |
0.007164927959442138, | |
0.007157760143280029, | |
0.007157760143280029, | |
0.007130112171173096, | |
0.007069695949554444, | |
0.00708403205871582, | |
0.0071198720932006835, | |
0.007096320152282715, | |
0.007187456130981445, | |
0.007215104103088379, | |
0.0072202239036560055 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.74737786961836 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.05311822318458e-08, | |
"ram": 4.402971528445836e-08, | |
"gpu": 1.535061288108108e-07, | |
"total": 2.780670263271149e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3596255.238201495 | |
} | |
} | |
} | |
} |