IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a66abb4
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "4", | |
"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.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1389.641728, | |
"max_global_vram": 11.235328, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.89273095703125, | |
"mean": 7.89273095703125, | |
"stdev": 0.0, | |
"p50": 7.89273095703125, | |
"p90": 7.89273095703125, | |
"p95": 7.89273095703125, | |
"p99": 7.89273095703125, | |
"values": [ | |
7.89273095703125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1515.487232, | |
"max_global_vram": 11.268096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9977539873123169, | |
"mean": 0.008111821035059487, | |
"stdev": 0.0003879983040543911, | |
"p50": 0.008075329780578613, | |
"p90": 0.008560576057434082, | |
"p95": 0.008790190219879151, | |
"p99": 0.008885105495452881, | |
"values": [ | |
0.008641407012939454, | |
0.008529088020324708, | |
0.008696287155151368, | |
0.008762685775756836, | |
0.008128450393676758, | |
0.008054369926452637, | |
0.008059008598327637, | |
0.008021089553833008, | |
0.007931169033050536, | |
0.007853570938110352, | |
0.007828131198883056, | |
0.007796130180358887, | |
0.0077630109786987304, | |
0.007756610870361328, | |
0.007709091186523438, | |
0.007701250076293945, | |
0.0077158107757568355, | |
0.007719810962677002, | |
0.007760930061340332, | |
0.007724290847778321, | |
0.0077246098518371584, | |
0.007703811168670654, | |
0.007675810813903809, | |
0.007754049777984619, | |
0.010643959999084473, | |
0.008134689331054688, | |
0.0077999701499938965, | |
0.00799468994140625, | |
0.008152289390563965, | |
0.0078066902160644535, | |
0.00785004997253418, | |
0.007839170932769776, | |
0.007991809844970704, | |
0.0078023700714111325, | |
0.007854530811309815, | |
0.007948450088500977, | |
0.007863009929656982, | |
0.007839810848236085, | |
0.007815650939941406, | |
0.007846529960632325, | |
0.007839650154113769, | |
0.007821410179138184, | |
0.008075329780578613, | |
0.007848290920257569, | |
0.007878210067749023, | |
0.007836609840393067, | |
0.008495327949523925, | |
0.00815868854522705, | |
0.008155969619750977, | |
0.008187329292297364, | |
0.008093729972839355, | |
0.007799009799957276, | |
0.008123489379882812, | |
0.008090529441833496, | |
0.007829090118408204, | |
0.00795053005218506, | |
0.00817116928100586, | |
0.008188129425048828, | |
0.008233729362487794, | |
0.008167649269104004, | |
0.008168129920959473, | |
0.008518848419189453, | |
0.008375007629394532, | |
0.008190849304199218, | |
0.008126849174499512, | |
0.008308927536010742, | |
0.008291969299316406, | |
0.008467167854309081, | |
0.008410688400268554, | |
0.008793246269226075, | |
0.0088353271484375, | |
0.008520928382873535, | |
0.008329568862915039, | |
0.008327649116516114, | |
0.008223328590393066, | |
0.008452447891235351, | |
0.008192129135131836, | |
0.008031490325927735, | |
0.008320928573608399, | |
0.008296287536621094, | |
0.008414048194885254, | |
0.00825916862487793, | |
0.008231649398803711, | |
0.008295168876647949, | |
0.008048129081726075, | |
0.007824450969696044, | |
0.007789889812469483, | |
0.008126849174499512, | |
0.008198369026184081, | |
0.008235328674316407, | |
0.008232129096984864, | |
0.008245729446411132, | |
0.008277888298034669, | |
0.008267329216003419, | |
0.008248767852783202, | |
0.007863490104675293, | |
0.007827170848846435, | |
0.007862209796905517, | |
0.0077950100898742675, | |
0.007842529773712158, | |
0.007821730136871338, | |
0.007810851097106933, | |
0.007802690029144287, | |
0.007778689861297607, | |
0.0078046112060546876, | |
0.007780610084533691, | |
0.007792770862579346, | |
0.007784131050109863, | |
0.007772449970245361, | |
0.00777725076675415, | |
0.007767809867858887, | |
0.007782371044158936, | |
0.00827884864807129, | |
0.008885246276855469, | |
0.008830686569213868, | |
0.008741726875305176, | |
0.008611488342285156, | |
0.008815966606140136, | |
0.00888460636138916, | |
0.008568448066711426, | |
0.008171488761901855, | |
0.008145889282226563, | |
0.008138529777526856 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.27688143981183 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |