
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bec5d83
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.455552, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.1991690216064453 | |
], | |
"count": 1, | |
"total": 0.1991690216064453, | |
"mean": 0.1991690216064453, | |
"p50": 0.1991690216064453, | |
"p90": 0.1991690216064453, | |
"p95": 0.1991690216064453, | |
"p99": 0.1991690216064453, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1088.8192, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005882880210876465, | |
0.005695487976074219, | |
0.005636096000671387, | |
0.005650432109832764, | |
0.005645311832427978, | |
0.005620800018310547, | |
0.005617663860321045, | |
0.005583871841430664, | |
0.005659647941589355, | |
0.005597184181213379, | |
0.005593088150024414, | |
0.005611519813537597, | |
0.005580832004547119, | |
0.00562275218963623, | |
0.005586944103240967, | |
0.005610496044158936, | |
0.0055756158828735355, | |
0.00557260799407959, | |
0.0055797758102417, | |
0.00555622386932373, | |
0.005581823825836182, | |
0.0055808000564575196, | |
0.005542912006378174, | |
0.005662720203399658, | |
0.005563392162322998, | |
0.005619711875915527, | |
0.005635072231292724, | |
0.005868544101715088, | |
0.005947360038757324, | |
0.005773312091827393, | |
0.005619711875915527, | |
0.005559296131134033, | |
0.005574656009674072, | |
0.005604351997375488, | |
0.005565440177917481, | |
0.005795839786529541, | |
0.005576704025268555, | |
0.005583871841430664, | |
0.005599232196807862, | |
0.005654528141021729, | |
0.005608448028564453, | |
0.005561344146728516, | |
0.005620736122131348, | |
0.005679103851318359, | |
0.005600255966186523, | |
0.005591040134429932, | |
0.005560319900512695, | |
0.0055797758102417, | |
0.0055285758972167965, | |
0.005587967872619629, | |
0.005599232196807862, | |
0.005559296131134033, | |
0.005588992118835449, | |
0.005566463947296142, | |
0.005563392162322998, | |
0.0056063680648803715, | |
0.0055623679161071774, | |
0.005590015888214111, | |
0.005548031806945801, | |
0.005559296131134033, | |
0.005565440177917481, | |
0.005554175853729248, | |
0.005581823825836182, | |
0.005569536209106446, | |
0.00557260799407959, | |
0.005586944103240967, | |
0.005534719944000244, | |
0.005581823825836182, | |
0.0055214080810546875, | |
0.005553152084350586, | |
0.005549024105072022, | |
0.005477375984191894, | |
0.005502975940704345, | |
0.0057660799026489256, | |
0.0058388481140136715, | |
0.005803008079528809, | |
0.005756927967071533, | |
0.005787648200988769, | |
0.005775360107421875, | |
0.005798912048339844, | |
0.005750783920288086, | |
0.005794816017150879, | |
0.005757952213287353, | |
0.0057712640762329105, | |
0.0057794561386108395, | |
0.005769216060638428, | |
0.005994527816772461, | |
0.005846015930175781, | |
0.00582041597366333, | |
0.005781504154205322, | |
0.005817344188690185, | |
0.0057497601509094234, | |
0.005805056095123291, | |
0.005767168045043946, | |
0.00597811222076416, | |
0.005792768001556397, | |
0.005708799839019775, | |
0.005723072052001953, | |
0.005666816234588623, | |
0.005865439891815185, | |
0.00588595199584961, | |
0.005829631805419922, | |
0.005792768001556397, | |
0.005881855964660645, | |
0.005815264225006104, | |
0.00592080020904541, | |
0.005775360107421875, | |
0.005793856143951416, | |
0.005832704067230224, | |
0.005777408123016357, | |
0.005835775852203369, | |
0.005818367958068848, | |
0.0058726401329040525, | |
0.0058091521263122555, | |
0.005824512004852295, | |
0.005860352039337159, | |
0.005840896129608154, | |
0.005795839786529541, | |
0.005847040176391601, | |
0.005819392204284668, | |
0.005822463989257813, | |
0.0058429441452026365, | |
0.005798912048339844, | |
0.005840896129608154, | |
0.005793791770935058, | |
0.005847040176391601, | |
0.00582144021987915, | |
0.005784575939178467, | |
0.005767168045043946, | |
0.005822463989257813, | |
0.005781504154205322, | |
0.005824512004852295, | |
0.005769216060638428, | |
0.0058122239112854005, | |
0.0059351038932800295, | |
0.006305791854858398, | |
0.005855231761932373, | |
0.005867519855499268, | |
0.00616755199432373, | |
0.0066938881874084475, | |
0.005884928226470947, | |
0.005873663902282715, | |
0.005795839786529541, | |
0.005956607818603516, | |
0.005777408123016357, | |
0.005850111961364746, | |
0.005827583789825439, | |
0.005792768001556397, | |
0.005864448070526123, | |
0.005792736053466797, | |
0.005859327793121338, | |
0.005784575939178467, | |
0.005793759822845459, | |
0.005806079864501953, | |
0.0058091521263122555, | |
0.005763072013854981, | |
0.00582144021987915, | |
0.005788608074188233, | |
0.005774335861206055, | |
0.005837823867797852, | |
0.005788640022277832, | |
0.005801983833312988, | |
0.0057784318923950195, | |
0.005787648200988769, | |
0.005781504154205322, | |
0.005832704067230224, | |
0.005777408123016357, | |
0.005815296173095703, | |
0.005764095783233642, | |
0.0057825279235839844, | |
0.00582041597366333, | |
0.005819392204284668, | |
0.005796864032745362, | |
0.005745664119720459 | |
], | |
"count": 174, | |
"total": 0.9979982752799987, | |
"mean": 0.00573562227172413, | |
"p50": 0.005775360107421875, | |
"p90": 0.0058651423454284665, | |
"p95": 0.005898148870468139, | |
"p99": 0.0062048767566680926, | |
"stdev": 0.00015074453985150588, | |
"stdev_": 2.6282159582693723 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 174.34899870060647 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.559939369628301e-08, | |
"ram": 3.584489117281982e-08, | |
"gpu": 1.3095160875138286e-07, | |
"total": 2.323958936204857e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4303002.021339718 | |
} | |
} | |
} | |
} |