IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
16a314a
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.091776, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47265.865728, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2380537109375, | |
"mean": 8.2380537109375, | |
"stdev": 0.0, | |
"p50": 8.2380537109375, | |
"p90": 8.2380537109375, | |
"p95": 8.2380537109375, | |
"p99": 8.2380537109375, | |
"values": [ | |
8.2380537109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.548672, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 233076.396032, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9990596220493311, | |
"mean": 0.0074556688212636685, | |
"stdev": 0.0009212540772594703, | |
"p50": 0.0072806220054626464, | |
"p90": 0.007898124313354493, | |
"p95": 0.00815194001197815, | |
"p99": 0.01016548838615415, | |
"values": [ | |
0.007892301082611084, | |
0.007929740905761718, | |
0.0077254209518432615, | |
0.007714701175689697, | |
0.007701420783996582, | |
0.007652300834655762, | |
0.008832138061523437, | |
0.00760814094543457, | |
0.007565900802612304, | |
0.0075246219635009765, | |
0.007508460998535156, | |
0.007495662212371826, | |
0.0074671821594238285, | |
0.007446702003479004, | |
0.007454380989074707, | |
0.007417262077331543, | |
0.007420461177825927, | |
0.007436302185058594, | |
0.007456942081451416, | |
0.007442700862884522, | |
0.007464141845703125, | |
0.007511021137237549, | |
0.007462061882019043, | |
0.007461421012878418, | |
0.00743822193145752, | |
0.007353102207183838, | |
0.0073839821815490725, | |
0.00734318208694458, | |
0.007375502109527588, | |
0.00736174201965332, | |
0.007347500801086425, | |
0.0073851017951965334, | |
0.010822213172912598, | |
0.007603022098541259, | |
0.007322062015533448, | |
0.00727150297164917, | |
0.007247182846069336, | |
0.007290061950683594, | |
0.0072479829788208005, | |
0.00726622200012207, | |
0.007248141765594482, | |
0.007270701885223389, | |
0.007267982959747315, | |
0.00727582311630249, | |
0.007262863159179687, | |
0.007195823192596436, | |
0.0072327818870544435, | |
0.007258701801300049, | |
0.007278861999511718, | |
0.007267982006072998, | |
0.007284622192382812, | |
0.007233101844787598, | |
0.007242382049560547, | |
0.007261261940002441, | |
0.00728206205368042, | |
0.007257421970367431, | |
0.007279181957244873, | |
0.007371821880340576, | |
0.007240461826324463, | |
0.007252141952514648, | |
0.007254702091217041, | |
0.0072494220733642575, | |
0.0072187018394470216, | |
0.00741422176361084, | |
0.0072236618995666505, | |
0.007238061904907227, | |
0.007253262042999267, | |
0.007304141998291016, | |
0.007272141933441162, | |
0.007233262062072754, | |
0.0073251018524169926, | |
0.007288301944732666, | |
0.007295981884002685, | |
0.007313422203063965, | |
0.007296942234039307, | |
0.007284622192382812, | |
0.007212461948394776, | |
0.015314682006835938, | |
0.0025399940013885497, | |
0.0050843081474304195, | |
0.007263661861419678, | |
0.007208141803741455, | |
0.007254702091217041, | |
0.007267501831054688, | |
0.007246702194213867, | |
0.007241581916809082, | |
0.007207501888275147, | |
0.007249742031097412, | |
0.007268782138824463, | |
0.007255661964416504, | |
0.007222702980041504, | |
0.007227822780609131, | |
0.00722750186920166, | |
0.007210862159729004, | |
0.007276301860809326, | |
0.00721166181564331, | |
0.0072611021995544435, | |
0.007253901958465576, | |
0.00726238203048706, | |
0.007260141849517822, | |
0.007301422119140625, | |
0.007265262126922608, | |
0.007277421951293946, | |
0.007252302169799805, | |
0.007253901958465576, | |
0.0072665419578552244, | |
0.007262701988220215, | |
0.007226861953735351, | |
0.007215981960296631, | |
0.007242702007293701, | |
0.007264142036437988, | |
0.00723438310623169, | |
0.007231503009796142, | |
0.00720078182220459, | |
0.007229581832885742, | |
0.007229422092437744, | |
0.008207500457763672, | |
0.008151659965515137, | |
0.008111499786376953, | |
0.008114060401916505, | |
0.008313260078430175, | |
0.007865100860595704, | |
0.0075863819122314454, | |
0.007617741107940674, | |
0.007600941181182861, | |
0.007875501155853271, | |
0.007922540187835694, | |
0.008152460098266602, | |
0.008169580459594726, | |
0.007987820148468017, | |
0.007864940166473388, | |
0.007900619983673095, | |
0.007709101200103759, | |
0.007544140815734863 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.1261292545595 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |