IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2f20996
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.960704, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49928.712192, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3533671875, | |
"mean": 8.3533671875, | |
"stdev": 0.0, | |
"p50": 8.3533671875, | |
"p90": 8.3533671875, | |
"p95": 8.3533671875, | |
"p99": 8.3533671875, | |
"values": [ | |
8.3533671875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.511808, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 236600.823808, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9996019585132602, | |
"mean": 0.007630549301627937, | |
"stdev": 0.00114982502623717, | |
"p50": 0.007452141761779785, | |
"p90": 0.00811341953277588, | |
"p95": 0.008333020210266114, | |
"p99": 0.013423088550567574, | |
"values": [ | |
0.008163021087646485, | |
0.007897261142730714, | |
0.007748301982879639, | |
0.007790862083435058, | |
0.007745902061462403, | |
0.007722381114959717, | |
0.008543020248413085, | |
0.007630062103271484, | |
0.0075527820587158205, | |
0.015567803382873535, | |
0.003924150943756103, | |
0.007461102962493896, | |
0.0074219021797180176, | |
0.00741198205947876, | |
0.0073775830268859866, | |
0.007368621826171875, | |
0.007399343013763428, | |
0.007390061855316162, | |
0.007385743141174316, | |
0.00739182186126709, | |
0.007415021896362305, | |
0.007429422855377198, | |
0.00742238187789917, | |
0.0074054222106933595, | |
0.0073975830078125, | |
0.007399342060089111, | |
0.007390062808990478, | |
0.00742382287979126, | |
0.007443501949310303, | |
0.007486221790313721, | |
0.0074913430213928225, | |
0.007549263000488281, | |
0.007520782947540283, | |
0.007462382793426514, | |
0.007438062191009521, | |
0.007414381980895996, | |
0.007400463104248047, | |
0.0074323019981384275, | |
0.010147656440734863, | |
0.007905420780181884, | |
0.007504782199859619, | |
0.007556781768798828, | |
0.008040781021118165, | |
0.007644621849060058, | |
0.007735980987548828, | |
0.007902221202850342, | |
0.00758718204498291, | |
0.007618222236633301, | |
0.007561582088470459, | |
0.007605102062225342, | |
0.0077161421775817874, | |
0.007685741901397705, | |
0.007551503181457519, | |
0.007703022003173828, | |
0.0075553421974182125, | |
0.007585581779479981, | |
0.0075283021926879886, | |
0.007609422206878662, | |
0.007638862133026123, | |
0.007884460926055908, | |
0.0075406222343444825, | |
0.007692942142486572, | |
0.0075339021682739255, | |
0.007578862190246582, | |
0.007591661930084229, | |
0.007552941799163818, | |
0.00761774206161499, | |
0.007573262214660644, | |
0.007418062210083008, | |
0.007463342189788819, | |
0.007415183067321777, | |
0.007452141761779785, | |
0.0074819021224975584, | |
0.007454223155975341, | |
0.007452622890472412, | |
0.00744686222076416, | |
0.007433422088623047, | |
0.007409903049468994, | |
0.007467341899871826, | |
0.007447502136230469, | |
0.007421742916107177, | |
0.0074414219856262205, | |
0.00741902208328247, | |
0.0074167828559875484, | |
0.007407341957092285, | |
0.007378382205963135, | |
0.007401583194732666, | |
0.00739070177078247, | |
0.007436303138732911, | |
0.007383182048797608, | |
0.007386541843414306, | |
0.007394543170928955, | |
0.007366062164306641, | |
0.007349102973937988, | |
0.007451342105865478, | |
0.007388143062591552, | |
0.0074039831161499025, | |
0.007435021877288818, | |
0.014826845169067383, | |
0.0024027140140533447, | |
0.006296144962310791, | |
0.007383983135223388, | |
0.007409582138061524, | |
0.0073830227851867675, | |
0.007376303195953369, | |
0.007405101776123047, | |
0.007334222793579101, | |
0.007384781837463379, | |
0.007350062847137451, | |
0.007371342182159424, | |
0.007401103019714355, | |
0.007368943214416504, | |
0.007366062164306641, | |
0.007357903003692627, | |
0.007407822132110596, | |
0.007385262966156006, | |
0.007409902095794678, | |
0.007367982864379883, | |
0.007586542129516601, | |
0.008344941139221192, | |
0.008305580139160156, | |
0.00827645969390869, | |
0.008336460113525391, | |
0.00811341953277588, | |
0.007711341857910156, | |
0.007688621044158936, | |
0.007720302104949952, | |
0.00818462085723877, | |
0.0083455810546875, | |
0.008289580345153808, | |
0.008329580307006836 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.052164198278 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |