
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ae4ebaa
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 804.184064, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.08367001342773438 | |
], | |
"count": 1, | |
"total": 0.08367001342773438, | |
"mean": 0.08367001342773438, | |
"p50": 0.08367001342773438, | |
"p90": 0.08367001342773438, | |
"p95": 0.08367001342773438, | |
"p99": 0.08367001342773438, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.090624, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.992512 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005900288105010986, | |
0.00556441593170166, | |
0.005642240047454834, | |
0.005603328227996827, | |
0.005682176113128662, | |
0.005603328227996827, | |
0.005571584224700928, | |
0.005585919857025146, | |
0.005591072082519531, | |
0.005597184181213379, | |
0.005597184181213379, | |
0.005543935775756836, | |
0.005596159934997558, | |
0.005563392162322998, | |
0.00557260799407959, | |
0.005615615844726562, | |
0.00553984022140503, | |
0.005429247856140137, | |
0.005398528099060058, | |
0.005402624130249023, | |
0.005527552127838135, | |
0.005481472015380859, | |
0.005488639831542969, | |
0.005582848072052002, | |
0.005506048202514649, | |
0.005587007999420166, | |
0.00552953577041626, | |
0.005636096000671387, | |
0.005652448177337646, | |
0.005598207950592041, | |
0.005726208209991455, | |
0.005601280212402344, | |
0.005639167785644531, | |
0.005598207950592041, | |
0.005598207950592041, | |
0.005610496044158936, | |
0.005574656009674072, | |
0.005501952171325684, | |
0.005554175853729248, | |
0.005631999969482422, | |
0.0059351038932800295, | |
0.005583871841430664, | |
0.005570559978485107, | |
0.005576704025268555, | |
0.005597184181213379, | |
0.005590015888214111, | |
0.005576704025268555, | |
0.005610496044158936, | |
0.005553152084350586, | |
0.005495808124542236, | |
0.005794816017150879, | |
0.0054967679977417, | |
0.00555622386932373, | |
0.005604320049285889, | |
0.0055552000999450684, | |
0.005480447769165039, | |
0.005566431999206543, | |
0.0055797758102417, | |
0.0055214080810546875, | |
0.005518335819244385, | |
0.005493760108947754, | |
0.005449728012084961, | |
0.005533599853515625, | |
0.005492735862731934, | |
0.00552345609664917, | |
0.005624832153320313, | |
0.005583871841430664, | |
0.005618720054626465, | |
0.005600255966186523, | |
0.005557248115539551, | |
0.0056483840942382815, | |
0.005641215801239013, | |
0.005594111919403076, | |
0.00551423978805542, | |
0.005596159934997558, | |
0.005554175853729248, | |
0.0055552000999450684, | |
0.005434368133544922, | |
0.005502975940704345, | |
0.005559360027313233, | |
0.005504992008209229, | |
0.0053606400489807126, | |
0.005422080039978027, | |
0.005327871799468994, | |
0.005248000144958496, | |
0.005368832111358642, | |
0.005478400230407715, | |
0.005314559936523438, | |
0.005255199909210205, | |
0.005185503959655762, | |
0.005508096218109131, | |
0.005547008037567139, | |
0.005693439960479736, | |
0.005709824085235596, | |
0.005615615844726562, | |
0.005683199882507324, | |
0.00568012809753418, | |
0.005727231979370117, | |
0.0058429760932922365, | |
0.005765120029449463, | |
0.005618688106536865, | |
0.006236159801483154, | |
0.006432767868041992, | |
0.006436863899230957, | |
0.006518784046173095, | |
0.006502399921417237, | |
0.006471680164337158, | |
0.005850111961364746, | |
0.005552127838134766, | |
0.005547008037567139, | |
0.005504000186920166, | |
0.005452799797058106, | |
0.005484543800354004, | |
0.005448703765869141, | |
0.005452799797058106, | |
0.005488639831542969, | |
0.005421055793762207, | |
0.005479423999786377, | |
0.005433343887329102, | |
0.005437439918518067, | |
0.005448703765869141, | |
0.005400576114654541, | |
0.005412864208221436, | |
0.005453824043273926, | |
0.005398528099060058, | |
0.005400576114654541, | |
0.005454847812652588, | |
0.005412864208221436, | |
0.0054568958282470706, | |
0.0053975038528442385, | |
0.005391359806060791, | |
0.005410816192626953, | |
0.005417984008789062, | |
0.005390336036682129, | |
0.005440512180328369, | |
0.005472256183624268, | |
0.005431295871734619, | |
0.005763072013854981, | |
0.005429247856140137, | |
0.005473279953002929, | |
0.005440512180328369, | |
0.005408768177032471, | |
0.005476352214813233, | |
0.005421120166778565, | |
0.005404672145843506, | |
0.0054568958282470706, | |
0.005443552017211914, | |
0.005408768177032471, | |
0.005400576114654541, | |
0.0053944320678710935, | |
0.005439551830291748, | |
0.005402624130249023, | |
0.005436416149139404, | |
0.005432320117950439, | |
0.005430272102355957, | |
0.0054282240867614745, | |
0.005430272102355957, | |
0.005411839962005615, | |
0.005409791946411133, | |
0.005430272102355957, | |
0.005417984008789062, | |
0.005442560195922852, | |
0.005440512180328369, | |
0.005429247856140137, | |
0.0054609918594360355, | |
0.005417984008789062, | |
0.0054169921875, | |
0.005420991897583008, | |
0.00541593599319458, | |
0.0053821439743042, | |
0.005442560195922852, | |
0.005409791946411133, | |
0.005470208168029785, | |
0.005445631980895996, | |
0.005441535949707031, | |
0.005460959911346435, | |
0.0054568958282470706, | |
0.005439487934112549, | |
0.005475327968597412, | |
0.005450751781463623 | |
], | |
"count": 180, | |
"total": 0.9981797451972958, | |
"mean": 0.005545443028873867, | |
"p50": 0.005502464056015014, | |
"p90": 0.005682278490066529, | |
"p95": 0.005843332886695862, | |
"p99": 0.006478131313323975, | |
"stdev": 0.00020045237852308516, | |
"stdev_": 3.614722529460225 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.32824335102285 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.426404611486957e-08, | |
"ram": 3.5115549703352165e-08, | |
"gpu": 1.1964874436756493e-07, | |
"total": 2.1902834018578668e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4565619.221475033 | |
} | |
} | |
} | |
} |