IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8aa350c verified
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": "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": 2,
"sequence_length": 16,
"num_choices": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 817.13152,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"values": [
0.09238835144042969
],
"count": 1,
"total": 0.09238835144042969,
"mean": 0.09238835144042969,
"p50": 0.09238835144042969,
"p90": 0.09238835144042969,
"p95": 0.09238835144042969,
"p99": 0.09238835144042969,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.647419689166176e-05,
"ram": 5.285639546276641e-05,
"gpu": 0.00012953399251599933,
"total": 0.0002788645848704275
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1085.640704,
"max_global_vram": 1205.338112,
"max_process_vram": 0.0,
"max_reserved": 557.842432,
"max_allocated": 509.729792
},
"latency": {
"unit": "s",
"values": [
0.006466559886932373,
0.0062566399574279785,
0.0062228479385375976,
0.0062791681289672855,
0.006415359973907471,
0.006243328094482422,
0.006239232063293457,
0.006187007904052734,
0.006164480209350586,
0.006196224212646485,
0.006259744167327881,
0.006227968215942382,
0.006248447895050049,
0.006095871925354004,
0.006067200183868408,
0.006211584091186524,
0.00618393611907959,
0.006141952037811279,
0.006130688190460205,
0.0061562881469726565,
0.006171648025512695,
0.006151167869567871,
0.006102015972137451,
0.006198272228240966,
0.0061521921157836916,
0.006425600051879882,
0.00647980785369873,
0.006260735988616943,
0.006231040000915527,
0.006147071838378906,
0.006160384178161621,
0.006130688190460205,
0.006262784004211426,
0.006195199966430664,
0.006191103935241699,
0.006172671794891358,
0.006173696041107178,
0.0060570559501647945,
0.006150144100189209,
0.006081535816192627,
0.006054912090301514,
0.006077343940734863,
0.006003712177276611,
0.006090752124786377,
0.006172671794891358,
0.006124544143676758,
0.006007808208465576,
0.006039552211761475,
0.006198272228240966,
0.006228991985321045,
0.006385695934295654,
0.006118400096893311,
0.00613478422164917,
0.006154240131378174,
0.006302752017974853,
0.006102015972137451,
0.006100992202758789,
0.006149119853973388,
0.006199295997619629,
0.006289440155029297,
0.006148096084594727,
0.006181888103485108,
0.006261760234832763,
0.006149119853973388,
0.00616755199432373,
0.006132736206054688,
0.006061056137084961,
0.006165503978729248,
0.006124544143676758,
0.00602620792388916,
0.006102015972137451,
0.0059361281394958495,
0.005892096042633056,
0.006003712177276611,
0.006103040218353272,
0.005859327793121338,
0.005810175895690918,
0.005876736164093017,
0.006093823909759521,
0.006198272228240966,
0.0061634559631347655,
0.006207456111907959,
0.006263775825500488,
0.006242303848266601,
0.006319104194641113,
0.006441984176635742,
0.006340608119964599,
0.006140927791595459,
0.005941343784332275,
0.006003712177276611,
0.005956416130065918,
0.00609881591796875,
0.006011903762817383,
0.006029215812683106,
0.005956607818603516,
0.005947264194488525,
0.0058847999572753905,
0.0059658241271972655,
0.005917695999145508,
0.006011903762817383,
0.0059699201583862304,
0.006006847858428955,
0.005963776111602783,
0.00601087999343872,
0.005838912010192871,
0.005840896129608154,
0.006184959888458252,
0.005898240089416504,
0.005786623954772949,
0.005795839786529541,
0.005755904197692871,
0.005825535774230957,
0.005775360107421875,
0.00577027177810669,
0.005792768001556397,
0.00577942419052124,
0.00572211217880249,
0.005737535953521729,
0.005736447811126709,
0.005747712135314941,
0.005819392204284668,
0.005776383876800537,
0.0057712640762329105,
0.005799935817718506,
0.005793791770935058,
0.005848063945770264,
0.005787680149078369,
0.005843967914581299,
0.005765120029449463,
0.005953536033630371,
0.005785664081573486,
0.005751904010772705,
0.0057209601402282715,
0.005734399795532226,
0.005756927967071533,
0.0057396478652954105,
0.005724160194396972,
0.005735424041748047,
0.005728256225585937,
0.0057077760696411135,
0.005731296062469482,
0.005687295913696289,
0.005709695816040039,
0.005709824085235596,
0.005696512222290039,
0.00576416015625,
0.005697535991668701,
0.005882880210876465,
0.005692416191101074,
0.0057292799949646,
0.005730303764343261,
0.005718016147613526,
0.005758975982666016,
0.0058009600639343266,
0.005794816017150879,
0.005781504154205322,
0.005807104110717773,
0.005777408123016357,
0.005806079864501953,
0.005780479907989502,
0.005786623954772949,
0.005715871810913086,
0.0057190399169921875,
0.0057158079147338866,
0.005692416191101074,
0.005743519783020019
],
"count": 166,
"total": 0.996277604103089,
"mean": 0.006001672313874026,
"p50": 0.0060190558433532715,
"p90": 0.006252543926239014,
"p95": 0.006299424052238464,
"p99": 0.006450585675239563,
"stdev": 0.0002097508955962199,
"stdev_": 3.494874172175981
},
"throughput": {
"unit": "samples/s",
"value": 333.2404528945396
},
"energy": {
"unit": "kWh",
"cpu": 7.244548639483689e-08,
"ram": 3.9585859353732075e-08,
"gpu": 1.5417864637804863e-07,
"total": 2.662099921266177e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 7512866.004852058
}
}
}
}