IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
5b447a3 verified
raw
history blame
12.5 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": "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": 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.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.3.1",
"optimum_benchmark_commit": "2cd267cd040017299b1552b6228f28f2c1190ba4",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.64192,
"max_global_vram": 2394.857472,
"max_process_vram": 41154.535424,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.96982373046875,
"mean": 6.96982373046875,
"stdev": 0.0,
"p50": 6.96982373046875,
"p90": 6.96982373046875,
"p95": 6.96982373046875,
"p99": 6.96982373046875,
"values": [
6.96982373046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.93312,
"max_global_vram": 2483.183616,
"max_process_vram": 159009.107968,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 164,
"total": 0.9991889328956601,
"mean": 0.006092615444485734,
"stdev": 0.00019574861448776073,
"p50": 0.006023159980773926,
"p90": 0.006363733005523682,
"p95": 0.00657227599620819,
"p99": 0.006818344492912293,
"values": [
0.0065746760368347165,
0.00642603588104248,
0.0060474791526794434,
0.006057878971099853,
0.0060639591217041015,
0.006041079044342041,
0.005988759040832519,
0.006055318832397461,
0.0060663590431213376,
0.00600683879852295,
0.006026359081268311,
0.006006039142608642,
0.006017720222473145,
0.0059767599105834965,
0.0059745187759399415,
0.005985879898071289,
0.006030519008636475,
0.006017559051513672,
0.006023959159851074,
0.0060191588401794435,
0.00602155876159668,
0.006024279117584228,
0.006020120143890381,
0.006026199817657471,
0.0061042790412902835,
0.006053238868713379,
0.006060759067535401,
0.00604443883895874,
0.00606571912765503,
0.005996119976043701,
0.006001718997955322,
0.006194037914276123,
0.006193237781524658,
0.005971799850463868,
0.005988440036773682,
0.006021238803863525,
0.005983960151672363,
0.006001239776611328,
0.006106038093566895,
0.0059554800987243655,
0.005894360065460205,
0.005996758937835693,
0.005986359119415283,
0.006003960132598877,
0.005986999034881592,
0.006022998809814453,
0.006010358810424805,
0.00601531982421875,
0.005957079887390137,
0.006018518924713135,
0.006006199836730957,
0.006008120059967041,
0.005981719017028809,
0.006013558864593506,
0.006007160186767578,
0.005978360176086426,
0.006000598907470703,
0.006008279800415039,
0.005995639801025391,
0.006026838779449463,
0.005979798793792725,
0.0060196399688720705,
0.005975639820098877,
0.006010519027709961,
0.006001718997955322,
0.006008279800415039,
0.0059749999046325684,
0.005990839004516602,
0.00605259895324707,
0.006002679824829101,
0.00601147985458374,
0.006028598785400391,
0.0059930791854858395,
0.0062041177749633785,
0.0059959588050842285,
0.006006199836730957,
0.006950192928314209,
0.006035479068756103,
0.00605419921875,
0.006054998874664307,
0.006046359062194824,
0.006019478797912598,
0.00602155876159668,
0.006039319038391114,
0.006048439025878906,
0.00603787899017334,
0.006045399188995361,
0.006023478984832764,
0.0060122799873352055,
0.006002520084381104,
0.006036438941955566,
0.006042358875274659,
0.006049559116363525,
0.006056758880615234,
0.00605836009979248,
0.006073399066925049,
0.006046518802642822,
0.006052759170532227,
0.006062199115753173,
0.006089398860931397,
0.006046840190887451,
0.006061399936676025,
0.006041880130767822,
0.0060565991401672365,
0.006075479030609131,
0.006037720203399658,
0.0060380401611328125,
0.006047319889068603,
0.006053238868713379,
0.006070359230041504,
0.006085878849029541,
0.0060663590431213376,
0.006052279949188232,
0.006023320198059082,
0.006011640071868897,
0.006032759189605713,
0.006030838966369629,
0.006558675765991211,
0.006854834079742432,
0.006756594181060791,
0.006737874031066894,
0.006757394790649414,
0.006761714935302734,
0.006796914100646973,
0.006671154975891113,
0.006482515811920166,
0.0063665170669555664,
0.006504275798797607,
0.0064039559364318845,
0.00639851713180542,
0.006386676788330078,
0.006230678081512451,
0.0063572368621826175,
0.006284276962280274,
0.006299798011779785,
0.006346677780151367,
0.00597323989868164,
0.006009559154510498,
0.005985400199890137,
0.005982679843902588,
0.0059996390342712405,
0.0060026788711547855,
0.006003640174865723,
0.006004280090332032,
0.006001879215240478,
0.006020759105682373,
0.00596668004989624,
0.00604827880859375,
0.00602203893661499,
0.005973719120025635,
0.005988440036773682,
0.00602299976348877,
0.005993238925933838,
0.00601243782043457,
0.005992919921875,
0.005987639904022217,
0.0059905190467834475,
0.006008440017700195,
0.005999959945678711,
0.006018039226531983,
0.006029559135437012,
0.006005239963531494,
0.006001399993896484,
0.005979959011077881
]
},
"throughput": {
"unit": "samples/s",
"value": 164.133122976779
},
"energy": null,
"efficiency": null
}
}
}