IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
60a8343 verified
raw
history blame
10.4 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",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.0",
"optimum_benchmark_commit": "47f521462daae132cf29116243bfd11ec14edd99",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1007.091712,
"max_global_vram": 898.469888,
"max_process_vram": 209048.629248,
"max_reserved": 555.74528,
"max_allocated": 499.507712
},
"latency": {
"unit": "s",
"count": 136,
"total": 1.0016290302276611,
"mean": 0.007364919339909273,
"stdev": 0.0003751201716630085,
"p50": 0.0071900379657745365,
"p90": 0.00799043321609497,
"p95": 0.008129552364349365,
"p99": 0.008398094987869264,
"values": [
0.0076578760147094724,
0.007287797927856446,
0.007620114803314209,
0.007858193874359131,
0.008160271644592286,
0.008155632019042968,
0.00808347225189209,
0.00829867172241211,
0.008451630592346191,
0.008153552055358887,
0.008121552467346192,
0.0076714749336242675,
0.007397556781768799,
0.007106039047241211,
0.0070965981483459475,
0.007041079044342041,
0.007043317794799804,
0.007093399047851562,
0.007020918846130371,
0.006987318992614746,
0.006982038974761963,
0.006992438793182373,
0.007011319160461426,
0.0069810791015625,
0.0069783592224121095,
0.007012118816375732,
0.007002839088439941,
0.006977398872375488,
0.007006679058074951,
0.006992440223693847,
0.009060267448425294,
0.008260750770568847,
0.007291478157043457,
0.0075253968238830566,
0.007499956130981446,
0.007353557109832764,
0.007403477191925049,
0.007353396892547608,
0.00718875789642334,
0.007113879203796387,
0.007081398010253906,
0.007115478038787842,
0.007291957855224609,
0.007105399131774903,
0.007111638069152832,
0.007104598045349121,
0.007268757820129395,
0.007117399215698242,
0.007137877941131592,
0.007122357845306396,
0.007232438087463379,
0.007159799098968506,
0.007200597763061523,
0.007153078079223633,
0.007287797927856446,
0.0073377170562744145,
0.007273558139801025,
0.007142037868499756,
0.007147317886352539,
0.007485556125640869,
0.007091797828674316,
0.007117397785186767,
0.0071319580078125,
0.007102199077606201,
0.007082038879394531,
0.0071412382125854495,
0.007181558132171631,
0.0070941982269287105,
0.007098039150238037,
0.007111958980560303,
0.0070922780036926265,
0.007134997844696045,
0.00711291790008545,
0.007051798820495605,
0.007121397972106934,
0.00711339807510376,
0.007115798950195313,
0.007073238849639892,
0.007118358135223389,
0.007091478824615478,
0.00709627914428711,
0.007131477832794189,
0.007113877773284912,
0.007112758159637451,
0.007104759216308594,
0.007121878147125244,
0.007130358219146728,
0.00711771821975708,
0.007252438068389893,
0.007254518032073974,
0.007120118141174316,
0.007141397953033447,
0.007109717845916748,
0.007397877216339111,
0.007134677886962891,
0.007573075771331787,
0.007398676872253418,
0.007338517189025879,
0.007366676807403564,
0.007434037208557129,
0.00747787618637085,
0.007485556125640869,
0.007431157112121582,
0.007391157150268554,
0.007563315868377686,
0.007903314113616944,
0.007650996208190918,
0.0076218748092651365,
0.007476915836334228,
0.007711474895477295,
0.007663636207580566,
0.007525556087493897,
0.007615635871887207,
0.007873233795166015,
0.008039472579956054,
0.008101873397827149,
0.00809467315673828,
0.008059473037719726,
0.008096112251281738,
0.007941393852233887,
0.007609076023101806,
0.007813233852386475,
0.007650994777679444,
0.007659474849700928,
0.0075813961029052735,
0.00764763593673706,
0.007465877056121826,
0.00717451810836792,
0.007148758888244629,
0.007116758823394775,
0.007181717872619629,
0.007266037940979004,
0.0072079582214355465,
0.007201076984405518,
0.007190837860107422,
0.00718923807144165
]
},
"throughput": {
"unit": "samples/s",
"value": 135.77881221063296
},
"energy": null,
"efficiency": null
}
}
}