IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2359522
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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.69856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50168.827904, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.90005859375, | |
"mean": 8.90005859375, | |
"stdev": 0.0, | |
"p50": 8.90005859375, | |
"p90": 8.90005859375, | |
"p95": 8.90005859375, | |
"p99": 8.90005859375, | |
"values": [ | |
8.90005859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.454464, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 236664.840192, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9976116108894346, | |
"mean": 0.00785520953456248, | |
"stdev": 0.0012255177495671143, | |
"p50": 0.00785005283355713, | |
"p90": 0.008197796249389648, | |
"p95": 0.008221811389923095, | |
"p99": 0.008261993255615234, | |
"values": [ | |
0.007859172821044922, | |
0.008227811813354493, | |
0.007922532081604004, | |
0.007949412822723389, | |
0.008210532188415528, | |
0.02027193260192871, | |
0.0035982270240783694, | |
0.007866373062133789, | |
0.007915493011474609, | |
0.008195011138916016, | |
0.008189412117004394, | |
0.008267650604248047, | |
0.008191171646118165, | |
0.00819293212890625, | |
0.008195812225341798, | |
0.008161412239074708, | |
0.008192452430725097, | |
0.008219012260437012, | |
0.008175332069396973, | |
0.008168771743774414, | |
0.008223491668701172, | |
0.008203171730041503, | |
0.008187971115112304, | |
0.008195491790771484, | |
0.008200772285461426, | |
0.008155652046203613, | |
0.008187171936035156, | |
0.008183812141418457, | |
0.008202370643615722, | |
0.008245891571044921, | |
0.008183972358703613, | |
0.008187170982360839, | |
0.008190852165222168, | |
0.00815261173248291, | |
0.008193250656127929, | |
0.008163492202758789, | |
0.008147171974182129, | |
0.00816301155090332, | |
0.008140292167663574, | |
0.008125252723693847, | |
0.008156452178955078, | |
0.008158052444458008, | |
0.00813949203491211, | |
0.008180292129516601, | |
0.008171332359313966, | |
0.008138691902160645, | |
0.008152132034301757, | |
0.008158371925354005, | |
0.008051172256469726, | |
0.007546854019165039, | |
0.007726532936096191, | |
0.007591814041137695, | |
0.007463654041290283, | |
0.007488453865051269, | |
0.0075586938858032224, | |
0.007571653842926025, | |
0.008004291534423828, | |
0.007908772945404053, | |
0.007998372077941894, | |
0.0077404541969299315, | |
0.008020133018493652, | |
0.007839813232421874, | |
0.007802052974700928, | |
0.007986852169036865, | |
0.007828292846679687, | |
0.00783085298538208, | |
0.00785005283355713, | |
0.007769412994384765, | |
0.007988292217254639, | |
0.007651494026184082, | |
0.0076474928855896, | |
0.007677733898162842, | |
0.00786141300201416, | |
0.007688773155212402, | |
0.007259815216064453, | |
0.007485894203186036, | |
0.007265894889831543, | |
0.007240775108337402, | |
0.00729005479812622, | |
0.00725293493270874, | |
0.0072362961769104, | |
0.007486694812774658, | |
0.007246214866638184, | |
0.007236455917358399, | |
0.007237576007843018, | |
0.007260775089263916, | |
0.0072391748428344725, | |
0.00723981523513794, | |
0.007252775192260742, | |
0.007237094879150391, | |
0.007415174961090088, | |
0.007284454822540283, | |
0.0073026947975158695, | |
0.007207334995269776, | |
0.0072673349380493165, | |
0.0072428550720214846, | |
0.0072270150184631345, | |
0.007246854782104492, | |
0.007317574977874755, | |
0.007310375213623047, | |
0.007273574829101562, | |
0.007246055126190185, | |
0.007251335144042969, | |
0.00724253511428833, | |
0.0071948561668396, | |
0.007920292854309082, | |
0.008242371559143067, | |
0.008195171356201172, | |
0.008162212371826173, | |
0.0076494140625, | |
0.007829893112182617, | |
0.0076527738571166995, | |
0.007790213108062744, | |
0.008212291717529296, | |
0.008223011016845702, | |
0.008160772323608399, | |
0.008052452087402344, | |
0.007722692966461182, | |
0.007608933925628662, | |
0.007641414165496826, | |
0.0076402931213378905, | |
0.007662693977355957, | |
0.007707013130187988, | |
0.007334054946899414, | |
0.007254374980926514, | |
0.007258214950561523, | |
0.007241254806518555 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.30405161059757 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |