IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
48a07e6
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": "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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"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": 1034.153984, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48347.164672, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.5896337890625, | |
"mean": 9.5896337890625, | |
"stdev": 0.0, | |
"p50": 9.5896337890625, | |
"p90": 9.5896337890625, | |
"p95": 9.5896337890625, | |
"p99": 9.5896337890625, | |
"values": [ | |
9.5896337890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1151.299584, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 208723.443712, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 1.0006355319023135, | |
"mean": 0.007638439174826818, | |
"stdev": 0.0005907109858505551, | |
"p50": 0.007591169834136963, | |
"p90": 0.007639810085296631, | |
"p95": 0.007675329446792603, | |
"p99": 0.008431086254119865, | |
"values": [ | |
0.00761884880065918, | |
0.007591169834136963, | |
0.007591169834136963, | |
0.013949384689331054, | |
0.005563017845153809, | |
0.007476291179656982, | |
0.0078082880973815915, | |
0.007627970218658448, | |
0.007656609058380127, | |
0.007666368961334228, | |
0.007658850193023681, | |
0.007626529216766357, | |
0.007632130146026611, | |
0.008626205444335937, | |
0.007810688972473144, | |
0.007571649074554443, | |
0.007568769931793213, | |
0.0075722899436950685, | |
0.0076142091751098635, | |
0.0075204501152038574, | |
0.007615489959716797, | |
0.0076060500144958494, | |
0.007602530002593994, | |
0.007598689079284668, | |
0.007584290027618408, | |
0.007629569053649902, | |
0.007613090038299561, | |
0.007607648849487305, | |
0.00756781005859375, | |
0.007579010009765625, | |
0.007562210083007812, | |
0.007569890022277832, | |
0.00757436990737915, | |
0.007563809871673584, | |
0.007550690174102783, | |
0.007557569980621338, | |
0.007559329032897949, | |
0.007583650112152099, | |
0.007566050052642822, | |
0.007548449039459229, | |
0.0075185298919677734, | |
0.007506529808044434, | |
0.0075769290924072264, | |
0.0075742101669311526, | |
0.007590050220489502, | |
0.0075601301193237306, | |
0.007570209980010986, | |
0.007575809955596924, | |
0.00757788896560669, | |
0.007574049949645996, | |
0.007578849792480469, | |
0.007530529975891113, | |
0.007582369804382324, | |
0.0075460500717163086, | |
0.007606688976287842, | |
0.007690529823303222, | |
0.007571010112762451, | |
0.0075967698097229005, | |
0.007602529048919678, | |
0.0076030101776123045, | |
0.007620288848876953, | |
0.0075826897621154785, | |
0.007585248947143555, | |
0.007646049976348877, | |
0.007620928764343261, | |
0.007613570213317871, | |
0.007591010093688965, | |
0.007603809833526611, | |
0.007597568988800049, | |
0.007632929801940918, | |
0.007599969863891601, | |
0.007633890151977539, | |
0.007575009822845459, | |
0.007613890171051026, | |
0.007639810085296631, | |
0.007606369972229004, | |
0.0076842899322509765, | |
0.007648289203643799, | |
0.0076644492149353025, | |
0.0076153302192687984, | |
0.0076122889518737795, | |
0.007628290176391601, | |
0.007573090076446533, | |
0.00757165002822876, | |
0.007619968891143799, | |
0.00756348991394043, | |
0.007598209857940674, | |
0.007562049865722656, | |
0.007586050033569336, | |
0.007570370197296143, | |
0.0076199698448181155, | |
0.007618049144744873, | |
0.007600289821624756, | |
0.007582048892974854, | |
0.007600930213928223, | |
0.007603169918060303, | |
0.007580130100250244, | |
0.007575170040130615, | |
0.007591969013214112, | |
0.007604450225830078, | |
0.007573089122772217, | |
0.007613090038299561, | |
0.007610848903656006, | |
0.007975808143615723, | |
0.007573888778686523, | |
0.007541409969329834, | |
0.007615009784698487, | |
0.0075514898300170896, | |
0.007584129810333252, | |
0.007538690090179444, | |
0.007535490036010742, | |
0.007574689865112305, | |
0.0075956501960754395, | |
0.007583489894866943, | |
0.0075889301300048825, | |
0.007613089084625244, | |
0.007587649822235107, | |
0.0075510101318359375, | |
0.0075393300056457516, | |
0.007552929878234863, | |
0.007594369888305664, | |
0.007560609817504883, | |
0.007630050182342529, | |
0.007626049041748047, | |
0.007610209941864014, | |
0.007622529029846192, | |
0.007592289924621582, | |
0.007589089870452881, | |
0.007625569820404052, | |
0.007560609817504883, | |
0.007563650131225586 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 130.91679819819635 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |