IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
cf75f64 verified
raw
history blame
11.2 kB
{
"config": {
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "transformers",
"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": {},
"hub_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,
"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": "2db7e171d23768cdeb341987283e17e0b2db9bd9",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1061.43744,
"max_global_vram": 1758.810112,
"max_process_vram": 183082.225664,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 157,
"total": 0.9993251180648804,
"mean": 0.00636512814054064,
"stdev": 0.000374192295552717,
"p50": 0.006251370906829834,
"p90": 0.006816620063781738,
"p95": 0.006826315975189209,
"p99": 0.007280204887390135,
"values": [
0.006668652057647705,
0.006393930912017822,
0.006613451957702637,
0.00657009220123291,
0.00672321081161499,
0.00628961181640625,
0.006329610824584961,
0.006247850894927978,
0.006283690929412842,
0.006383370876312256,
0.006449612140655517,
0.006249290943145752,
0.006262570858001709,
0.006216811180114746,
0.006188810825347901,
0.00620513105392456,
0.006166090965270996,
0.006240651130676269,
0.006389290809631348,
0.006177451133728027,
0.006185451030731201,
0.006231531143188477,
0.0061582508087158205,
0.006202091217041015,
0.006397130966186523,
0.006768492221832276,
0.006396330833435058,
0.006210731029510498,
0.006397771835327149,
0.006198250770568848,
0.006228810787200928,
0.006371050834655762,
0.006290091037750244,
0.006222731113433838,
0.006367371082305908,
0.008100174903869628,
0.007838414192199708,
0.006377770900726319,
0.00636897087097168,
0.006251370906829834,
0.006119211196899414,
0.006342091083526611,
0.006019530773162841,
0.006238090991973877,
0.0060726509094238285,
0.0061510510444641115,
0.006172010898590088,
0.006239370822906494,
0.00625153112411499,
0.006141611099243164,
0.0064348912239074706,
0.006029291152954102,
0.00629905080795288,
0.005994890213012695,
0.0059638509750366215,
0.005976650238037109,
0.005974890232086182,
0.0062648110389709475,
0.006161450862884521,
0.0059969711303710935,
0.005969289779663086,
0.006232491016387939,
0.006069770812988281,
0.006176011085510254,
0.00598705005645752,
0.005998250007629395,
0.005969450950622558,
0.0059995298385620115,
0.005973290920257568,
0.0061436910629272465,
0.006000329971313476,
0.005981931209564209,
0.005992010116577149,
0.005966730117797851,
0.005974891185760498,
0.005982250213623047,
0.005975690841674805,
0.005973609924316406,
0.006005130767822266,
0.005981289863586426,
0.0060014500617980955,
0.005988010883331299,
0.005966569900512695,
0.005966731071472168,
0.00599744987487793,
0.005984331130981445,
0.005986250877380371,
0.005998569965362549,
0.006003050804138183,
0.006318090915679931,
0.006024331092834473,
0.006028810024261475,
0.005998091220855713,
0.005977290153503418,
0.006005290985107422,
0.005998250961303711,
0.006017449855804443,
0.006016170978546143,
0.005980490207672119,
0.006006410121917724,
0.006023371219635009,
0.005966249942779541,
0.005986250877380371,
0.005983689785003662,
0.006093130111694336,
0.006060650825500488,
0.005997611045837402,
0.005983049869537353,
0.006314091205596924,
0.006799851894378662,
0.0068100919723510745,
0.0068126521110534665,
0.006490890979766846,
0.006285291194915771,
0.006408011913299561,
0.006472970962524414,
0.0067281718254089354,
0.006772972106933593,
0.006785612106323242,
0.006826571941375733,
0.0067723321914672854,
0.0067654519081115725,
0.006804331779479981,
0.00673281192779541,
0.0068248119354248045,
0.006806732177734375,
0.006832332134246826,
0.006815852165222168,
0.006820812225341797,
0.0067979321479797366,
0.0068102521896362305,
0.006754732131958008,
0.006791051864624024,
0.006817771911621094,
0.0068243322372436525,
0.006820332050323486,
0.0068100919723510745,
0.006827211856842041,
0.006841611862182617,
0.006835212230682373,
0.006786091804504395,
0.006838731765747071,
0.006776331901550293,
0.006797451972961426,
0.00680929183959961,
0.006805612087249756,
0.006773451805114746,
0.006781132221221924,
0.006788171768188476,
0.006752652168273926,
0.006796331882476807,
0.00682065200805664,
0.006817771911621094,
0.006796331882476807,
0.0067960119247436526,
0.006826251983642578,
0.0067840108871459965
]
},
"throughput": {
"unit": "samples/s",
"value": 157.1060280202092
},
"energy": null,
"efficiency": null
}
}
}