IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
886e9fa verified
raw
history blame
10.1 kB
{
"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": "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",
"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.2.1",
"optimum_benchmark_commit": "9a8b29987613b8b04c221447a49b37ee314548ff",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1004.8512,
"max_global_vram": 898.981888,
"max_process_vram": 186243.325952,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 130,
"total": 0.996351628780365,
"mean": 0.007664243298310499,
"stdev": 0.00033756514061585323,
"p50": 0.00758002257347107,
"p90": 0.00794179916381836,
"p95": 0.008217688608169555,
"p99": 0.009060515403747553,
"values": [
0.007753462791442871,
0.00760770320892334,
0.00763234281539917,
0.007672183036804199,
0.007678583145141602,
0.007670423030853271,
0.007693943023681641,
0.007715863227844238,
0.007600662231445313,
0.007693784236907959,
0.007694262981414795,
0.007620502948760986,
0.007781463146209717,
0.00759186315536499,
0.0075675430297851565,
0.007585462093353272,
0.007600982189178467,
0.0075773029327392575,
0.007604823112487793,
0.007512342929840088,
0.007517782211303711,
0.00759410285949707,
0.007706583023071289,
0.0077337827682495116,
0.007831862926483154,
0.007807223796844482,
0.007832983016967773,
0.009953470230102538,
0.009313628196716309,
0.007474583148956299,
0.007509302139282226,
0.00765250301361084,
0.007447863101959228,
0.007549781799316407,
0.007764822959899902,
0.007638422966003418,
0.007844983100891113,
0.007787862777709961,
0.007537941932678222,
0.007690103054046631,
0.007386261940002441,
0.007457783222198486,
0.007456501960754394,
0.007446262836456299,
0.0074301018714904785,
0.007674743175506591,
0.007465301990509033,
0.0074416232109069825,
0.007451221942901611,
0.007520183086395264,
0.007578742980957031,
0.00742946195602417,
0.007431062221527099,
0.007730904102325439,
0.008165944099426269,
0.007598903179168701,
0.0074320220947265625,
0.0074440231323242186,
0.007561781883239746,
0.0074656219482421874,
0.007456342220306397,
0.00742050313949585,
0.00745618200302124,
0.007620343208312988,
0.0077461028099060055,
0.0076813030242919925,
0.007493782043457031,
0.007456501960754394,
0.0074552221298217775,
0.007654423236846924,
0.007439541816711426,
0.007460662841796875,
0.00743490219116211,
0.007406422138214111,
0.0074702630043029785,
0.007442262172698975,
0.007454583168029785,
0.007452501773834229,
0.00767058277130127,
0.0074227418899536135,
0.007487543106079101,
0.007640343189239502,
0.007464982032775879,
0.007464502811431885,
0.007469141960144043,
0.007424502849578857,
0.007496342182159423,
0.007458582878112793,
0.0074816222190856934,
0.007442742824554443,
0.007460981845855713,
0.007451062202453613,
0.00742658281326294,
0.008260025024414062,
0.008440825462341308,
0.008426104545593262,
0.008055065155029297,
0.007830903053283692,
0.007891064167022704,
0.007890263080596923,
0.007937303066253662,
0.007868343830108643,
0.007903704166412354,
0.007463702201843262,
0.007378262042999267,
0.007482741832733154,
0.007787864208221435,
0.007441301822662353,
0.00782850408554077,
0.008304985046386718,
0.008431705474853515,
0.008158103942871094,
0.00806018352508545,
0.00804466438293457,
0.007982264041900635,
0.007908664226531982,
0.007656023025512695,
0.0076262631416320805,
0.007597463130950928,
0.007487381935119629,
0.007517622947692871,
0.007488021850585938,
0.0075160231590271,
0.0074718608856201175,
0.007493463039398194,
0.007436341762542724,
0.007840983867645264,
0.00754882287979126,
0.0075813021659851074,
0.007435863018035889
]
},
"throughput": {
"unit": "samples/s",
"value": 130.47602497436887
},
"energy": null,
"efficiency": null
}
}
}