IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5dbd6b6
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": "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.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.3.1", | |
"optimum_benchmark_commit": "9337b863a5d9e4991ca83847e6c2f66a543b52d9", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.455296, | |
"max_global_vram": 841.781248, | |
"max_process_vram": 40916.19328, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.05895556640625, | |
"mean": 7.05895556640625, | |
"stdev": 0.0, | |
"p50": 7.05895556640625, | |
"p90": 7.05895556640625, | |
"p95": 7.05895556640625, | |
"p99": 7.05895556640625, | |
"values": [ | |
7.05895556640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.6272, | |
"max_global_vram": 896.958464, | |
"max_process_vram": 211088.40448, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9958553743362426, | |
"mean": 0.007376706476564762, | |
"stdev": 0.00034072678864836397, | |
"p50": 0.00722285795211792, | |
"p90": 0.007783561038970948, | |
"p95": 0.007939879941940307, | |
"p99": 0.008094990463256835, | |
"values": [ | |
0.007607497215270996, | |
0.00765805721282959, | |
0.00791981601715088, | |
0.007893896102905274, | |
0.008011655807495117, | |
0.007848775863647461, | |
0.007832456111907958, | |
0.007807177066802978, | |
0.007842856884002686, | |
0.0076372561454772945, | |
0.007717576980590821, | |
0.007561097145080567, | |
0.007531816959381103, | |
0.007515976905822754, | |
0.007415657043457031, | |
0.007419817924499512, | |
0.007381416797637939, | |
0.007392938137054443, | |
0.007427017211914063, | |
0.007380618095397949, | |
0.007428456783294677, | |
0.0073449378013610836, | |
0.007386376857757568, | |
0.007352297782897949, | |
0.007513576984405517, | |
0.007484617233276367, | |
0.010089409828186036, | |
0.007986695766448974, | |
0.007191497802734375, | |
0.007174697875976563, | |
0.007189417839050293, | |
0.007200778961181641, | |
0.007187819004058838, | |
0.007117737770080566, | |
0.007209897994995117, | |
0.007147337913513184, | |
0.007191977977752686, | |
0.007140139102935791, | |
0.0071498980522155765, | |
0.007157577991485596, | |
0.007160458087921142, | |
0.007149417877197265, | |
0.007203497886657715, | |
0.007209578037261963, | |
0.007369897842407227, | |
0.007179977893829345, | |
0.007223018169403076, | |
0.00723485803604126, | |
0.007197257995605469, | |
0.007204617977142334, | |
0.007167978763580322, | |
0.007211658954620361, | |
0.007199337959289551, | |
0.007202218055725098, | |
0.007176137924194336, | |
0.007208777904510498, | |
0.00717261791229248, | |
0.007215338230133057, | |
0.0072086181640625, | |
0.007200617790222168, | |
0.00714893913269043, | |
0.007199337959289551, | |
0.007195017814636231, | |
0.007196777820587158, | |
0.007349738121032715, | |
0.007195018768310547, | |
0.0072476577758789065, | |
0.007166537761688232, | |
0.007222537994384766, | |
0.007264138221740723, | |
0.00717645788192749, | |
0.007187178134918213, | |
0.007186378002166748, | |
0.007213257789611817, | |
0.007195337772369385, | |
0.007210698127746582, | |
0.007124138832092285, | |
0.007151817798614502, | |
0.0072263779640197754, | |
0.007212458133697509, | |
0.007215817928314209, | |
0.007174697875976563, | |
0.007221737861633301, | |
0.007208457946777344, | |
0.007231818199157715, | |
0.007176299095153809, | |
0.007175818920135498, | |
0.007162858009338379, | |
0.007196457862854004, | |
0.00722013807296753, | |
0.007183338165283203, | |
0.007194858074188232, | |
0.007157419204711914, | |
0.007161738872528076, | |
0.00722285795211792, | |
0.007200778007507324, | |
0.007312297821044922, | |
0.008041894912719727, | |
0.008104455947875977, | |
0.007748136997222901, | |
0.007653896808624268, | |
0.007586856842041015, | |
0.007654695987701416, | |
0.007631816864013672, | |
0.008046854972839355, | |
0.008076616287231445, | |
0.007910855770111084, | |
0.007691336154937744, | |
0.007651337146759033, | |
0.007479657173156738, | |
0.007517736911773681, | |
0.007516616821289062, | |
0.007548457145690918, | |
0.007605416774749756, | |
0.007601896762847901, | |
0.007370058059692383, | |
0.007235177993774414, | |
0.007209897994995117, | |
0.007244297981262207, | |
0.0072233381271362305, | |
0.0071830182075500485, | |
0.007170537948608399, | |
0.00723533821105957, | |
0.007228618144989014, | |
0.0072074980735778804, | |
0.00720701789855957, | |
0.007221257209777832, | |
0.007208137989044189, | |
0.007273898124694824, | |
0.007283658027648926, | |
0.007256298065185547, | |
0.007248618125915527, | |
0.00727741813659668, | |
0.00722237777709961, | |
0.007248777866363526 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.561853135532 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |