IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c7d241e
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": "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": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "3b109cf557e2496fe3c954817385781e6dc5cad1", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.32832, | |
"max_global_vram": 2547.257344, | |
"max_process_vram": 40933.965824, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.97898095703125, | |
"mean": 6.97898095703125, | |
"stdev": 0.0, | |
"p50": 6.97898095703125, | |
"p90": 6.97898095703125, | |
"p95": 6.97898095703125, | |
"p99": 6.97898095703125, | |
"values": [ | |
6.97898095703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.109312, | |
"max_global_vram": 2603.757568, | |
"max_process_vram": 204043.173888, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.996913821220398, | |
"mean": 0.007912014454130143, | |
"stdev": 0.0004343070951178546, | |
"p50": 0.00769406795501709, | |
"p90": 0.008485578536987304, | |
"p95": 0.008530778169631957, | |
"p99": 0.009008532285690308, | |
"values": [ | |
0.007982463836669921, | |
0.008056862831115723, | |
0.008396380424499512, | |
0.008361660003662109, | |
0.008283261299133302, | |
0.008233661651611329, | |
0.008274460792541504, | |
0.008412058830261231, | |
0.008072222709655762, | |
0.007945344924926758, | |
0.007912865161895752, | |
0.00785606622695923, | |
0.007816865921020507, | |
0.007793827056884766, | |
0.007817506790161133, | |
0.007815587043762206, | |
0.00774934720993042, | |
0.007746147155761719, | |
0.0077712669372558595, | |
0.007729826927185058, | |
0.007733827114105225, | |
0.0077359070777893064, | |
0.007783747196197509, | |
0.007810626029968262, | |
0.007898466110229492, | |
0.007834305763244629, | |
0.007898624897003173, | |
0.007942143917083741, | |
0.007948864936828613, | |
0.008743575096130371, | |
0.009734763145446777, | |
0.007594308853149414, | |
0.007560869216918945, | |
0.00751239013671875, | |
0.007513669967651368, | |
0.007549509048461914, | |
0.007572709083557129, | |
0.007508870124816895, | |
0.007519430160522461, | |
0.00750374984741211, | |
0.00751511001586914, | |
0.007536870002746582, | |
0.007577670097351074, | |
0.007576869010925293, | |
0.007561988830566406, | |
0.007559749126434326, | |
0.00754679012298584, | |
0.007507909774780273, | |
0.007528709888458252, | |
0.007565029144287109, | |
0.007559908866882324, | |
0.007529510021209717, | |
0.007575270175933838, | |
0.007529829978942871, | |
0.007564548969268799, | |
0.007589509963989258, | |
0.007527110099792481, | |
0.007542469024658203, | |
0.007568068981170654, | |
0.007517990112304688, | |
0.007564229965209961, | |
0.007564868927001953, | |
0.0075928688049316405, | |
0.0077831058502197265, | |
0.007503590106964111, | |
0.0075946288108825685, | |
0.007624389171600342, | |
0.007592069149017334, | |
0.007599429130554199, | |
0.0075927100181579586, | |
0.007618309020996094, | |
0.007611908912658691, | |
0.007558948993682861, | |
0.007576869010925293, | |
0.007621667861938477, | |
0.007602629184722901, | |
0.00756102991104126, | |
0.007559110164642334, | |
0.007631588935852051, | |
0.0076583089828491215, | |
0.007560228824615479, | |
0.007582149028778076, | |
0.007611268043518067, | |
0.007589669227600098, | |
0.007552868843078613, | |
0.007597669124603272, | |
0.0075826292037963865, | |
0.007546148777008057, | |
0.007628708839416504, | |
0.007588549137115479, | |
0.007575428962707519, | |
0.007576229095458985, | |
0.007551750183105469, | |
0.0076034278869628906, | |
0.007609028816223145, | |
0.00847749900817871, | |
0.00859029769897461, | |
0.008467899322509766, | |
0.008458938598632813, | |
0.008455259323120117, | |
0.008450458526611328, | |
0.008421659469604492, | |
0.008500859260559082, | |
0.009096851348876953, | |
0.008379420280456544, | |
0.008405018806457519, | |
0.008448378562927246, | |
0.008439739227294922, | |
0.008394779205322266, | |
0.008406780242919921, | |
0.00849013900756836, | |
0.008455578804016112, | |
0.008529817581176758, | |
0.008485177993774413, | |
0.008467578887939453, | |
0.008459579467773438, | |
0.008482458114624024, | |
0.008478298187255859, | |
0.008485979080200195, | |
0.008439099311828614, | |
0.008533495903015137, | |
0.008465338706970214, | |
0.00853109836578369, | |
0.008505658149719238, | |
0.00854053783416748, | |
0.008493178367614746 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.3900623283102 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |