IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
70c6b3e
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1105.825792, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 4162.883584, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08647783660888672 | |
], | |
"count": 1, | |
"total": 0.08647783660888672, | |
"mean": 0.08647783660888672, | |
"p50": 0.08647783660888672, | |
"p90": 0.08647783660888672, | |
"p95": 0.08647783660888672, | |
"p99": 0.08647783660888672, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1228.632064, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 234972.008448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.442688 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007502727031707764, | |
0.007381126880645752, | |
0.007342886924743652, | |
0.007351847171783448, | |
0.00735936689376831, | |
0.007281766891479492, | |
0.007329287052154541, | |
0.007330566883087158, | |
0.007325286865234375, | |
0.007322086811065674, | |
0.007067047119140625, | |
0.006927525997161866, | |
0.0069176068305969235, | |
0.006586246013641358, | |
0.006952966213226318, | |
0.006857767105102539, | |
0.0069971270561218265, | |
0.006864165782928467, | |
0.0068582468032836914, | |
0.006636166095733643, | |
0.006637286186218261, | |
0.006654406070709228, | |
0.006707046985626221, | |
0.006612805843353271, | |
0.006650725841522217, | |
0.006631046772003174, | |
0.006625926017761231, | |
0.006670405864715576, | |
0.006661126136779785, | |
0.006646246910095215, | |
0.0066553659439086916, | |
0.006701926231384278, | |
0.006618247032165527, | |
0.006624485969543457, | |
0.006669285774230957, | |
0.006453606128692627, | |
0.006443686008453369, | |
0.006429446220397949, | |
0.006464486122131348, | |
0.00644416618347168, | |
0.006443046092987061, | |
0.006438886165618897, | |
0.006692326068878174, | |
0.006661927223205567, | |
0.0066622462272644045, | |
0.006647046089172363, | |
0.006459365844726563, | |
0.0066380867958068844, | |
0.006442726135253906, | |
0.006465126037597657, | |
0.006449925899505615, | |
0.006585926055908203, | |
0.006479045867919922, | |
0.006441286087036133, | |
0.0064638471603393555, | |
0.006429605960845948, | |
0.006668806076049805, | |
0.006459206104278564, | |
0.006424645900726319, | |
0.006429446220397949, | |
0.006436806201934814, | |
0.006429286003112793, | |
0.006486405849456787, | |
0.00647856616973877, | |
0.006625926017761231, | |
0.0064616060256958005, | |
0.006437925815582275, | |
0.006450885772705078, | |
0.006469446182250977, | |
0.006455845832824707, | |
0.006476326942443848, | |
0.006513606071472168, | |
0.006476645946502686, | |
0.006500006198883057, | |
0.006466725826263428, | |
0.006484325885772705, | |
0.00648080587387085, | |
0.0066380867958068844, | |
0.006486405849456787, | |
0.0064609661102294925, | |
0.006700806140899658, | |
0.0069782471656799315, | |
0.006737765789031983, | |
0.0068553671836853024, | |
0.007530247211456299, | |
0.007588807106018066, | |
0.007604327201843262, | |
0.0075329670906066895, | |
0.007506247997283936, | |
0.007552647113800049, | |
0.007587367057800293, | |
0.007572007179260254, | |
0.007553926944732666, | |
0.007510247230529785, | |
0.00755200719833374, | |
0.007524006843566895, | |
0.007534407138824463, | |
0.007526566982269287, | |
0.007514566898345947, | |
0.007517446994781494, | |
0.0075065670013427736, | |
0.007571207046508789, | |
0.007514886856079102, | |
0.0075041670799255375, | |
0.007524167060852051, | |
0.0075022468566894535, | |
0.007552166938781738, | |
0.007553446769714356, | |
0.007527687072753906, | |
0.0075067272186279295, | |
0.007535847187042236, | |
0.007523847103118896, | |
0.007527846813201905, | |
0.007490567207336426, | |
0.007560166835784912, | |
0.0075115270614624025, | |
0.0075243268013000485, | |
0.007529128074645996, | |
0.007511046886444092, | |
0.007493927001953125, | |
0.007481767177581787, | |
0.0075065670013427736, | |
0.007503847122192383, | |
0.007530086994171142, | |
0.007512327194213867, | |
0.007504006862640381, | |
0.007132647037506104, | |
0.007141286849975586, | |
0.006972167015075683, | |
0.007310565948486328, | |
0.007252326965332031, | |
0.007018406867980957, | |
0.007215366840362549, | |
0.007110567092895508, | |
0.007154885768890381, | |
0.007021606922149658, | |
0.006906726837158203, | |
0.007372966766357422, | |
0.00736288595199585, | |
0.007379206180572509, | |
0.007348485946655273, | |
0.007104325771331787, | |
0.006861766815185547 | |
], | |
"count": 143, | |
"total": 0.9994489393234255, | |
"mean": 0.006989153421842135, | |
"p50": 0.006927525997161866, | |
"p90": 0.007530215167999268, | |
"p95": 0.007553366804122925, | |
"p99": 0.007588202285766601, | |
"stdev": 0.0004424341285815792, | |
"stdev_": 6.3302964161425805 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.07884512519823 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |