IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2af7943
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "0", | |
"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]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"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": 1386.233856, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.3549150390625, | |
"mean": 8.3549150390625, | |
"stdev": 0.0, | |
"p50": 8.3549150390625, | |
"p90": 8.3549150390625, | |
"p95": 8.3549150390625, | |
"p99": 8.3549150390625, | |
"values": [ | |
8.3549150390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1515.548672, | |
"max_global_vram": 0.0, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 118, | |
"total": 1.00156640958786, | |
"mean": 0.008487850928710678, | |
"stdev": 0.0010036197467627685, | |
"p50": 0.00836661195755005, | |
"p90": 0.008726434707641601, | |
"p95": 0.009139761924743651, | |
"p99": 0.00937003957748413, | |
"values": [ | |
0.008732930183410644, | |
0.008922050476074219, | |
0.009170530319213867, | |
0.009208930015563966, | |
0.009142210006713867, | |
0.009308287620544434, | |
0.008687971115112304, | |
0.008983169555664063, | |
0.008541090965270996, | |
0.00833853244781494, | |
0.008490212440490722, | |
0.008835809707641602, | |
0.008754850387573242, | |
0.008669570922851562, | |
0.008632451057434083, | |
0.00848893165588379, | |
0.008723650932312012, | |
0.008687331199645995, | |
0.008705571174621582, | |
0.008624610900878906, | |
0.008565731048583984, | |
0.01819289970397949, | |
0.004297585010528565, | |
0.008592291831970215, | |
0.008640931129455567, | |
0.008692931175231934, | |
0.00938268756866455, | |
0.00913932991027832, | |
0.008426371574401856, | |
0.008389251708984375, | |
0.008358531951904297, | |
0.008367332458496093, | |
0.008339971542358398, | |
0.00831661319732666, | |
0.008332612037658692, | |
0.008321252822875977, | |
0.008350531578063964, | |
0.008309412002563476, | |
0.008334531784057617, | |
0.008322372436523437, | |
0.008330371856689453, | |
0.008341571807861329, | |
0.008340291976928711, | |
0.00831789207458496, | |
0.008311652183532714, | |
0.00833757209777832, | |
0.008327972412109376, | |
0.008355972290039062, | |
0.008359332084655762, | |
0.008354211807250976, | |
0.008352611541748047, | |
0.008355972290039062, | |
0.008355812072753906, | |
0.00836589241027832, | |
0.008375811576843261, | |
0.0083966121673584, | |
0.0083582124710083, | |
0.008357091903686524, | |
0.008386212348937988, | |
0.008428132057189942, | |
0.008374531745910645, | |
0.008340771675109864, | |
0.008374852180480957, | |
0.008424132347106934, | |
0.0083814115524292, | |
0.008426692008972168, | |
0.008383332252502441, | |
0.008353571891784668, | |
0.008361251831054687, | |
0.008355011940002441, | |
0.008363012313842774, | |
0.008340291976928711, | |
0.00838429069519043, | |
0.00841069221496582, | |
0.008384772300720215, | |
0.00839165210723877, | |
0.008400450706481934, | |
0.00823037338256836, | |
0.008197731971740722, | |
0.007919973850250244, | |
0.00782461404800415, | |
0.008193412780761718, | |
0.00831421184539795, | |
0.008401090621948243, | |
0.00834525203704834, | |
0.008417572021484375, | |
0.008386052131652832, | |
0.00839261245727539, | |
0.008364932060241699, | |
0.008220932960510253, | |
0.008365411758422852, | |
0.008345412254333497, | |
0.008366691589355468, | |
0.008140772819519042, | |
0.008341092109680176, | |
0.008293891906738281, | |
0.008356931686401368, | |
0.00825581169128418, | |
0.008107333183288575, | |
0.008346052169799804, | |
0.008380612373352051, | |
0.008403331756591796, | |
0.008376132011413575, | |
0.008399811744689942, | |
0.00828685188293457, | |
0.008370532035827636, | |
0.008366532325744629, | |
0.008334853172302247, | |
0.008341092109680176, | |
0.008335492134094239, | |
0.008369412422180176, | |
0.008381252288818359, | |
0.008356931686401368, | |
0.008345731735229492, | |
0.008367491722106933, | |
0.00835565185546875, | |
0.00841069221496582, | |
0.008374052047729492 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.81545274522182 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |