IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2d1cc8c verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": 1079.652352,
"max_global_vram": 68702.69952,
"max_process_vram": 48622.256128,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.89689453125,
"mean": 8.89689453125,
"stdev": 0.0,
"p50": 8.89689453125,
"p90": 8.89689453125,
"p95": 8.89689453125,
"p99": 8.89689453125,
"values": [
8.89689453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1197.121536,
"max_global_vram": 68702.69952,
"max_process_vram": 237305.782272,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9964622235298156,
"mean": 0.007381201655776412,
"stdev": 0.0007011355886438471,
"p50": 0.007203503131866455,
"p90": 0.00783716506958008,
"p95": 0.008123036384582519,
"p99": 0.009459042510986327,
"values": [
0.007895979881286621,
0.007882861137390137,
0.007887341022491456,
0.007756461143493652,
0.007741261005401612,
0.00776862096786499,
0.009176458358764648,
0.0075479822158813475,
0.007518861770629883,
0.007467502117156982,
0.007470541954040527,
0.007436942100524902,
0.007365421772003174,
0.007303021907806397,
0.007306861877441406,
0.007311982154846191,
0.007305102825164795,
0.007303183078765869,
0.007314221858978271,
0.007375182151794434,
0.007393581867218018,
0.0073851017951965334,
0.007344622135162354,
0.0073252620697021485,
0.00730062198638916,
0.007316143035888672,
0.00732830286026001,
0.0073655819892883305,
0.009604616165161133,
0.00803822135925293,
0.007189102172851562,
0.007204782962799072,
0.007334702968597412,
0.007194062232971191,
0.007369102001190186,
0.007181103229522705,
0.007258542060852051,
0.0072878217697143555,
0.007172782897949218,
0.007180141925811768,
0.007135502815246582,
0.007243503093719483,
0.007362701892852783,
0.007382862091064453,
0.007409582138061524,
0.0071385431289672854,
0.007146543025970459,
0.007355502128601074,
0.007349421977996826,
0.007163823127746582,
0.0074059019088745116,
0.007262221813201904,
0.007138223171234131,
0.007168461799621582,
0.007156463146209717,
0.007179182052612304,
0.007179983139038086,
0.0071663818359375,
0.0072473430633544925,
0.007178702831268311,
0.007156463146209717,
0.007192942142486572,
0.007158223152160644,
0.007198862075805664,
0.007187023162841797,
0.0071619019508361815,
0.007189423084259033,
0.007212622165679932,
0.007138223171234131,
0.007168141841888428,
0.007198863029479981,
0.00721710205078125,
0.0071695828437805175,
0.007178222179412842,
0.007175662994384766,
0.007335182189941406,
0.0071668620109558104,
0.00716014289855957,
0.00722094202041626,
0.00718686294555664,
0.007170382022857666,
0.007168783187866211,
0.0071723017692565914,
0.0071886229515075685,
0.007161581993103027,
0.007180142879486084,
0.007151182174682617,
0.012897568702697754,
0.0031166319847106935,
0.007131823062896728,
0.007137262821197509,
0.007128942012786865,
0.007159502983093262,
0.007138542175292969,
0.007132943153381348,
0.007142862796783447,
0.007140781879425049,
0.0071671829223632815,
0.007165421962738037,
0.0071622228622436526,
0.007161421775817871,
0.007175023078918457,
0.0071947021484375,
0.007190382957458496,
0.007113583087921142,
0.007149103164672851,
0.007162702083587646,
0.007152143001556396,
0.007138542175292969,
0.007177103042602539,
0.007148941993713379,
0.00713886308670044,
0.007179983139038086,
0.007203503131866455,
0.007191823005676269,
0.007195343017578125,
0.0071883020401000974,
0.0072547030448913575,
0.007911981105804444,
0.008136140823364257,
0.008117420196533203,
0.008209580421447754,
0.008179820060729981,
0.007686861038208008,
0.007598221778869629,
0.007569900989532471,
0.0074891018867492675,
0.007528141975402832,
0.008139820098876953,
0.008108619689941407,
0.007762381076812744,
0.007695341110229492,
0.007702702045440673,
0.007588460922241211,
0.007652781009674072
]
},
"throughput": {
"unit": "samples/s",
"value": 135.4792954636886
},
"energy": null,
"efficiency": null
}
}
}