IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7bbb898
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": "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.1", | |
"optimum_benchmark_commit": "eee61510ab9c7b38bd9807712fa942e2f5ba255c", | |
"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": 1007.751168, | |
"max_global_vram": 3096.088576, | |
"max_process_vram": 238276.268032, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.443712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.996483636856079, | |
"mean": 0.007724679355473481, | |
"stdev": 0.00017175908314029904, | |
"p50": 0.007686548233032227, | |
"p90": 0.007847187042236328, | |
"p95": 0.00788184289932251, | |
"p99": 0.008447109775543213, | |
"values": [ | |
0.0077716679573059085, | |
0.007733907222747803, | |
0.007675187110900879, | |
0.007758387088775635, | |
0.00785310697555542, | |
0.007909107208251952, | |
0.007880786895751953, | |
0.007846867084503174, | |
0.007900947093963624, | |
0.007851027011871337, | |
0.007843667030334473, | |
0.0077902269363403324, | |
0.007664466857910156, | |
0.007673906803131104, | |
0.007647027969360351, | |
0.0076316680908203125, | |
0.007672626972198487, | |
0.007609107971191406, | |
0.0076148681640625, | |
0.007653747081756592, | |
0.007642547130584717, | |
0.007721268177032471, | |
0.007690866947174072, | |
0.007703186988830567, | |
0.0077089471817016605, | |
0.0076934280395507815, | |
0.007689747810363769, | |
0.0077143869400024415, | |
0.007668947219848633, | |
0.007710227012634277, | |
0.007656628131866455, | |
0.007698387145996094, | |
0.007671027183532715, | |
0.00768878698348999, | |
0.007694707870483398, | |
0.0076715068817138675, | |
0.007647666931152344, | |
0.0076502270698547365, | |
0.007663187980651856, | |
0.007688626766204834, | |
0.007694067001342774, | |
0.007720946788787842, | |
0.007728627204895019, | |
0.007675347805023193, | |
0.007709268093109131, | |
0.007658387184143066, | |
0.007655827045440674, | |
0.007684788227081299, | |
0.007689747810363769, | |
0.007659506797790527, | |
0.007703347206115723, | |
0.0077451071739196775, | |
0.00767822790145874, | |
0.0076409468650817875, | |
0.0076526269912719725, | |
0.007666868209838867, | |
0.007661588191986084, | |
0.0076783871650695805, | |
0.0076935868263244625, | |
0.007801106929779053, | |
0.007831027030944824, | |
0.00775374698638916, | |
0.0077601480484008785, | |
0.007779508113861084, | |
0.007740787029266357, | |
0.00776030683517456, | |
0.007783186912536621, | |
0.008635986328125, | |
0.007845107078552247, | |
0.007885906219482422, | |
0.007857747077941894, | |
0.007837906837463379, | |
0.0078039870262146, | |
0.007767508029937744, | |
0.00774670696258545, | |
0.007744307041168213, | |
0.007672467231750488, | |
0.007691027164459229, | |
0.00767550802230835, | |
0.007652946949005127, | |
0.007671027183532715, | |
0.007652146816253662, | |
0.007659348011016845, | |
0.007676146984100342, | |
0.007644627094268799, | |
0.00762574815750122, | |
0.0076574268341064455, | |
0.007879507064819337, | |
0.007961427211761475, | |
0.007848466873168945, | |
0.007780786991119385, | |
0.0077308669090270996, | |
0.007714066982269287, | |
0.0077191867828369145, | |
0.0092006254196167, | |
0.007882546901702881, | |
0.0077022271156311035, | |
0.007706867218017578, | |
0.007714066982269287, | |
0.007695188045501709, | |
0.007686548233032227, | |
0.007619987010955811, | |
0.007754547119140625, | |
0.007640947818756103, | |
0.00760126781463623, | |
0.007635507106781006, | |
0.007650386810302734, | |
0.007648787021636963, | |
0.007657427787780762, | |
0.007639347076416015, | |
0.00763150691986084, | |
0.007626547813415528, | |
0.007632787227630615, | |
0.007651987075805664, | |
0.007664147853851318, | |
0.007689908027648926, | |
0.007654386997222901, | |
0.007642706871032715, | |
0.007654387950897217, | |
0.007619186878204346, | |
0.0076294269561767575, | |
0.00763182783126831, | |
0.007611026763916015, | |
0.007630705833435059, | |
0.007609268188476562, | |
0.007633266925811767, | |
0.007656947135925293, | |
0.007621747970581055, | |
0.007654067993164063 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.45521153462886 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |