IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
1140efc verified
raw
history blame
11.9 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_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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 903.385088,
"max_global_vram": 690.425856,
"max_process_vram": 47913.070592,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 14.7925615234375,
"mean": 14.7925615234375,
"stdev": 0.0,
"p50": 14.7925615234375,
"p90": 14.7925615234375,
"p95": 14.7925615234375,
"p99": 14.7925615234375,
"values": [
14.7925615234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1073.610752,
"max_global_vram": 777.97376,
"max_process_vram": 200409.591808,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9961785769462581,
"mean": 0.007065096290398997,
"stdev": 0.0006093158052680912,
"p50": 0.007015850067138672,
"p90": 0.007155051231384277,
"p95": 0.007246729850769043,
"p99": 0.007985163307189935,
"values": [
0.00715169095993042,
0.007299530029296875,
0.008442252159118653,
0.007114890098571777,
0.007009450912475586,
0.0069793701171875,
0.007001130104064941,
0.007069931030273437,
0.0070441699028015135,
0.007144810199737549,
0.007010729789733887,
0.006957769870758057,
0.006948490142822266,
0.007155051231384277,
0.00719281005859375,
0.0072648110389709475,
0.00705472993850708,
0.0069977707862854,
0.006977930068969727,
0.006997290134429931,
0.006984011173248291,
0.007012969970703125,
0.006978889942169189,
0.007040170192718506,
0.0070019311904907225,
0.007092329978942871,
0.00714017105102539,
0.007041930198669433,
0.007064489841461181,
0.006997291088104248,
0.007025929927825927,
0.007021770000457763,
0.006984810829162597,
0.006990729808807373,
0.006955049991607666,
0.007083371162414551,
0.007289130210876465,
0.007202731132507324,
0.006997769832611084,
0.007005929946899414,
0.006937769889831543,
0.006996009826660156,
0.006945769786834716,
0.007062730789184571,
0.007032969951629639,
0.006969930171966553,
0.0069977707862854,
0.006976009845733643,
0.007025129795074463,
0.007014570236206055,
0.0070081701278686525,
0.007031529903411865,
0.007057930946350098,
0.0070222501754760745,
0.007001609802246094,
0.006979050159454346,
0.006972331047058106,
0.00700993013381958,
0.007074570178985596,
0.007063371181488037,
0.006974569797515869,
0.0070014500617980955,
0.007045131206512451,
0.007047369956970215,
0.006998250007629395,
0.007016331195831299,
0.007028649806976319,
0.007026889801025391,
0.007019851207733154,
0.00700993013381958,
0.00703888988494873,
0.007043530941009521,
0.007026889801025391,
0.007025129795074463,
0.007058250904083252,
0.007012010097503662,
0.007282570838928222,
0.006976009845733643,
0.007015850067138672,
0.007017129898071289,
0.007114890098571777,
0.0070203299522399905,
0.007102410793304443,
0.007027050018310547,
0.007016650199890137,
0.0069809708595275875,
0.006990089893341065,
0.007005929946899414,
0.006986569881439209,
0.0069921698570251465,
0.006985610008239746,
0.007005290031433105,
0.00702225112915039,
0.007061130046844483,
0.006985929965972901,
0.007023050785064698,
0.007010409832000733,
0.00704049015045166,
0.007005610942840576,
0.0069633698463439945,
0.007004169940948486,
0.007002409934997559,
0.007001290798187256,
0.0069494500160217285,
0.006934410095214844,
0.007011850833892822,
0.0070324897766113285,
0.006977449893951416,
0.0069822511672973635,
0.0069683299064636234,
0.006984650135040283,
0.006973609924316406,
0.006969611167907715,
0.006968810081481934,
0.007014090061187744,
0.00696081018447876,
0.006979530811309815,
0.01331537914276123,
0.004029605865478516,
0.005955368995666504,
0.007105130195617676,
0.007000171184539795,
0.006976970195770264,
0.006972489833831787,
0.007041609764099121,
0.007055850982666015,
0.0070539298057556155,
0.007074891090393066,
0.007148009777069092,
0.007136011123657226,
0.007235529899597168,
0.0072936110496520995,
0.0072440109252929685,
0.007246729850769043,
0.007204010963439942,
0.007172648906707764,
0.007079531192779541,
0.0071273698806762695,
0.007025771141052246,
0.007059850215911865,
0.006998569965362549
]
},
"throughput": {
"unit": "samples/s",
"value": 141.54088761096355
},
"energy": null,
"efficiency": null
}
}
}