IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
18d3479
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.3.1", | |
"optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.15488, | |
"max_global_vram": 898.482176, | |
"max_process_vram": 176362.962944, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.0019574594497682, | |
"mean": 0.007156838996069771, | |
"stdev": 0.00032342772360364705, | |
"p50": 0.006974406957626343, | |
"p90": 0.007475239038467407, | |
"p95": 0.007547590994834899, | |
"p99": 0.008098346815109249, | |
"values": [ | |
0.00796736717224121, | |
0.0074036879539489744, | |
0.007450087070465088, | |
0.007594727039337158, | |
0.007546247005462647, | |
0.0074049668312072756, | |
0.0075046482086181645, | |
0.007507206916809082, | |
0.007444966793060303, | |
0.007416007995605468, | |
0.007448486804962158, | |
0.007434086799621582, | |
0.0073699278831481935, | |
0.007363526821136474, | |
0.007394727230072022, | |
0.007381446838378906, | |
0.007372807025909424, | |
0.007366567134857178, | |
0.007391366958618164, | |
0.007351208209991455, | |
0.007339847087860107, | |
0.007461606979370117, | |
0.007516647815704346, | |
0.007417606830596924, | |
0.007464006900787353, | |
0.007435527801513672, | |
0.0074142470359802246, | |
0.007406726837158203, | |
0.0074292879104614256, | |
0.007408486843109131, | |
0.007427367210388183, | |
0.007436808109283447, | |
0.009445769309997559, | |
0.008182087898254394, | |
0.006975206851959228, | |
0.006958247184753418, | |
0.006967846870422363, | |
0.006942726135253906, | |
0.006982406139373779, | |
0.006957606792449951, | |
0.006983366966247559, | |
0.006938567161560058, | |
0.00697232723236084, | |
0.00698704719543457, | |
0.006982566833496094, | |
0.006971207141876221, | |
0.006969925880432129, | |
0.006964807033538818, | |
0.00697232723236084, | |
0.007185926914215088, | |
0.006968807220458984, | |
0.0069830470085144045, | |
0.006956966876983642, | |
0.006933927059173584, | |
0.006960806846618653, | |
0.006955525875091553, | |
0.006980806827545166, | |
0.007156486988067627, | |
0.006959687232971192, | |
0.0069646468162536624, | |
0.006990726947784424, | |
0.007175847053527832, | |
0.006977127075195312, | |
0.006964487075805664, | |
0.006986247062683105, | |
0.00705040693283081, | |
0.006986727237701416, | |
0.006969446182250976, | |
0.0069854469299316406, | |
0.006973607063293457, | |
0.006933766841888428, | |
0.006943367004394531, | |
0.006954246997833252, | |
0.006926887035369873, | |
0.0069636859893798825, | |
0.00696256685256958, | |
0.006975526809692383, | |
0.006952006816864014, | |
0.006944326877593994, | |
0.006964487075805664, | |
0.006954566955566406, | |
0.006940805912017822, | |
0.0069665670394897464, | |
0.00695600700378418, | |
0.006958887100219726, | |
0.006950246810913086, | |
0.0069280071258544925, | |
0.006948805809020996, | |
0.0069704060554504396, | |
0.006944326877593994, | |
0.006987687110900879, | |
0.006979207038879395, | |
0.0069531269073486324, | |
0.006914727210998535, | |
0.0076276869773864745, | |
0.007461287975311279, | |
0.007455526828765869, | |
0.0074283270835876465, | |
0.007717448234558106, | |
0.007425286769866943, | |
0.007472806930541992, | |
0.007437606811523437, | |
0.007573126792907715, | |
0.007521607875823975, | |
0.00752480697631836, | |
0.007497128009796143, | |
0.007428647041320801, | |
0.007281766891479492, | |
0.007144806861877441, | |
0.007232807159423828, | |
0.007271846771240234, | |
0.006927206993103028, | |
0.006934566974639893, | |
0.0069310469627380375, | |
0.006940007209777832, | |
0.006921926975250244, | |
0.006942885875701904, | |
0.0069262471199035645, | |
0.006937447071075439, | |
0.006914727210998535, | |
0.006933927059173584, | |
0.00691728687286377, | |
0.006917605876922608, | |
0.006922566890716552, | |
0.006943206787109375, | |
0.006927206993103028, | |
0.0069267268180847165, | |
0.006930087089538574, | |
0.006939685821533203, | |
0.006924966812133789, | |
0.006943686962127686, | |
0.006932326793670654, | |
0.006931207180023193, | |
0.006911527156829834, | |
0.006965126037597656, | |
0.0069520058631896975, | |
0.006939046859741211, | |
0.006957286834716797, | |
0.006954246997833252, | |
0.006941926956176758 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.72649105969228 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |