IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
ff38675 verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": "6",
"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": 946.95424,
"max_global_vram": 68702.69952,
"max_process_vram": 47992.840192,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.209072265625,
"mean": 8.209072265625,
"stdev": 0.0,
"p50": 8.209072265625,
"p90": 8.209072265625,
"p95": 8.209072265625,
"p99": 8.209072265625,
"values": [
8.209072265625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1119.08864,
"max_global_vram": 68702.69952,
"max_process_vram": 180010.868736,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 160,
"total": 0.9998566775321968,
"mean": 0.006249104234576225,
"stdev": 0.00046268514818554603,
"p50": 0.006075289011001587,
"p90": 0.00668599395751953,
"p95": 0.00682348198890686,
"p99": 0.007948285412788383,
"values": [
0.009977774620056152,
0.006476490020751953,
0.006403209209442139,
0.006475210189819336,
0.006507369995117187,
0.006455368995666504,
0.006439529895782471,
0.006464169979095459,
0.006379368782043457,
0.0064374499320983885,
0.006391048908233643,
0.006317130088806152,
0.006322409152984619,
0.0064796900749206545,
0.0062473688125610355,
0.006210089206695557,
0.0062536091804504396,
0.006187368869781494,
0.006172008991241455,
0.006154728889465332,
0.006137290000915527,
0.006148649215698242,
0.00613456916809082,
0.006150729179382324,
0.00616896915435791,
0.006169609069824219,
0.006173929214477539,
0.006185288906097412,
0.009452174186706543,
0.006275528907775879,
0.006054568767547608,
0.0060713691711425785,
0.006074569225311279,
0.006058248043060302,
0.006061769008636474,
0.006058248996734619,
0.006076169013977051,
0.0060579290390014645,
0.006067208766937256,
0.006068328857421875,
0.006025769233703613,
0.0060792088508605955,
0.006075529098510743,
0.006051689147949219,
0.006056328773498535,
0.006670249938964844,
0.006243848800659179,
0.006067849159240722,
0.006036169052124023,
0.006094569206237793,
0.006052168846130371,
0.00606864881515503,
0.006011047840118408,
0.006036647796630859,
0.00603760814666748,
0.00625584888458252,
0.006042728900909424,
0.006213288784027099,
0.006068328857421875,
0.006086409091949463,
0.006080809116363525,
0.0060504088401794436,
0.006086729049682617,
0.00608384895324707,
0.0060787291526794435,
0.006113449096679688,
0.006130088806152343,
0.006083209037780762,
0.006094089031219482,
0.006073288917541504,
0.006077448844909668,
0.006070249080657959,
0.006071528911590576,
0.006059049129486084,
0.006074569225311279,
0.00606528902053833,
0.006242410182952881,
0.006045769214630127,
0.006032968997955322,
0.006031369209289551,
0.006049609184265137,
0.00607344913482666,
0.006057448863983154,
0.006081288814544678,
0.006034089088439941,
0.006027369022369384,
0.0060700888633728025,
0.006058888912200928,
0.006050088882446289,
0.006041449069976806,
0.006024488925933838,
0.00604944896697998,
0.0060096092224121095,
0.006021288871765137,
0.006028008937835693,
0.006018568992614746,
0.00602928876876831,
0.0060560088157653805,
0.006040648937225342,
0.006059848785400391,
0.0060596890449523926,
0.006077768802642822,
0.006011528968811035,
0.006048809051513672,
0.006043848991394043,
0.0060315289497375486,
0.006046409130096435,
0.006028328895568848,
0.006033608913421631,
0.006055048942565918,
0.006044969081878662,
0.006021608829498291,
0.006043529033660889,
0.006050889015197754,
0.006044009208679199,
0.006039369106292725,
0.006043368816375732,
0.00602928876876831,
0.0060572891235351565,
0.006096168994903565,
0.00606528902053833,
0.006040168762207031,
0.006075048923492431,
0.0060878491401672365,
0.006090088844299317,
0.006069289207458496,
0.006040009021759033,
0.006072809219360351,
0.006111369132995605,
0.006073928833007812,
0.006058888912200928,
0.0060932888984680175,
0.006053769111633301,
0.006076329231262207,
0.006074728965759277,
0.006071049213409424,
0.006057448863983154,
0.006512489795684815,
0.006817450046539306,
0.006796010017395019,
0.006842249870300293,
0.006796969890594483,
0.006801770210266113,
0.0068233699798583985,
0.006903210163116455,
0.00653088903427124,
0.006394729137420654,
0.006673769950866699,
0.006822249889373779,
0.006629769802093506,
0.006670248985290527,
0.006549129962921143,
0.006825610160827637,
0.006850570201873779,
0.006800809860229492,
0.006797289848327637,
0.006856171131134034,
0.006865610122680664,
0.006545129776000976,
0.006436008930206299
]
},
"throughput": {
"unit": "samples/s",
"value": 160.0229348819325
},
"energy": null,
"efficiency": null
}
}
}