IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5aa974f verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": "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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 956.02688,
"max_global_vram": 68702.69952,
"max_process_vram": 45606.432768,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.86240625,
"mean": 7.86240625,
"stdev": 0.0,
"p50": 7.86240625,
"p90": 7.86240625,
"p95": 7.86240625,
"p99": 7.86240625,
"values": [
7.86240625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1080.819712,
"max_global_vram": 68702.69952,
"max_process_vram": 229190.889472,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9981382060050964,
"mean": 0.007619375618359514,
"stdev": 0.0005385192898834936,
"p50": 0.007528781890869141,
"p90": 0.008199339866638183,
"p95": 0.008414538860321046,
"p99": 0.009822008132934565,
"values": [
0.008292140007019043,
0.008255180358886718,
0.008391179084777833,
0.008506219863891601,
0.008550219535827637,
0.008498218536376953,
0.008187179565429687,
0.008437898635864258,
0.00947469711303711,
0.008184300422668458,
0.008223499298095703,
0.008262539863586426,
0.008232139587402343,
0.008199339866638183,
0.007821741104125977,
0.008123339653015137,
0.007615500926971435,
0.007613902091979981,
0.007560781955718994,
0.00728862190246582,
0.007273742198944092,
0.0074132618904113766,
0.007443181991577149,
0.007611501216888428,
0.007518861770629883,
0.010626853942871094,
0.00811534023284912,
0.008022859573364257,
0.007603181838989258,
0.00805582046508789,
0.008008139610290527,
0.007755180835723877,
0.009970855712890626,
0.007770380973815918,
0.007826860904693603,
0.008040300369262695,
0.00805933952331543,
0.008052780151367187,
0.0077099018096923825,
0.007593582153320313,
0.007569261074066162,
0.007592462062835694,
0.007728301048278809,
0.008056779861450196,
0.00803246021270752,
0.008007821083068847,
0.007663021087646485,
0.007652781009674072,
0.007982221126556397,
0.00801021957397461,
0.007972940921783448,
0.0076569409370422364,
0.007617580890655518,
0.0073857421875,
0.0077126212120056156,
0.0074015817642211915,
0.007496141910552979,
0.0075046210289001465,
0.007599981784820556,
0.007483500957489014,
0.007478382110595703,
0.007141263008117676,
0.007138062953948974,
0.007126382827758789,
0.00707950210571289,
0.007115663051605225,
0.007120302200317383,
0.007129262924194336,
0.007107502937316894,
0.0071678228378295895,
0.007304942131042481,
0.007163823127746582,
0.007138062953948974,
0.007332942008972168,
0.0071764631271362305,
0.007182063102722168,
0.007131502151489257,
0.007136302947998047,
0.007203661918640137,
0.007150863170623779,
0.007166222095489502,
0.007184302806854248,
0.007208462238311768,
0.007155181884765625,
0.007170702934265137,
0.007184301853179932,
0.007176783084869385,
0.007204942226409912,
0.007177903175354004,
0.007213422775268555,
0.007210381984710693,
0.007196783065795898,
0.007147983074188232,
0.007127822875976563,
0.007234862804412842,
0.007175821781158448,
0.0071831831932067875,
0.0071692619323730465,
0.007135343074798584,
0.007171341896057129,
0.007173742771148682,
0.0071886229515075685,
0.007188461780548096,
0.007258382797241211,
0.007154383182525635,
0.007226702213287354,
0.00721422290802002,
0.007216462135314941,
0.0072047820091247555,
0.007860781192779541,
0.008072460174560547,
0.008009740829467774,
0.007871019840240478,
0.007474862098693848,
0.007610540866851806,
0.007516302108764648,
0.007528781890869141,
0.007523982048034668,
0.007559341907501221,
0.007423340797424316,
0.007437421798706055,
0.007493102073669434,
0.0076894211769104005,
0.007633740901947021,
0.007603662014007568,
0.007599821090698242,
0.007591341972351074,
0.007667662143707276,
0.007599660873413086,
0.007576941967010498,
0.007531180858612061
]
},
"throughput": {
"unit": "samples/s",
"value": 131.24434994258814
},
"energy": null,
"efficiency": null
}
}
}