IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b0771b7
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": "4", | |
"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 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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.993088, | |
"max_global_vram": 841.8304, | |
"max_process_vram": 46028.054528, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.525109375, | |
"mean": 7.525109375, | |
"stdev": 0.0, | |
"p50": 7.525109375, | |
"p90": 7.525109375, | |
"p95": 7.525109375, | |
"p99": 7.525109375, | |
"values": [ | |
7.525109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.51136, | |
"max_global_vram": 897.728512, | |
"max_process_vram": 226690.592768, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0009831891059877, | |
"mean": 0.007583205978075663, | |
"stdev": 0.00033265533508388106, | |
"p50": 0.007503650903701782, | |
"p90": 0.00768840184211731, | |
"p95": 0.007906232857704162, | |
"p99": 0.008613343048095704, | |
"values": [ | |
0.008227808952331543, | |
0.00795948886871338, | |
0.007511170864105224, | |
0.0076114897727966304, | |
0.00757693099975586, | |
0.007685090065002441, | |
0.007721731185913086, | |
0.008635167121887208, | |
0.007703010082244873, | |
0.007559650897979736, | |
0.007576450824737548, | |
0.007688769817352295, | |
0.0077031698226928715, | |
0.007664451122283936, | |
0.0076369309425354005, | |
0.007593571186065674, | |
0.007595330238342285, | |
0.007566531181335449, | |
0.0076174111366271976, | |
0.007545411109924316, | |
0.007503490924835205, | |
0.007483490943908691, | |
0.007533411026000977, | |
0.007521730899810791, | |
0.0075538911819458005, | |
0.007472930908203125, | |
0.007511490821838379, | |
0.007501091003417969, | |
0.0075679712295532225, | |
0.007560931205749512, | |
0.007574690818786621, | |
0.010706358909606934, | |
0.007906848907470704, | |
0.007441091060638428, | |
0.00745933198928833, | |
0.007446531772613525, | |
0.007667970180511474, | |
0.007482211112976075, | |
0.0076015710830688475, | |
0.007451810836791992, | |
0.0074502120018005375, | |
0.007463811874389648, | |
0.0074663710594177245, | |
0.007463010787963867, | |
0.0074718108177185055, | |
0.007468931198120117, | |
0.007455491065979004, | |
0.007464292049407959, | |
0.007491812229156494, | |
0.007487812042236328, | |
0.007473731994628906, | |
0.007438051223754883, | |
0.007473250865936279, | |
0.007450850963592529, | |
0.007434371948242187, | |
0.007444131851196289, | |
0.007487491130828857, | |
0.007450050830841064, | |
0.007470850944519043, | |
0.00746557092666626, | |
0.007470850944519043, | |
0.007455652236938477, | |
0.007449411869049073, | |
0.007462370872497559, | |
0.007418530941009522, | |
0.007632451057434082, | |
0.007508290767669678, | |
0.007519011974334717, | |
0.007568291187286377, | |
0.007554211139678955, | |
0.007563011169433594, | |
0.007509891033172607, | |
0.007516770839691162, | |
0.007483490943908691, | |
0.007483170986175537, | |
0.00749885082244873, | |
0.007465890884399414, | |
0.007905728816986084, | |
0.007755650043487549, | |
0.0075042910575866695, | |
0.007444131851196289, | |
0.007449252128601074, | |
0.007494211196899414, | |
0.007501091003417969, | |
0.007497890949249268, | |
0.0074871711730957035, | |
0.007463490962982178, | |
0.007446371078491211, | |
0.007468131065368653, | |
0.007472290992736817, | |
0.007518691062927246, | |
0.007484130859375, | |
0.007478372097015381, | |
0.0074742121696472165, | |
0.007553730964660645, | |
0.007541571140289307, | |
0.007520930767059326, | |
0.007523011207580566, | |
0.007470691204071045, | |
0.007470370769500733, | |
0.007521891117095948, | |
0.007466851234436035, | |
0.00750653076171875, | |
0.007547811031341552, | |
0.007433250904083252, | |
0.007558530807495118, | |
0.007523011207580566, | |
0.007520451068878174, | |
0.007471012115478516, | |
0.007453250885009766, | |
0.007873569011688232, | |
0.007668450832366943, | |
0.007665890216827393, | |
0.0075023708343505855, | |
0.007539970874786377, | |
0.007493890762329101, | |
0.007498210906982422, | |
0.007470850944519043, | |
0.007503810882568359, | |
0.0075354909896850585, | |
0.007499330997467041, | |
0.007503011226654053, | |
0.007507491111755371, | |
0.007469251155853272, | |
0.0075442900657653805, | |
0.007541571140289307, | |
0.0075159711837768555, | |
0.0075223708152771, | |
0.007499331951141357, | |
0.007484131813049316, | |
0.008564766883850097, | |
0.008490688323974609 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.8703465119067 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |