IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
46d1612 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"model_type": "vit",
"model": "google/vit-base-patch16-224",
"processor": "google/vit-base-patch16-224",
"device": "cuda",
"device_ids": "4",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1025.941504,
"max_global_vram": 68702.69952,
"max_process_vram": 44712.644608,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.59978759765625,
"mean": 7.59978759765625,
"stdev": 0.0,
"p50": 7.59978759765625,
"p90": 7.59978759765625,
"p95": 7.59978759765625,
"p99": 7.59978759765625,
"values": [
7.59978759765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1198.084096,
"max_global_vram": 68702.69952,
"max_process_vram": 168672.93184,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 161,
"total": 0.9987395138740538,
"mean": 0.006203351017851267,
"stdev": 0.0003128961132729236,
"p50": 0.006000780105590821,
"p90": 0.006731976985931396,
"p95": 0.006760457038879395,
"p99": 0.006809800815582276,
"values": [
0.0067935771942138675,
0.006275979042053223,
0.006147018909454346,
0.006044139862060547,
0.006031499862670898,
0.006002540111541748,
0.005985418796539307,
0.005970059871673584,
0.006022220134735108,
0.005922060012817382,
0.0059452600479125975,
0.005947179794311523,
0.005951019763946533,
0.005932300090789795,
0.005933899879455567,
0.005931340217590332,
0.0059470200538635255,
0.00619566011428833,
0.006000780105590821,
0.005970059871673584,
0.005976459980010986,
0.005997098922729492,
0.005952939987182617,
0.005974540233612061,
0.005984458923339844,
0.005970540046691894,
0.006170858860015869,
0.006163339138031006,
0.006002860069274902,
0.006005420207977295,
0.0063001389503479005,
0.006732137203216553,
0.0065650978088378905,
0.006697896957397461,
0.006393739223480225,
0.006430858135223388,
0.006664456844329834,
0.0068271770477294925,
0.006750216960906982,
0.006805576801300049,
0.006679178237915039,
0.0067990169525146485,
0.0066945371627807615,
0.006816136837005615,
0.006739017009735108,
0.006727177143096924,
0.006721096992492676,
0.006577258110046387,
0.006479177951812744,
0.006276138782501221,
0.0062935791015625,
0.006435978889465332,
0.006315497875213623,
0.005967500209808349,
0.005953579902648926,
0.005968140125274658,
0.006010540008544922,
0.005974540233612061,
0.00601901912689209,
0.005985260009765625,
0.00598445987701416,
0.0060138988494873044,
0.005990220069885254,
0.005984139919281006,
0.005981579780578613,
0.0059899001121520995,
0.005989099979400635,
0.005978059768676758,
0.00600462007522583,
0.005957099914550781,
0.005983500003814697,
0.005958700180053711,
0.006018700122833252,
0.005960460186004639,
0.006005578994750976,
0.005938700199127197,
0.00620621919631958,
0.0059500598907470705,
0.006006700038909912,
0.005970859050750733,
0.0060107002258300785,
0.005976140022277832,
0.0059913392066955565,
0.005983980178833008,
0.005960140228271484,
0.005972139835357666,
0.005966859817504883,
0.005975979804992676,
0.005968299865722657,
0.005999019145965576,
0.0059758200645446775,
0.0059667000770568844,
0.005974699974060058,
0.005963499069213867,
0.005981420040130615,
0.005978700160980225,
0.005979020118713379,
0.005988619804382324,
0.0059574198722839354,
0.005956459999084473,
0.0059543800354003905,
0.005971980094909668,
0.0059574198722839354,
0.005971980094909668,
0.005946219921112061,
0.005965579986572265,
0.005958700180053711,
0.005965260028839112,
0.005959499835968018,
0.005997580051422119,
0.005985579967498779,
0.0059998188018798825,
0.005991179943084717,
0.005983660221099854,
0.005957738876342773,
0.0059615797996521,
0.005948299884796142,
0.005938700199127197,
0.0064868578910827635,
0.006731976985931396,
0.006712777137756348,
0.006687337875366211,
0.006533257961273194,
0.006704137802124023,
0.006671018123626709,
0.006717416763305664,
0.006793897151947021,
0.006646697998046875,
0.006750857830047608,
0.006770057201385498,
0.006696136951446533,
0.006797417163848877,
0.006749096870422363,
0.006704617023468018,
0.006760457038879395,
0.006734056949615479,
0.0067590179443359375,
0.0066838178634643555,
0.006671977043151855,
0.006259018898010254,
0.006286698818206787,
0.006206379890441894,
0.006173900127410889,
0.006100780010223389,
0.005948460102081299,
0.00596829891204834,
0.005974860191345215,
0.005949260234832764,
0.005940939903259277,
0.005962860107421875,
0.0059524598121643065,
0.00618989896774292,
0.0066881380081176755,
0.006338697910308838,
0.006170538902282715,
0.00624669885635376,
0.006279979228973389,
0.006178859233856201,
0.006334857940673828,
0.006554058074951172,
0.00670909595489502
]
},
"throughput": {
"unit": "samples/s",
"value": 161.20319438998678
},
"energy": null,
"efficiency": null
}
}
}