IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2f4c12a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "4", | |
"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.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 908.169216, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 45964.9024, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.57257177734375, | |
"mean": 7.57257177734375, | |
"stdev": 0.0, | |
"p50": 7.57257177734375, | |
"p90": 7.57257177734375, | |
"p95": 7.57257177734375, | |
"p99": 7.57257177734375, | |
"values": [ | |
7.57257177734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1023.34464, | |
"max_global_vram": 896.954368, | |
"max_process_vram": 236510.69952, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 0.9996718199253082, | |
"mean": 0.00793390333274054, | |
"stdev": 0.0013863098097102193, | |
"p50": 0.00782429599761963, | |
"p90": 0.008010375499725341, | |
"p95": 0.008059735298156739, | |
"p99": 0.014173516988754273, | |
"values": [ | |
0.008095975875854491, | |
0.00789949607849121, | |
0.007878376007080077, | |
0.007999815940856934, | |
0.0080036563873291, | |
0.008037095069885253, | |
0.008031815528869628, | |
0.015265073776245117, | |
0.002415031909942627, | |
0.008007975578308105, | |
0.008061574935913087, | |
0.008012775421142579, | |
0.007968935966491699, | |
0.007955655097961426, | |
0.007919655799865723, | |
0.007958055973052979, | |
0.007911334991455079, | |
0.007904776096343994, | |
0.007906055927276612, | |
0.007610375881195068, | |
0.007434698104858398, | |
0.007668137073516846, | |
0.0075855770111083985, | |
0.0076964559555053715, | |
0.007885255813598634, | |
0.007646056175231933, | |
0.007858215808868408, | |
0.00736333703994751, | |
0.007961895942687989, | |
0.007919335842132568, | |
0.007985895156860351, | |
0.007891816139221191, | |
0.007900455951690673, | |
0.010898846626281739, | |
0.008189735412597656, | |
0.007800936222076416, | |
0.007778535842895508, | |
0.007895495891571045, | |
0.007918055057525636, | |
0.007873735904693603, | |
0.007786695957183838, | |
0.007763495922088623, | |
0.007811336040496826, | |
0.00783021593093872, | |
0.007813416004180907, | |
0.007812615871429443, | |
0.007812935829162598, | |
0.007811016082763672, | |
0.007789576053619384, | |
0.007809095859527588, | |
0.007764455795288086, | |
0.007788616180419922, | |
0.00787773609161377, | |
0.0077863759994506836, | |
0.007791656017303467, | |
0.007775656223297119, | |
0.007795495986938477, | |
0.00779421615600586, | |
0.007849256038665771, | |
0.007793096065521241, | |
0.007832615852355958, | |
0.008026375770568847, | |
0.007824935913085938, | |
0.01893882179260254, | |
0.0028740708827972414, | |
0.00802973461151123, | |
0.007819496154785156, | |
0.007783656120300293, | |
0.00786461591720581, | |
0.007956935882568359, | |
0.0077844572067260745, | |
0.0077703771591186525, | |
0.007810535907745361, | |
0.0077980561256408695, | |
0.007787496089935303, | |
0.0077913360595703125, | |
0.007778696060180664, | |
0.007777416229248047, | |
0.007797575950622558, | |
0.007795335769653321, | |
0.007973896026611329, | |
0.007847976207733155, | |
0.007837736129760742, | |
0.007850056171417236, | |
0.007813896179199219, | |
0.00777677583694458, | |
0.007812295913696289, | |
0.007803976058959961, | |
0.007799176216125489, | |
0.007839816093444824, | |
0.007870376110076904, | |
0.007803016185760498, | |
0.007834856033325194, | |
0.007776936054229736, | |
0.007896776199340821, | |
0.007829736232757569, | |
0.007899654865264892, | |
0.007942215919494629, | |
0.007893256187438965, | |
0.007942214965820312, | |
0.008062055587768555, | |
0.008054216384887696, | |
0.00785869598388672, | |
0.007810215950012207, | |
0.00782093620300293, | |
0.0078127760887146, | |
0.007806056022644043, | |
0.00780461597442627, | |
0.007815976142883301, | |
0.00782637596130371, | |
0.007841256141662598, | |
0.007862215995788574, | |
0.0077937359809875486, | |
0.007866855144500733, | |
0.007827015876770019, | |
0.007781096935272217, | |
0.00782365608215332, | |
0.007785417079925537, | |
0.007825416088104248, | |
0.007785576820373535, | |
0.007880296230316162, | |
0.007801415920257568, | |
0.007785895824432373, | |
0.0078050951957702635, | |
0.007782375812530518, | |
0.007812456130981445 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 126.04136426433854 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |