IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b7d6fae
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": "86b6a9427e8d0887933fcf9a8a5c8388c89fa339", | |
"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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 901.984256, | |
"max_global_vram": 3128.393728, | |
"max_process_vram": 46260.084736, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4437939453125, | |
"mean": 7.4437939453125, | |
"stdev": 0.0, | |
"p50": 7.4437939453125, | |
"p90": 7.4437939453125, | |
"p95": 7.4437939453125, | |
"p99": 7.4437939453125, | |
"values": [ | |
7.4437939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.769344, | |
"max_global_vram": 3184.898048, | |
"max_process_vram": 235838.922752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 122, | |
"total": 1.000910772323608, | |
"mean": 0.008204186658390232, | |
"stdev": 0.00021774210165274762, | |
"p50": 0.008139982223510742, | |
"p90": 0.008343742084503175, | |
"p95": 0.00844284634590149, | |
"p99": 0.009032098560333249, | |
"values": [ | |
0.008443502426147461, | |
0.008430380821228028, | |
0.00861502170562744, | |
0.008532941818237305, | |
0.008399181365966797, | |
0.008386861801147462, | |
0.008367981910705567, | |
0.008526541709899903, | |
0.00829630184173584, | |
0.008327820777893066, | |
0.00830174160003662, | |
0.008257741928100587, | |
0.008291981697082519, | |
0.008261741638183594, | |
0.00834830093383789, | |
0.008344942092895508, | |
0.008283661842346192, | |
0.008228302001953125, | |
0.008273101806640626, | |
0.00828318214416504, | |
0.008269421577453613, | |
0.008238222122192383, | |
0.009109580039978027, | |
0.01005629825592041, | |
0.008332942008972168, | |
0.008113741874694824, | |
0.008107022285461426, | |
0.008131342887878418, | |
0.008101582527160645, | |
0.00811294174194336, | |
0.008137421607971191, | |
0.008110861778259277, | |
0.00815166187286377, | |
0.00812734317779541, | |
0.008120621681213379, | |
0.008121261596679688, | |
0.008128461837768554, | |
0.00813262176513672, | |
0.008147501945495605, | |
0.008104783058166504, | |
0.008121582984924316, | |
0.0081334228515625, | |
0.008179021835327148, | |
0.008109102249145508, | |
0.008108621597290038, | |
0.008137102127075196, | |
0.008110222816467285, | |
0.008095023155212402, | |
0.008123661994934082, | |
0.008134222030639649, | |
0.00809918212890625, | |
0.008151982307434082, | |
0.00816030216217041, | |
0.008169742584228515, | |
0.008127022743225097, | |
0.008141901969909668, | |
0.008171502113342286, | |
0.008122701644897461, | |
0.008156142234802245, | |
0.008114702224731445, | |
0.00812142276763916, | |
0.008112783432006837, | |
0.008133261680603028, | |
0.008170381546020507, | |
0.008163661956787109, | |
0.00812766170501709, | |
0.00814126205444336, | |
0.008113903045654297, | |
0.008131982803344727, | |
0.008129101753234863, | |
0.008141422271728515, | |
0.008128142356872559, | |
0.00812046241760254, | |
0.008124142646789552, | |
0.008112302780151367, | |
0.008103181838989258, | |
0.008094061851501464, | |
0.008083501815795898, | |
0.008166543006896973, | |
0.008122702598571778, | |
0.00811118221282959, | |
0.008147662162780761, | |
0.008140941619873047, | |
0.008152462005615235, | |
0.00814126205444336, | |
0.008119982719421387, | |
0.008120782852172851, | |
0.008125102043151856, | |
0.008140782356262206, | |
0.00813358211517334, | |
0.008137581825256347, | |
0.008124942779541016, | |
0.008072623252868652, | |
0.008085102081298827, | |
0.008119022369384766, | |
0.008111661911010742, | |
0.008123183250427246, | |
0.008139182090759277, | |
0.008138861656188965, | |
0.008120141983032226, | |
0.008110861778259277, | |
0.008177262306213379, | |
0.008143821716308593, | |
0.008740620613098144, | |
0.00820174217224121, | |
0.008199022293090821, | |
0.008185742378234863, | |
0.00820510196685791, | |
0.008165741920471191, | |
0.008162861824035644, | |
0.008150542259216308, | |
0.008150382995605469, | |
0.008225742340087891, | |
0.008188302040100098, | |
0.008133743286132812, | |
0.008174221992492675, | |
0.00814830207824707, | |
0.00815006160736084, | |
0.00815438175201416, | |
0.008138221740722656, | |
0.00810542106628418, | |
0.008126703262329102 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 121.88898688419323 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |