IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c9102ac
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "5", | |
"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": "warn", | |
"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.34.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": 1031.069696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44370.382848, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.6900244140625, | |
"mean": 7.6900244140625, | |
"stdev": 0.0, | |
"p50": 7.6900244140625, | |
"p90": 7.6900244140625, | |
"p95": 7.6900244140625, | |
"p99": 7.6900244140625, | |
"values": [ | |
7.6900244140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1148.645376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 218992.996352, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 1.000955594778061, | |
"mean": 0.00807222253853275, | |
"stdev": 0.003566930112279063, | |
"p50": 0.007740370035171509, | |
"p90": 0.008459327030181884, | |
"p95": 0.008549190759658813, | |
"p99": 0.016620282993316644, | |
"values": [ | |
0.00851772689819336, | |
0.008453726768493652, | |
0.015384099960327148, | |
0.003182547092437744, | |
0.008228768348693847, | |
0.008207326889038085, | |
0.007884768962860108, | |
0.0077406101226806644, | |
0.00764093017578125, | |
0.007619329929351807, | |
0.007591169834136963, | |
0.007517889976501465, | |
0.007517570972442627, | |
0.007464611053466797, | |
0.007456450939178467, | |
0.007446209907531739, | |
0.0074393310546875, | |
0.007457571029663086, | |
0.007472290992736817, | |
0.0074210910797119145, | |
0.007447010993957519, | |
0.007367650985717774, | |
0.00742733097076416, | |
0.007370370864868164, | |
0.01160987377166748, | |
0.008309087753295898, | |
0.008166208267211914, | |
0.008127009391784668, | |
0.00817404842376709, | |
0.008165727615356446, | |
0.008128607749938965, | |
0.008145407676696777, | |
0.008169407844543458, | |
0.008159808158874512, | |
0.00819644832611084, | |
0.0081430082321167, | |
0.008157407760620117, | |
0.008161249160766602, | |
0.008207167625427246, | |
0.010982996940612793, | |
0.008545247077941895, | |
0.008217887878417969, | |
0.008247008323669433, | |
0.016989532470703124, | |
0.0061417360305786135, | |
0.00880556583404541, | |
0.008549886703491211, | |
0.008483806610107421, | |
0.008439167022705078, | |
0.008466366767883302, | |
0.00851628589630127, | |
0.008461727142333984, | |
0.008438687324523925, | |
0.008299487113952637, | |
0.008359807014465332, | |
0.008265727996826172, | |
0.008273567199707031, | |
0.008260767936706543, | |
0.008260287284851075, | |
0.008246527671813966, | |
0.007683810234069824, | |
0.0076154909133911135, | |
0.00746605110168457, | |
0.007571809768676758, | |
0.007495650768280029, | |
0.007429891109466553, | |
0.007495649814605713, | |
0.007470530986785889, | |
0.0075154900550842285, | |
0.007436770915985108, | |
0.007534369945526123, | |
0.007440451145172119, | |
0.007617889881134033, | |
0.007469730854034424, | |
0.007565730094909668, | |
0.007740129947662353, | |
0.007682370185852051, | |
0.007647329807281494, | |
0.00757213020324707, | |
0.007619649887084961, | |
0.007486851215362549, | |
0.007480610847473144, | |
0.00749229097366333, | |
0.007492930889129639, | |
0.007509089946746826, | |
0.0074572510719299314, | |
0.007632929801940918, | |
0.007506050109863281, | |
0.007494690895080566, | |
0.00789436912536621, | |
0.008231488227844239, | |
0.007648449897766113, | |
0.007699170112609863, | |
0.007676770210266113, | |
0.042911670684814454, | |
0.002612468957901001, | |
0.0024998300075531007, | |
0.002457911014556885, | |
0.0024388699531555174, | |
0.00244783091545105, | |
0.005583178043365478, | |
0.008260766983032226, | |
0.008216927528381348, | |
0.007931328773498536, | |
0.008147968292236327, | |
0.008182687759399414, | |
0.00820268726348877, | |
0.008158687591552735, | |
0.00816316795349121, | |
0.008184927940368653, | |
0.008196767807006835, | |
0.008193086624145508, | |
0.00818988800048828, | |
0.00819388771057129, | |
0.00815548801422119, | |
0.00819996738433838, | |
0.008195648193359375, | |
0.008007168769836426, | |
0.007720929145812988, | |
0.007697249889373779, | |
0.00771357011795044, | |
0.007247490882873535, | |
0.007275651931762695, | |
0.007265091896057129 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.88161937143092 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |