IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
08c481e
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": "0fe64c9dadf839c1f16495afd4c4cbc98fcfce05", | |
"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.259264, | |
"max_global_vram": 3128.385536, | |
"max_process_vram": 43317.88288, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.16202685546875, | |
"mean": 7.16202685546875, | |
"stdev": 0.0, | |
"p50": 7.16202685546875, | |
"p90": 7.16202685546875, | |
"p95": 7.16202685546875, | |
"p99": 7.16202685546875, | |
"values": [ | |
7.16202685546875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1012.03968, | |
"max_global_vram": 3184.889856, | |
"max_process_vram": 223878.836224, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.9992417678833008, | |
"mean": 0.007806576311588288, | |
"stdev": 0.0004259533229175416, | |
"p50": 0.007613746404647827, | |
"p90": 0.008296162033081055, | |
"p95": 0.008449257230758667, | |
"p99": 0.008656674566268922, | |
"values": [ | |
0.008028306007385255, | |
0.007912946224212647, | |
0.008146065711975098, | |
0.008209104537963868, | |
0.008218706130981445, | |
0.00811038589477539, | |
0.008098705291748047, | |
0.008263186454772949, | |
0.007981746196746827, | |
0.007940306186676025, | |
0.007864305973052979, | |
0.007877265930175781, | |
0.007773906230926514, | |
0.007754226207733154, | |
0.007704307079315185, | |
0.007706225872039795, | |
0.007685107231140137, | |
0.007712306022644043, | |
0.0077084660530090336, | |
0.007675187110900879, | |
0.007670385837554932, | |
0.0076556668281555175, | |
0.007646865844726562, | |
0.007927666187286377, | |
0.007784787178039551, | |
0.007771825790405274, | |
0.007820946216583252, | |
0.011120941162109375, | |
0.007926867008209229, | |
0.007515986919403076, | |
0.007552786827087403, | |
0.007518867015838623, | |
0.007485105991363526, | |
0.007466386795043945, | |
0.007555187225341797, | |
0.007484306812286377, | |
0.007536787033081055, | |
0.007519186973571778, | |
0.007519667148590088, | |
0.007501427173614502, | |
0.007488146781921386, | |
0.007547826766967774, | |
0.00755230712890625, | |
0.007523985862731933, | |
0.007575346946716309, | |
0.00753598690032959, | |
0.007575345993041992, | |
0.007538066864013672, | |
0.007524947166442871, | |
0.007514226913452149, | |
0.007541905879974365, | |
0.007542067050933838, | |
0.007553586959838867, | |
0.007553586006164551, | |
0.007549746990203858, | |
0.007511826992034912, | |
0.007516626834869385, | |
0.007569266796112061, | |
0.007503346920013428, | |
0.007576467037200928, | |
0.007636305809020996, | |
0.007585906982421875, | |
0.007608625888824463, | |
0.0075884671211242675, | |
0.00748734712600708, | |
0.007553266048431396, | |
0.007557587146759033, | |
0.007531026840209961, | |
0.007561427116394043, | |
0.007555346965789795, | |
0.0076095871925354, | |
0.007571025848388672, | |
0.007565426826477051, | |
0.007574546813964844, | |
0.007581905841827392, | |
0.007612946987152099, | |
0.007523666858673095, | |
0.007572946071624756, | |
0.007594707012176513, | |
0.007614545822143555, | |
0.007619987010955811, | |
0.0075932669639587405, | |
0.007585425853729248, | |
0.00758510684967041, | |
0.007558227062225342, | |
0.007543826103210449, | |
0.00752062702178955, | |
0.007562867164611816, | |
0.007596786022186279, | |
0.007589746952056884, | |
0.007604946136474609, | |
0.007556306838989258, | |
0.007432947158813477, | |
0.00743054723739624, | |
0.007473267078399658, | |
0.00751790714263916, | |
0.008442866325378417, | |
0.008444145202636718, | |
0.008388625144958497, | |
0.007862386226654052, | |
0.00793518590927124, | |
0.007947346210479737, | |
0.007946385860443115, | |
0.008693264961242677, | |
0.008105586051940918, | |
0.008557744979858398, | |
0.008526544570922851, | |
0.008544144630432128, | |
0.008450545310974122, | |
0.00846318531036377, | |
0.00804926586151123, | |
0.007986705780029297, | |
0.008074066162109376, | |
0.008008946418762207, | |
0.00807758617401123, | |
0.007933266162872314, | |
0.008128146171569824, | |
0.00841406536102295, | |
0.00844686508178711, | |
0.0083731050491333, | |
0.007948144912719727, | |
0.007858226776123047, | |
0.008204625129699708, | |
0.007889585971832275, | |
0.008000306129455566, | |
0.007900626182556152, | |
0.008001106262207031, | |
0.008233745574951172 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.09712735601823 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |