IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f726fb0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1078.280192, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47847.555072, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.18932421875, | |
"mean": 8.18932421875, | |
"stdev": 0.0, | |
"p50": 8.18932421875, | |
"p90": 8.18932421875, | |
"p95": 8.18932421875, | |
"p99": 8.18932421875, | |
"values": [ | |
8.18932421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.573248, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 213982.777344, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.0014453055858612, | |
"mean": 0.007473472429745234, | |
"stdev": 0.000978934229463682, | |
"p50": 0.007215822696685791, | |
"p90": 0.008124012851715089, | |
"p95": 0.008143084573745726, | |
"p99": 0.011794575786590556, | |
"values": [ | |
0.007772780895233154, | |
0.007759982109069824, | |
0.0074388618469238285, | |
0.014639164924621582, | |
0.004720149040222168, | |
0.0075411019325256345, | |
0.008595179557800293, | |
0.007470383167266846, | |
0.007443181991577149, | |
0.007417262077331543, | |
0.007419503211975097, | |
0.007444142818450928, | |
0.007461582183837891, | |
0.007411022186279297, | |
0.007391343116760254, | |
0.007302381992340088, | |
0.0072692627906799315, | |
0.00722670316696167, | |
0.0072414231300354, | |
0.007215503215789795, | |
0.010724615097045899, | |
0.007391502857208252, | |
0.007231503009796142, | |
0.007216142177581787, | |
0.007194222927093506, | |
0.00720814323425293, | |
0.007420621871948242, | |
0.007193263053894043, | |
0.00721902322769165, | |
0.0072497429847717286, | |
0.007190863132476807, | |
0.007140304088592529, | |
0.0071819028854370115, | |
0.007147502899169922, | |
0.007177262783050537, | |
0.0071641430854797366, | |
0.00755006217956543, | |
0.007798701763153076, | |
0.007890222072601318, | |
0.007492621898651123, | |
0.007761581897735596, | |
0.007809260845184326, | |
0.0077777419090271, | |
0.007880940914154052, | |
0.007726381778717041, | |
0.007936301231384278, | |
0.007639501094818115, | |
0.007628942012786865, | |
0.007376943111419678, | |
0.007431821823120117, | |
0.007529262065887451, | |
0.007192462921142578, | |
0.007210702896118164, | |
0.0072119817733764646, | |
0.0072118229866027835, | |
0.007197583198547363, | |
0.007197422981262207, | |
0.0072137432098388675, | |
0.007188783168792724, | |
0.007154383182525635, | |
0.007340143203735352, | |
0.007195503234863281, | |
0.0072332630157470705, | |
0.00724910306930542, | |
0.007175023078918457, | |
0.0072052631378173825, | |
0.007222542762756348, | |
0.007207983016967774, | |
0.007294542789459228, | |
0.007218863010406494, | |
0.007187663078308105, | |
0.007155182838439941, | |
0.007199343204498291, | |
0.0071623830795288085, | |
0.0071697430610656735, | |
0.007147502899169922, | |
0.0070999832153320315, | |
0.007147822856903076, | |
0.00715790319442749, | |
0.007146223068237305, | |
0.007121263027191162, | |
0.0071500630378723146, | |
0.007156143188476563, | |
0.007175662994384766, | |
0.007117903232574463, | |
0.007155182838439941, | |
0.007170702934265137, | |
0.007160943031311035, | |
0.007179022789001465, | |
0.0070913429260253905, | |
0.007146702766418457, | |
0.007146862983703614, | |
0.0071316628456115725, | |
0.012321571350097656, | |
0.0031743929386138917, | |
0.007121902942657471, | |
0.007338222026824951, | |
0.0070932631492614745, | |
0.007103982925415039, | |
0.0071103830337524414, | |
0.007140142917633057, | |
0.007106382846832276, | |
0.0071476631164550785, | |
0.007134862899780273, | |
0.007161102771759033, | |
0.007155343055725098, | |
0.007150702953338623, | |
0.0071409430503845215, | |
0.0070961427688598635, | |
0.007096942901611328, | |
0.007141423225402832, | |
0.007104622840881348, | |
0.007143023014068603, | |
0.007138223171234131, | |
0.00715790319442749, | |
0.008005741119384766, | |
0.008140460014343261, | |
0.008109420776367187, | |
0.007919500827789307, | |
0.0073967819213867185, | |
0.008111981391906739, | |
0.008124300956726074, | |
0.008130379676818848, | |
0.008123340606689454, | |
0.00814013957977295, | |
0.008127341270446778, | |
0.008109580993652344, | |
0.008134380340576172, | |
0.007782542228698731, | |
0.008140620231628417, | |
0.008098541259765625, | |
0.008147661209106444, | |
0.008198860168457032, | |
0.008164300918579101 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.8066085612213 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |