IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9b0cbba
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "8d3ce5d99bc670ee9136c4d65ae8c25ef9d8beae", | |
"transformers_version": "4.43.3", | |
"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.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.593984, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 41505.13664, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.7132802734375, | |
"mean": 6.7132802734375, | |
"stdev": 0.0, | |
"p50": 6.7132802734375, | |
"p90": 6.7132802734375, | |
"p95": 6.7132802734375, | |
"p99": 6.7132802734375, | |
"values": [ | |
6.7132802734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1013.153792, | |
"max_global_vram": 898.27328, | |
"max_process_vram": 221676.48256, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9964516863822935, | |
"mean": 0.007381123602831805, | |
"stdev": 0.0011468955006353188, | |
"p50": 0.007193150997161865, | |
"p90": 0.007587872886657715, | |
"p95": 0.007795361232757568, | |
"p99": 0.010308118724822991, | |
"values": [ | |
0.007571873188018799, | |
0.007636353969573974, | |
0.007890594005584717, | |
0.00891619873046875, | |
0.007839714050292969, | |
0.007893314838409424, | |
0.00792595386505127, | |
0.007776352882385254, | |
0.007726112842559815, | |
0.007589472770690918, | |
0.007576512813568115, | |
0.007554112911224365, | |
0.00760355281829834, | |
0.007622113227844238, | |
0.00758547306060791, | |
0.007547391891479492, | |
0.007593792915344238, | |
0.007542753219604492, | |
0.0074941120147705076, | |
0.0074254717826843265, | |
0.011025168418884278, | |
0.018931121826171876, | |
0.002599050998687744, | |
0.00746947193145752, | |
0.007466113090515137, | |
0.00740883207321167, | |
0.007467072010040283, | |
0.007475072860717773, | |
0.007472991943359375, | |
0.007461952209472656, | |
0.007473312854766846, | |
0.007501152992248536, | |
0.007308671951293946, | |
0.007272191047668457, | |
0.007231551170349121, | |
0.007322751998901368, | |
0.007255712032318115, | |
0.007281472206115722, | |
0.007166430950164795, | |
0.007228510856628418, | |
0.0072617921829223634, | |
0.0072565112113952635, | |
0.007357312202453613, | |
0.007270270824432373, | |
0.007240671157836914, | |
0.007190590858459473, | |
0.007156991004943848, | |
0.007160191059112549, | |
0.007160671234130859, | |
0.007120511054992676, | |
0.007139710903167724, | |
0.007180830955505371, | |
0.007157630920410156, | |
0.007124031066894531, | |
0.007193150997161865, | |
0.0071622710227966305, | |
0.00716755199432373, | |
0.007145151138305664, | |
0.00713555097579956, | |
0.007139871120452881, | |
0.007145791053771972, | |
0.007131391048431397, | |
0.007145791053771972, | |
0.0071549110412597655, | |
0.007181790828704834, | |
0.007154430866241455, | |
0.007153310775756836, | |
0.007139710903167724, | |
0.0071961917877197265, | |
0.007197310924530029, | |
0.00720195198059082, | |
0.007170431137084961, | |
0.00717539119720459, | |
0.007161312103271485, | |
0.007196831226348877, | |
0.007175870895385742, | |
0.007190910816192627, | |
0.007160830974578858, | |
0.007169791221618652, | |
0.007172350883483887, | |
0.007177791118621826, | |
0.0071670708656311035, | |
0.007167390823364258, | |
0.007215230941772461, | |
0.007159552097320557, | |
0.00715139102935791, | |
0.0071573109626770015, | |
0.007210432052612304, | |
0.007163550853729248, | |
0.007144031047821045, | |
0.0071857919692993166, | |
0.007153470993041992, | |
0.007174110889434814, | |
0.007160031795501709, | |
0.007158270835876465, | |
0.007144190788269043, | |
0.007163071155548096, | |
0.007181311130523681, | |
0.007143391132354736, | |
0.0074637131690979, | |
0.00740835189819336, | |
0.007443071842193604, | |
0.00744755220413208, | |
0.007387392044067383, | |
0.0071928310394287105, | |
0.007213312149047852, | |
0.007400191783905029, | |
0.007466913223266602, | |
0.00743507194519043, | |
0.007403072834014893, | |
0.007321311950683594, | |
0.0072049908638000485, | |
0.007269311904907227, | |
0.007288032054901123, | |
0.007291071891784668, | |
0.0072899508476257325, | |
0.0071286711692810055, | |
0.007144031047821045, | |
0.0071549110412597655, | |
0.007156510829925537, | |
0.0071737909317016605, | |
0.00718195104598999, | |
0.007171230792999268, | |
0.007155391216278076, | |
0.007164990901947022, | |
0.007197950839996338, | |
0.007162910938262939, | |
0.0071971511840820315, | |
0.007172671794891358, | |
0.007166911125183106, | |
0.007150751113891601, | |
0.007168352127075195, | |
0.007130751132965088, | |
0.007173150062561035, | |
0.007168671131134033 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.48072811249835 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |