![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
964d497
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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": "ba7db8be4ae5965d5e6183075f0edd30672dab7b", | |
"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.213632, | |
"max_global_vram": 1126.526976, | |
"max_process_vram": 45668.491264, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3623798828125, | |
"mean": 7.3623798828125, | |
"stdev": 0.0, | |
"p50": 7.3623798828125, | |
"p90": 7.3623798828125, | |
"p95": 7.3623798828125, | |
"p99": 7.3623798828125, | |
"values": [ | |
7.3623798828125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1011.990528, | |
"max_global_vram": 1183.0272, | |
"max_process_vram": 244297.248768, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9966413593292232, | |
"mean": 0.008375137473354818, | |
"stdev": 0.00021823183337827914, | |
"p50": 0.008302650451660155, | |
"p90": 0.008683325958251952, | |
"p95": 0.008959217357635498, | |
"p99": 0.009103139057159423, | |
"values": [ | |
0.008975776672363281, | |
0.009019617080688477, | |
0.009106019020080566, | |
0.009090019226074218, | |
0.008951936721801758, | |
0.008927136421203614, | |
0.008842816352844238, | |
0.008957377433776855, | |
0.008729534149169922, | |
0.00867177391052246, | |
0.008604573249816895, | |
0.009366661071777345, | |
0.009006176948547363, | |
0.008489212036132813, | |
0.008350009918212891, | |
0.008292570114135742, | |
0.00832921028137207, | |
0.00825032901763916, | |
0.008354170799255371, | |
0.008278169631958009, | |
0.008302650451660155, | |
0.008294489860534668, | |
0.00838329029083252, | |
0.008287129402160644, | |
0.008286970138549805, | |
0.00827849006652832, | |
0.008312410354614257, | |
0.008315930366516113, | |
0.008289210319519043, | |
0.008280409812927245, | |
0.008256569862365722, | |
0.008270330429077148, | |
0.00826537036895752, | |
0.008266009330749512, | |
0.008268089294433593, | |
0.008235448837280274, | |
0.008262169837951661, | |
0.008296409606933593, | |
0.00827704906463623, | |
0.008266168594360352, | |
0.008266809463500977, | |
0.008288249969482422, | |
0.008244089126586914, | |
0.008298330307006836, | |
0.008321849822998047, | |
0.008256250381469727, | |
0.008272089958190919, | |
0.008295769691467286, | |
0.00827096939086914, | |
0.008286648750305176, | |
0.008323769569396972, | |
0.008269370079040527, | |
0.00826041030883789, | |
0.008269530296325683, | |
0.008346650123596191, | |
0.008320090293884277, | |
0.008330650329589843, | |
0.008321209907531739, | |
0.008331931114196778, | |
0.008333049774169921, | |
0.00834025001525879, | |
0.008348251342773437, | |
0.008311129570007325, | |
0.008349531173706055, | |
0.008277850151062012, | |
0.008325210571289062, | |
0.008315290451049805, | |
0.008316249847412109, | |
0.00832761001586914, | |
0.008286008834838867, | |
0.008285690307617187, | |
0.00826984977722168, | |
0.008278329849243165, | |
0.008281530380249024, | |
0.008263130187988282, | |
0.0082610502243042, | |
0.008296250343322754, | |
0.008273369789123535, | |
0.008261208534240722, | |
0.008330970764160157, | |
0.008330169677734376, | |
0.008304730415344238, | |
0.008342969894409179, | |
0.008295129776000977, | |
0.008303449630737305, | |
0.00824073028564453, | |
0.008286809921264649, | |
0.00826041030883789, | |
0.00829224967956543, | |
0.008262809753417968, | |
0.008288889884948731, | |
0.008294170379638671, | |
0.00825688934326172, | |
0.008252729415893554, | |
0.008301369667053223, | |
0.00829481029510498, | |
0.008327289581298828, | |
0.008332409858703614, | |
0.008334810256958008, | |
0.0083472900390625, | |
0.008319450378417968, | |
0.008323450088500977, | |
0.008319129943847656, | |
0.008903456687927245, | |
0.008289849281311035, | |
0.00830681037902832, | |
0.00829992961883545, | |
0.008331290245056152, | |
0.008322330474853515, | |
0.008271288871765137, | |
0.008338170051574707, | |
0.00832184886932373, | |
0.008320090293884277, | |
0.008275609016418457, | |
0.008314809799194335, | |
0.008307769775390625, | |
0.00832153034210205, | |
0.008294170379638671, | |
0.008316089630126953 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 119.40102513916482 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |