IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
816c08e
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "e185b4a299427f88d515b3c18d3c0c0dc8e91cd8", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.467008, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 43673.919488, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.8372431640625, | |
"mean": 6.8372431640625, | |
"stdev": 0.0, | |
"p50": 6.8372431640625, | |
"p90": 6.8372431640625, | |
"p95": 6.8372431640625, | |
"p99": 6.8372431640625, | |
"values": [ | |
6.8372431640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1013.0432, | |
"max_global_vram": 898.420736, | |
"max_process_vram": 200472.694784, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9966044816970823, | |
"mean": 0.007221771606500599, | |
"stdev": 8.716951660222423e-05, | |
"p50": 0.007203494548797608, | |
"p90": 0.007277782821655273, | |
"p95": 0.007335935163497924, | |
"p99": 0.007504835948944092, | |
"values": [ | |
0.007111574172973633, | |
0.0070944538116455074, | |
0.007122774124145508, | |
0.007929019927978516, | |
0.0071579737663269045, | |
0.007168374061584473, | |
0.007221814155578613, | |
0.007240534782409668, | |
0.0072746148109436035, | |
0.0072318949699401855, | |
0.007249975204467773, | |
0.007205335140228272, | |
0.007255895137786865, | |
0.007247894763946533, | |
0.007226775169372559, | |
0.007212374210357666, | |
0.0072117338180542, | |
0.007213654994964599, | |
0.00723221492767334, | |
0.007247574806213379, | |
0.007203733921051026, | |
0.007257335186004639, | |
0.007195573806762695, | |
0.007223094940185547, | |
0.007226133823394775, | |
0.0072856550216674806, | |
0.007200694084167481, | |
0.007200694084167481, | |
0.00720597505569458, | |
0.0071794137954711915, | |
0.007215095043182373, | |
0.0071782941818237305, | |
0.007198773860931397, | |
0.007194934844970703, | |
0.007181014060974121, | |
0.007183255195617676, | |
0.0071811738014221195, | |
0.007182454109191895, | |
0.0072083740234375, | |
0.007183414936065674, | |
0.007171733856201172, | |
0.007169973850250244, | |
0.007179093837738037, | |
0.007189653873443604, | |
0.007191413879394531, | |
0.00718741512298584, | |
0.007190293788909912, | |
0.007182775020599365, | |
0.007240694999694824, | |
0.0071910939216613765, | |
0.007206614971160889, | |
0.007201173782348633, | |
0.007172373771667481, | |
0.007219894886016846, | |
0.007210934162139892, | |
0.007203413963317871, | |
0.007170613765716553, | |
0.007180374145507812, | |
0.00720565414428711, | |
0.007214613914489746, | |
0.007199573993682862, | |
0.00720645523071289, | |
0.007184214115142822, | |
0.007213174819946289, | |
0.007184534072875976, | |
0.007198773860931397, | |
0.0071813340187072755, | |
0.007197174072265625, | |
0.0072123751640319825, | |
0.007238934993743897, | |
0.007203733921051026, | |
0.007207734107971191, | |
0.00721253490447998, | |
0.007185334205627441, | |
0.007193815231323242, | |
0.0071934938430786135, | |
0.007149013996124267, | |
0.007177974224090576, | |
0.007199094772338867, | |
0.007194774150848389, | |
0.007203574180603027, | |
0.007184534072875976, | |
0.007171093940734863, | |
0.007193974018096924, | |
0.007213813781738281, | |
0.007187254905700683, | |
0.0071930141448974605, | |
0.0071840548515319826, | |
0.007204373836517334, | |
0.007190134048461914, | |
0.007191733837127685, | |
0.00718821382522583, | |
0.007224215030670166, | |
0.0071813340187072755, | |
0.007157174110412598, | |
0.0072083740234375, | |
0.0072186141014099125, | |
0.0072123751640319825, | |
0.0072214951515197755, | |
0.0074885358810424804, | |
0.007499896049499512, | |
0.007468215942382813, | |
0.007507737159729004, | |
0.007426455974578857, | |
0.007323735237121582, | |
0.007270134925842285, | |
0.007288215160369873, | |
0.00728517484664917, | |
0.00731605577468872, | |
0.007334615230560303, | |
0.007343414783477783, | |
0.007306295871734619, | |
0.007196854114532471, | |
0.007194455146789551, | |
0.007190134048461914, | |
0.007190934181213379, | |
0.007185013771057129, | |
0.007222293853759765, | |
0.007206775188446045, | |
0.0071885337829589845, | |
0.007199254035949707, | |
0.007216535091400147, | |
0.007170293807983398, | |
0.007194614887237548, | |
0.007246135234832763, | |
0.007212853908538818, | |
0.007213654041290284, | |
0.007229014873504639, | |
0.007203414916992188, | |
0.00720789384841919, | |
0.007193173885345459, | |
0.007208535194396973, | |
0.007215094089508056, | |
0.007195734024047852, | |
0.007204535007476806, | |
0.00715621280670166, | |
0.007184534072875976, | |
0.007234774112701416 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.47017802388834 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |