IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
068fc1f
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": "3b109cf557e2496fe3c954817385781e6dc5cad1", | |
"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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.172672, | |
"max_global_vram": 841.773056, | |
"max_process_vram": 41144.705024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.36642626953125, | |
"mean": 7.36642626953125, | |
"stdev": 0.0, | |
"p50": 7.36642626953125, | |
"p90": 7.36642626953125, | |
"p95": 7.36642626953125, | |
"p99": 7.36642626953125, | |
"values": [ | |
7.36642626953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.679232, | |
"max_global_vram": 898.277376, | |
"max_process_vram": 228065.742848, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9999365901947016, | |
"mean": 0.008620143018919847, | |
"stdev": 0.00031828930142495723, | |
"p50": 0.008475310802459717, | |
"p90": 0.00907194709777832, | |
"p95": 0.009315266132354736, | |
"p99": 0.009549840593338013, | |
"values": [ | |
0.00911994743347168, | |
0.009412425994873047, | |
0.00955610466003418, | |
0.009514344215393067, | |
0.009420584678649903, | |
0.009320425987243652, | |
0.009294825553894043, | |
0.009313546180725097, | |
0.009093067169189454, | |
0.008958348274230957, | |
0.008838829040527343, | |
0.008832267761230469, | |
0.008798829078674316, | |
0.008915947914123536, | |
0.008948107719421387, | |
0.008946348190307617, | |
0.008826668739318849, | |
0.00871674919128418, | |
0.00878762912750244, | |
0.008858187675476074, | |
0.009050827026367187, | |
0.009164266586303711, | |
0.009008587837219239, | |
0.008909387588500977, | |
0.008929548263549804, | |
0.008873228073120118, | |
0.00884010887145996, | |
0.008824909210205078, | |
0.010207779884338379, | |
0.008865388870239257, | |
0.00841051197052002, | |
0.008385231971740723, | |
0.008460110664367675, | |
0.008446990966796875, | |
0.008430191040039062, | |
0.00844459056854248, | |
0.008500110626220704, | |
0.008443950653076172, | |
0.008435951232910157, | |
0.008455631256103515, | |
0.008504751205444337, | |
0.008502510070800781, | |
0.00847195053100586, | |
0.008463150024414062, | |
0.008411471366882323, | |
0.008420591354370116, | |
0.008483631134033203, | |
0.008435471534729004, | |
0.008435791015625, | |
0.008465070724487305, | |
0.008506190299987794, | |
0.008496590614318848, | |
0.008398192405700684, | |
0.008476430892944337, | |
0.008463951110839843, | |
0.008511469841003419, | |
0.008459470748901366, | |
0.008500430107116699, | |
0.008446030616760254, | |
0.008445711135864257, | |
0.008476110458374023, | |
0.008458511352539062, | |
0.00842699146270752, | |
0.008415310859680177, | |
0.008436111450195313, | |
0.008449710845947266, | |
0.008489871025085449, | |
0.008457711219787598, | |
0.008469870567321777, | |
0.008466509819030762, | |
0.008469551086425782, | |
0.008435311317443848, | |
0.008460749626159668, | |
0.008467150688171386, | |
0.008472750663757325, | |
0.008479150772094726, | |
0.008442030906677247, | |
0.008362991333007812, | |
0.008539629936218261, | |
0.008438191413879394, | |
0.008494670867919923, | |
0.008478350639343261, | |
0.00848155117034912, | |
0.008491471290588378, | |
0.00847451114654541, | |
0.008445871353149415, | |
0.008491950988769531, | |
0.008466350555419921, | |
0.008447630882263184, | |
0.008454991340637206, | |
0.008378352165222168, | |
0.008361230850219727, | |
0.008411311149597167, | |
0.008373870849609374, | |
0.008374191284179688, | |
0.008440911293029785, | |
0.0084260311126709, | |
0.008381550788879394, | |
0.008430830955505371, | |
0.008391310691833496, | |
0.0084391508102417, | |
0.008446511268615722, | |
0.008502511024475098, | |
0.009098346710205079, | |
0.008362351417541504, | |
0.008438191413879394, | |
0.008491790771484375, | |
0.008527791023254395, | |
0.008483470916748047, | |
0.008479470252990723, | |
0.00845786952972412, | |
0.008569230079650879, | |
0.008472110748291016, | |
0.008484270095825195, | |
0.008505551338195801, | |
0.00850747013092041 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 116.00735600385731 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |