IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3a71155
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": "b0801269b3611e452bb077a62163b08a99ceb2a9", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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": 902.320128, | |
"max_global_vram": 1675.014144, | |
"max_process_vram": 42298.6752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.12678466796875, | |
"mean": 7.12678466796875, | |
"stdev": 0.0, | |
"p50": 7.12678466796875, | |
"p90": 7.12678466796875, | |
"p95": 7.12678466796875, | |
"p99": 7.12678466796875, | |
"values": [ | |
7.12678466796875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.117504, | |
"max_global_vram": 1731.52256, | |
"max_process_vram": 228117.77024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9994826803207403, | |
"mean": 0.008616230002764997, | |
"stdev": 0.00021521993478033517, | |
"p50": 0.00855312967300415, | |
"p90": 0.008928569316864015, | |
"p95": 0.009165810108184815, | |
"p99": 0.00925006628036499, | |
"values": [ | |
0.008907690048217773, | |
0.009143050193786622, | |
0.009239049911499023, | |
0.009252010345458984, | |
0.009194250106811524, | |
0.009228170394897461, | |
0.009156330108642578, | |
0.009206729888916016, | |
0.008893930435180664, | |
0.008840330123901367, | |
0.008702089309692383, | |
0.008664010047912597, | |
0.008680008888244628, | |
0.00864208984375, | |
0.008606088638305665, | |
0.008652170181274415, | |
0.008581448554992675, | |
0.008547529220581055, | |
0.008552489280700683, | |
0.008545928955078125, | |
0.00856449031829834, | |
0.008535848617553712, | |
0.008549128532409668, | |
0.008582889556884766, | |
0.008591849327087403, | |
0.008516168594360352, | |
0.00858272933959961, | |
0.008547048568725586, | |
0.008556489944458007, | |
0.008494729042053223, | |
0.008480969429016114, | |
0.008544329643249512, | |
0.008597289085388184, | |
0.00857776927947998, | |
0.008553770065307617, | |
0.008751049041748046, | |
0.008556650161743165, | |
0.008521768569946289, | |
0.008535049438476562, | |
0.00856192970275879, | |
0.008616808891296387, | |
0.008592809677124023, | |
0.008557449340820313, | |
0.008544650077819824, | |
0.00858976936340332, | |
0.008569449424743652, | |
0.008811209678649902, | |
0.008943849563598633, | |
0.008851849555969238, | |
0.008913289070129395, | |
0.00898880958557129, | |
0.009266889572143555, | |
0.009039369583129883, | |
0.008759209632873535, | |
0.008710088729858399, | |
0.008593609809875488, | |
0.008538569450378418, | |
0.008516809463500977, | |
0.008707049369812012, | |
0.008617288589477539, | |
0.008552330017089844, | |
0.008756809234619141, | |
0.008560810089111328, | |
0.008483208656311036, | |
0.008477608680725097, | |
0.008485289573669433, | |
0.008434888839721679, | |
0.008504968643188476, | |
0.008459368705749511, | |
0.00863888931274414, | |
0.00869040870666504, | |
0.008673608779907227, | |
0.008644168853759765, | |
0.008533929824829102, | |
0.008564808845520019, | |
0.00851840877532959, | |
0.008447689056396484, | |
0.008520488739013671, | |
0.00854240894317627, | |
0.008475210189819336, | |
0.008601609230041505, | |
0.008600170135498048, | |
0.008447049140930175, | |
0.008362408638000488, | |
0.008413768768310547, | |
0.008523529052734374, | |
0.008652488708496093, | |
0.008566569328308106, | |
0.008399209976196288, | |
0.008413768768310547, | |
0.00859744930267334, | |
0.008448168754577637, | |
0.008389609336853027, | |
0.008486409187316895, | |
0.008450248718261718, | |
0.008475849151611328, | |
0.008479208946228027, | |
0.008436489105224609, | |
0.008471049308776856, | |
0.008460809707641601, | |
0.008456809043884277, | |
0.008422409057617188, | |
0.008471529006958007, | |
0.009136489868164063, | |
0.008354888916015626, | |
0.008440009117126465, | |
0.008444808959960937, | |
0.008448808670043946, | |
0.008388970375061035, | |
0.008373449325561524, | |
0.008454888343811036, | |
0.008429128646850586, | |
0.008447529792785645, | |
0.008459528923034669, | |
0.008495208740234374, | |
0.008450888633728027 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 116.06004014274158 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |