IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
d2ef10b verified
raw
history blame
14.1 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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": "0",
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 800.354304,
"max_global_vram": 1030.22592,
"max_process_vram": 0.0,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.44705029296875,
"mean": 7.44705029296875,
"stdev": 0.0,
"p50": 7.44705029296875,
"p90": 7.44705029296875,
"p95": 7.44705029296875,
"p99": 7.44705029296875,
"values": [
7.44705029296875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 1.5601498659723884e-06,
"ram": 8.392450985372218e-07,
"gpu": 1.62555685599957e-06,
"total": 4.02495182050918e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 933.732352,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 406.847488,
"max_allocated": 363.853824
},
"latency": {
"unit": "s",
"count": 193,
"total": 0.998469791889191,
"mean": 0.005173418610824822,
"stdev": 0.0001632424517239881,
"p50": 0.00511897611618042,
"p90": 0.005450137615203857,
"p95": 0.005532057666778565,
"p99": 0.0056514558219909646,
"values": [
0.005769216060638428,
0.005540863990783691,
0.005582848072052002,
0.005500991821289062,
0.00552243185043335,
0.005574656009674072,
0.005557248115539551,
0.005453824043273926,
0.005443583965301513,
0.005157887935638428,
0.005161983966827393,
0.005157887935638428,
0.0050769920349121095,
0.005096447944641113,
0.0051701760292053225,
0.00516812801361084,
0.005149695873260498,
0.005059584140777588,
0.005017600059509277,
0.004951039791107178,
0.0050135040283203125,
0.005041152000427246,
0.005087232112884522,
0.005123072147369385,
0.005126143932342529,
0.005141503810882568,
0.00515174388885498,
0.005173247814178467,
0.005134335994720459,
0.005074944019317627,
0.0050206718444824215,
0.005064703941345215,
0.0051476478576660155,
0.005150720119476319,
0.0051404800415039064,
0.005149695873260498,
0.005194752216339111,
0.00516096019744873,
0.005111807823181152,
0.005137407779693603,
0.005079040050506592,
0.005117951869964599,
0.0051066880226135255,
0.005131264209747314,
0.005105663776397705,
0.005134335994720459,
0.005008384227752686,
0.004987904071807861,
0.005001215934753418,
0.0049725441932678225,
0.004993023872375488,
0.0051066880226135255,
0.005053440093994141,
0.005053440093994141,
0.005070847988128662,
0.005101568222045898,
0.0050841598510742185,
0.005119999885559082,
0.005184512138366699,
0.005150720119476319,
0.00515174388885498,
0.00516812801361084,
0.0051660799980163576,
0.005105663776397705,
0.005028863906860351,
0.005022719860076904,
0.00582041597366333,
0.00517632007598877,
0.005198847770690918,
0.005148672103881836,
0.0051066880226135255,
0.00515993595123291,
0.005138432025909424,
0.005149695873260498,
0.005008384227752686,
0.005044223785400391,
0.005092351913452148,
0.005108736038208008,
0.005048319816589355,
0.005223423957824707,
0.0051701760292053225,
0.0050657281875610355,
0.005037055969238281,
0.005527552127838135,
0.005391359806060791,
0.005641215801239013,
0.005538815975189209,
0.005439487934112549,
0.005459968090057373,
0.005368832111358642,
0.005565440177917481,
0.005464064121246338,
0.005553120136260986,
0.005452864170074463,
0.005471231937408447,
0.005497856140136719,
0.005451776027679443,
0.005391359806060791,
0.005440512180328369,
0.005412864208221436,
0.005384191989898681,
0.005318655967712403,
0.005393407821655274,
0.005433407783508301,
0.005342207908630371,
0.005262335777282715,
0.005248000144958496,
0.00519375991821289,
0.0051333122253417966,
0.0051701760292053225,
0.0053606400489807126,
0.005341184139251709,
0.005114848136901855,
0.005078015804290771,
0.005085184097290039,
0.005101568222045898,
0.005182464122772217,
0.005276671886444092,
0.005239808082580567,
0.005128191947937012,
0.00522649621963501,
0.005135359764099121,
0.005164031982421875,
0.005259263992309571,
0.005340159893035889,
0.00541593599319458,
0.005268479824066162,
0.005111807823181152,
0.005112832069396973,
0.005116960048675537,
0.0052295680046081545,
0.005130239963531494,
0.005123072147369385,
0.005145599842071533,
0.005153791904449463,
0.005112832069396973,
0.005182464122772217,
0.0051036162376403805,
0.005120992183685303,
0.005248000144958496,
0.00511897611618042,
0.0050728960037231445,
0.0050954241752624516,
0.005127168178558349,
0.005107711791992187,
0.005064703941345215,
0.005082111835479736,
0.005102591991424561,
0.0050841598510742185,
0.0050728960037231445,
0.005141503810882568,
0.005066751956939697,
0.005073919773101807,
0.00506060791015625,
0.005071872234344482,
0.005055488109588623,
0.005074944019317627,
0.005053440093994141,
0.0050841598510742185,
0.0050728960037231445,
0.005056511878967285,
0.005079040050506592,
0.0050728960037231445,
0.005090303897857666,
0.005004288196563721,
0.0050462718009948735,
0.005024767875671386,
0.005028863906860351,
0.005022719860076904,
0.005040128231048584,
0.005045248031616211,
0.005038080215454102,
0.005007359981536865,
0.005057536125183106,
0.005007359981536865,
0.005033984184265137,
0.0049827837944030765,
0.0050432000160217285,
0.0050769920349121095,
0.005055488109588623,
0.005083136081695557,
0.005108736038208008,
0.005071872234344482,
0.005053440093994141,
0.005092351913452148,
0.005053440093994141,
0.00505241584777832,
0.005058559894561767,
0.005097472190856934,
0.005119999885559082,
0.005082111835479736,
0.00506982421875,
0.005107711791992187
]
},
"throughput": {
"unit": "samples/s",
"value": 193.2957827745869
},
"energy": {
"unit": "kWh",
"cpu": 5.7816332928804e-08,
"ram": 3.155426039664641e-08,
"gpu": 3.382580915339752e-07,
"total": 4.2762868485942564e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 2338477.3646060014
}
}
}
}