IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
baedfb9
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": "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": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c", | |
"transformers_version": "4.41.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.27776, | |
"max_global_vram": 1878.843392, | |
"max_process_vram": 183963.787264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 0.9988508753776547, | |
"mean": 0.008187302257193893, | |
"stdev": 0.0008325375582365479, | |
"p50": 0.008005293369293214, | |
"p90": 0.008488862133026123, | |
"p95": 0.008565380716323852, | |
"p99": 0.012906868906021118, | |
"values": [ | |
0.013899382591247558, | |
0.012841139793395996, | |
0.012924341201782227, | |
0.008580333709716797, | |
0.008596814155578614, | |
0.008566892623901368, | |
0.008465293884277345, | |
0.008419532775878907, | |
0.008383373260498046, | |
0.00838657283782959, | |
0.008407533645629883, | |
0.008369772911071778, | |
0.008379054069519044, | |
0.00850945281982422, | |
0.008511693000793456, | |
0.008436333656311036, | |
0.00849681282043457, | |
0.008536654472351074, | |
0.008601934432983398, | |
0.00844337272644043, | |
0.008448013305664063, | |
0.008472014427185058, | |
0.008462892532348634, | |
0.008490734100341797, | |
0.008496013641357422, | |
0.008461133003234863, | |
0.008023693084716796, | |
0.008028173446655273, | |
0.008004973411560059, | |
0.007993453025817871, | |
0.00800129222869873, | |
0.007990091800689698, | |
0.00798753309249878, | |
0.008009292602539063, | |
0.007988492965698242, | |
0.007992813110351563, | |
0.007979533195495606, | |
0.00798769187927246, | |
0.008014412879943847, | |
0.008057453155517579, | |
0.008048012733459472, | |
0.007988812923431397, | |
0.008037933349609375, | |
0.008024012565612793, | |
0.008031533241271973, | |
0.008057613372802735, | |
0.008017132759094239, | |
0.008015052795410156, | |
0.008026091575622559, | |
0.008012812614440918, | |
0.008018572807312012, | |
0.008001933097839356, | |
0.0080267333984375, | |
0.00800785255432129, | |
0.008036333084106445, | |
0.008004813194274903, | |
0.008018732070922852, | |
0.007924013137817383, | |
0.008052812576293946, | |
0.008002093315124512, | |
0.008044973373413086, | |
0.008039532661437988, | |
0.008011853218078614, | |
0.007934572219848633, | |
0.007658573150634765, | |
0.007733771800994873, | |
0.007692492008209229, | |
0.007510251998901367, | |
0.00791169309616089, | |
0.00791377305984497, | |
0.007975372791290283, | |
0.007943051815032959, | |
0.007628013134002685, | |
0.007634252071380615, | |
0.007959533214569091, | |
0.007927052021026611, | |
0.007919532775878906, | |
0.008113292694091797, | |
0.007993612766265869, | |
0.007924973011016846, | |
0.007941771984100341, | |
0.00791953182220459, | |
0.007905292987823486, | |
0.00790609312057495, | |
0.007887372016906738, | |
0.007896973133087157, | |
0.007929772853851318, | |
0.007878891944885254, | |
0.007900813102722167, | |
0.007905292987823486, | |
0.007918251991271972, | |
0.007911212921142578, | |
0.00791393280029297, | |
0.007917932987213135, | |
0.007932332038879395, | |
0.007910733222961425, | |
0.007902732849121094, | |
0.007917131900787354, | |
0.007919212818145753, | |
0.007918413162231446, | |
0.007918093204498291, | |
0.00799041223526001, | |
0.007974732875823974, | |
0.007979372978210449, | |
0.008033132553100586, | |
0.00800385284423828, | |
0.008004332542419433, | |
0.008005932807922363, | |
0.008027532577514648, | |
0.008001771926879883, | |
0.007998093128204346, | |
0.007992493152618409, | |
0.008005613327026368, | |
0.008048012733459472, | |
0.007995852947235108, | |
0.00799457311630249, | |
0.008031851768493652, | |
0.008010412216186523, | |
0.008040012359619141, | |
0.00800945281982422, | |
0.008054412841796876, | |
0.008028173446655273 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.14035448872494 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |