IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7bb3e6f
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 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.3.1", | |
"optimum_benchmark_commit": "61123f7169ae188508e9e8c5ca6b9a54a00965ed", | |
"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": 900.988928, | |
"max_global_vram": 841.764864, | |
"max_process_vram": 49877.192704, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.016189453125, | |
"mean": 8.016189453125, | |
"stdev": 0.0, | |
"p50": 8.016189453125, | |
"p90": 8.016189453125, | |
"p95": 8.016189453125, | |
"p99": 8.016189453125, | |
"values": [ | |
8.016189453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.490816, | |
"max_global_vram": 898.265088, | |
"max_process_vram": 213892.194304, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 0.9982412681579591, | |
"mean": 0.007678778985830453, | |
"stdev": 0.00033205882845533725, | |
"p50": 0.007587974548339844, | |
"p90": 0.007879685878753663, | |
"p95": 0.008193957233428955, | |
"p99": 0.0085196826171875, | |
"values": [ | |
0.008261411666870118, | |
0.007924612998962402, | |
0.007863492965698242, | |
0.007807494163513184, | |
0.007825094223022461, | |
0.00779517412185669, | |
0.007872933864593507, | |
0.008061092376708984, | |
0.007879333972930908, | |
0.007794054031372071, | |
0.00784557294845581, | |
0.00778365421295166, | |
0.0077831740379333495, | |
0.007760454177856446, | |
0.007697733879089355, | |
0.00766413402557373, | |
0.007696774005889893, | |
0.007649573802947998, | |
0.007710854053497315, | |
0.007606054782867432, | |
0.007675174236297607, | |
0.0076159749031066894, | |
0.007631333827972412, | |
0.010585083961486816, | |
0.0076670141220092775, | |
0.007520934104919433, | |
0.007548133850097657, | |
0.007486215114593506, | |
0.0074593348503112795, | |
0.007471014022827149, | |
0.007467014789581299, | |
0.007515334129333496, | |
0.0074825348854064945, | |
0.007495974063873291, | |
0.007477574825286866, | |
0.007463174819946289, | |
0.007699813842773438, | |
0.007490214824676514, | |
0.0075745339393615725, | |
0.007668933868408203, | |
0.0075463738441467285, | |
0.007544135093688965, | |
0.007544455051422119, | |
0.007557414054870606, | |
0.007557415008544922, | |
0.007527655124664307, | |
0.007522213935852051, | |
0.007564294815063477, | |
0.007556774139404297, | |
0.0075678138732910155, | |
0.007524294853210449, | |
0.00755389404296875, | |
0.007549893856048584, | |
0.007514054775238037, | |
0.0075775737762451174, | |
0.007576774120330811, | |
0.0075663747787475585, | |
0.007528133869171142, | |
0.00758829402923584, | |
0.0076247739791870115, | |
0.007592615127563477, | |
0.007639015197753906, | |
0.00759789514541626, | |
0.007578534126281738, | |
0.007514533996582032, | |
0.007549735069274902, | |
0.00759213399887085, | |
0.007569094181060791, | |
0.007578694820404052, | |
0.007540935039520263, | |
0.007588453769683838, | |
0.007530375003814697, | |
0.007594854831695557, | |
0.007542054176330567, | |
0.007539813995361328, | |
0.007548455238342285, | |
0.0075343742370605465, | |
0.007733414173126221, | |
0.007559174060821533, | |
0.007595173835754395, | |
0.007598054885864258, | |
0.00758429479598999, | |
0.007640453815460205, | |
0.007601093769073486, | |
0.007574853897094727, | |
0.007544294834136963, | |
0.0075414152145385745, | |
0.00761229419708252, | |
0.007617094039916992, | |
0.00754061508178711, | |
0.007589254856109619, | |
0.007552453994750977, | |
0.007549253940582276, | |
0.007551334857940674, | |
0.00765165376663208, | |
0.0075775737762451174, | |
0.0076106939315795895, | |
0.007628293991088867, | |
0.007619654178619385, | |
0.007607334136962891, | |
0.0075590147972106935, | |
0.007554533958435058, | |
0.007594054222106934, | |
0.00812717342376709, | |
0.0074825348854064945, | |
0.007559654235839844, | |
0.007579813957214356, | |
0.007598214149475098, | |
0.007522375106811524, | |
0.0074871740341186524, | |
0.007652294158935547, | |
0.007603495121002197, | |
0.007591014862060547, | |
0.007562533855438232, | |
0.007585093975067138, | |
0.0075726151466369625, | |
0.007587655067443848, | |
0.007586214065551758, | |
0.007597574234008789, | |
0.0075814142227172854, | |
0.007619654178619385, | |
0.007591654777526855, | |
0.007882853031158448, | |
0.008472451210021973, | |
0.008474370002746583, | |
0.008168613433837891, | |
0.008214693069458007, | |
0.00850957202911377, | |
0.008523812294006347, | |
0.008117252349853516 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.22903795581126 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |