
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f4d511f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 909.758464, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9963812799453736, | |
"mean": 0.0077842287495732305, | |
"stdev": 0.0003712298324418297, | |
"p50": 0.007851520061492919, | |
"p90": 0.008114496040344239, | |
"p95": 0.008197785568237304, | |
"p99": 0.009133697099685669, | |
"values": [ | |
0.008407039642333984, | |
0.008104960441589355, | |
0.008174592018127442, | |
0.00818380832672119, | |
0.008004480361938477, | |
0.00820531177520752, | |
0.008043519973754883, | |
0.008010751724243164, | |
0.008059904098510743, | |
0.008114208221435546, | |
0.008060992240905762, | |
0.007933951854705811, | |
0.007862271785736084, | |
0.007759007930755615, | |
0.007787519931793213, | |
0.007882751941680909, | |
0.007881728172302246, | |
0.0080250883102417, | |
0.007926815986633301, | |
0.007925759792327881, | |
0.007854976177215577, | |
0.007944191932678223, | |
0.008071167945861817, | |
0.007974912166595459, | |
0.008095552444458008, | |
0.007938047885894776, | |
0.007885695934295655, | |
0.007838719844818116, | |
0.007853055953979492, | |
0.007927807807922363, | |
0.007931807994842529, | |
0.007907328128814697, | |
0.007731200218200684, | |
0.007774208068847656, | |
0.007817215919494629, | |
0.007939072132110595, | |
0.007765952110290527, | |
0.00818073558807373, | |
0.008049535751342773, | |
0.007875648021697998, | |
0.007984288215637207, | |
0.00795750379562378, | |
0.00795750379562378, | |
0.007983104228973388, | |
0.007846911907196046, | |
0.007964672088623047, | |
0.007881728172302246, | |
0.007902207851409913, | |
0.007913472175598145, | |
0.007971839904785156, | |
0.00784281587600708, | |
0.008115167617797852, | |
0.007899136066436767, | |
0.007924736022949219, | |
0.008146944046020508, | |
0.007863296031951903, | |
0.00790835189819336, | |
0.00783564805984497, | |
0.0078438401222229, | |
0.00780083179473877, | |
0.007825535774230957, | |
0.00785920000076294, | |
0.007910399913787843, | |
0.00801689624786377, | |
0.008035327911376953, | |
0.00799129581451416, | |
0.008697855949401855, | |
0.008089599609375, | |
0.007941120147705078, | |
0.008002559661865234, | |
0.00783564805984497, | |
0.007865344047546387, | |
0.007815167903900147, | |
0.007664639949798584, | |
0.007565311908721924, | |
0.007849984169006348, | |
0.007674943923950195, | |
0.007493631839752197, | |
0.007463935852050781, | |
0.007705599784851074, | |
0.009030655860900879, | |
0.009282624244689942, | |
0.009171808242797851, | |
0.008175616264343261, | |
0.007929855823516846, | |
0.007809088230133056, | |
0.007611392021179199, | |
0.008231871604919434, | |
0.007531519889831543, | |
0.007428095817565918, | |
0.007366655826568603, | |
0.007316480159759522, | |
0.007308288097381592, | |
0.007262207984924316, | |
0.007300096035003662, | |
0.007428095817565918, | |
0.007376863956451416, | |
0.007333759784698486, | |
0.0072765440940856935, | |
0.007229440212249756, | |
0.007324672222137451, | |
0.007351295948028564, | |
0.007351295948028564, | |
0.007371776103973389, | |
0.00734822416305542, | |
0.0074301438331604, | |
0.007372799873352051, | |
0.007331840038299561, | |
0.007379936218261719, | |
0.007363584041595459, | |
0.007544832229614258, | |
0.007485439777374267, | |
0.007265312194824219, | |
0.0072427520751953125, | |
0.007263232231140137, | |
0.007274496078491211, | |
0.007288832187652588, | |
0.007285759925842285, | |
0.00743936014175415, | |
0.007400447845458984, | |
0.0073820161819458, | |
0.00741596794128418, | |
0.007366496086120606, | |
0.007357471942901611, | |
0.007365632057189942, | |
0.007629824161529541, | |
0.00738918399810791, | |
0.007398399829864502 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.46487843189666 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.69176393587804e-08, | |
"ram": 4.75151682648354e-08, | |
"gpu": 1.5993524554744856e-07, | |
"total": 2.943680531710644e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3397107.7677334636 | |
} | |
} | |
} | |
} |