IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9dd1bb2
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"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.2.0", | |
"optimum_benchmark_commit": "e65976e2695b67f37a76baa42b75347a3a733547", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1003.515904, | |
"max_global_vram": 1878.839296, | |
"max_process_vram": 223493.189632, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 1.000547620296478, | |
"mean": 0.007816778283566236, | |
"stdev": 0.0004894167374323765, | |
"p50": 0.007758489370346069, | |
"p90": 0.008437978172302246, | |
"p95": 0.00854849796295166, | |
"p99": 0.008950007505416871, | |
"values": [ | |
0.00823600959777832, | |
0.008487050056457519, | |
0.008675849914550782, | |
0.008872011184692382, | |
0.00897057056427002, | |
0.008894411087036133, | |
0.008424969673156738, | |
0.00851953125, | |
0.00820384979248047, | |
0.00808257007598877, | |
0.008549449920654296, | |
0.008564169883728028, | |
0.008546730041503907, | |
0.008469289779663085, | |
0.008468331336975098, | |
0.008236490249633788, | |
0.00793488883972168, | |
0.007864170074462891, | |
0.007844170093536378, | |
0.008075369834899902, | |
0.007761448860168457, | |
0.007539848804473877, | |
0.007915050029754638, | |
0.007819690227508546, | |
0.008048169136047363, | |
0.00813169002532959, | |
0.007937610149383545, | |
0.00787248992919922, | |
0.007860969066619873, | |
0.010994254112243652, | |
0.008475529670715331, | |
0.0082468900680542, | |
0.008176170349121093, | |
0.00814465045928955, | |
0.008205289840698243, | |
0.00819873046875, | |
0.008254249572753907, | |
0.008280170440673829, | |
0.007731369972229004, | |
0.0076321687698364254, | |
0.007697770118713379, | |
0.0077300891876220705, | |
0.007512009143829346, | |
0.007575850009918213, | |
0.007920488834381104, | |
0.007807849884033203, | |
0.0074724888801574706, | |
0.007513928890228272, | |
0.007976809978485107, | |
0.007357288837432861, | |
0.007353289127349854, | |
0.0074009690284729006, | |
0.0073496088981628415, | |
0.007488968849182129, | |
0.007364169120788574, | |
0.007346728801727295, | |
0.007346728801727295, | |
0.007308488845825196, | |
0.007402729034423828, | |
0.007390889167785644, | |
0.007355208873748779, | |
0.007446409225463867, | |
0.007373929023742676, | |
0.007378408908843994, | |
0.007260328769683838, | |
0.007332328796386719, | |
0.007356809139251709, | |
0.00745344877243042, | |
0.007411209106445313, | |
0.007401928901672363, | |
0.007377288818359375, | |
0.007402888774871826, | |
0.007313289165496826, | |
0.007334729194641113, | |
0.007376809120178223, | |
0.007385448932647705, | |
0.0073140888214111325, | |
0.0072659292221069335, | |
0.007813610076904298, | |
0.007820329189300538, | |
0.007826089859008789, | |
0.007739688873291016, | |
0.007735209941864014, | |
0.007794088840484619, | |
0.007923369884490966, | |
0.007877930164337158, | |
0.007879368782043457, | |
0.007737450122833252, | |
0.007776329040527344, | |
0.007788330078125, | |
0.0077515292167663575, | |
0.008011529922485352, | |
0.008008489608764649, | |
0.008040809631347656, | |
0.007857929229736329, | |
0.008066889762878417, | |
0.007839210033416748, | |
0.007817608833312988, | |
0.007771210193634033, | |
0.007624488830566406, | |
0.00761776876449585, | |
0.0074009690284729006, | |
0.007416169166564942, | |
0.00830177116394043, | |
0.008185449600219727, | |
0.008235050201416015, | |
0.00820641040802002, | |
0.007979050159454345, | |
0.007663049221038818, | |
0.007699368953704834, | |
0.0077555298805236815, | |
0.007777928829193115, | |
0.007809289932250977, | |
0.007673288822174072, | |
0.0076668901443481445, | |
0.00774864912033081, | |
0.007672490119934082, | |
0.007517128944396973, | |
0.007399848937988281, | |
0.007346408843994141, | |
0.007366087913513184, | |
0.007347049236297608, | |
0.007391209125518799, | |
0.007356009006500244, | |
0.007353289127349854, | |
0.0073561692237854, | |
0.007397929191589356, | |
0.007401928901672363 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.92994296670413 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |