IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
2be4ac3 verified
raw
history blame
12 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": "034e40c3ab573ad44343a7fcce8e83f9a39327de",
"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": 899.198976,
"max_global_vram": 974.106624,
"max_process_vram": 44998.049792,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.947943359375,
"mean": 6.947943359375,
"stdev": 0.0,
"p50": 6.947943359375,
"p90": 6.947943359375,
"p95": 6.947943359375,
"p99": 6.947943359375,
"values": [
6.947943359375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1069.047808,
"max_global_vram": 1062.44096,
"max_process_vram": 175097.69216,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 153,
"total": 0.9996076135635374,
"mean": 0.00653338309518652,
"stdev": 0.00032044058240451363,
"p50": 0.006434906959533691,
"p90": 0.006777565956115723,
"p95": 0.006856766033172607,
"p99": 0.007337478771209714,
"values": [
0.006621950149536133,
0.006557629108428955,
0.0066518688201904295,
0.00690307092666626,
0.006780829906463623,
0.00672691011428833,
0.006761630058288574,
0.0066779499053955076,
0.006653948783874512,
0.006661949157714844,
0.006566749095916748,
0.006536667823791504,
0.006555388927459717,
0.006555068969726563,
0.0065235490798950194,
0.00654258918762207,
0.006511868953704834,
0.006497629165649414,
0.006502587795257569,
0.006488187789916992,
0.0065019488334655765,
0.006485629081726074,
0.006511709213256836,
0.006543388843536377,
0.0065755491256713865,
0.006536828994750977,
0.006538428783416748,
0.006517308235168457,
0.006563708782196045,
0.0066016287803649905,
0.006524828910827637,
0.006736989974975586,
0.006508668899536133,
0.006522589206695557,
0.006485147953033447,
0.006569468975067138,
0.006516028881072998,
0.006504347801208496,
0.006523228168487548,
0.009659562110900879,
0.006619548797607422,
0.00625650691986084,
0.006316507816314697,
0.006321948051452636,
0.006391708850860596,
0.006368827819824219,
0.006404027938842773,
0.006362428188323974,
0.0063254680633544925,
0.006355227947235108,
0.006569788932800293,
0.006351548194885254,
0.006368988990783691,
0.006335227966308594,
0.006380827903747559,
0.006371548175811767,
0.006341308116912842,
0.0063494682312011715,
0.006353628158569336,
0.006412188053131104,
0.00639442777633667,
0.006352667808532715,
0.006347867965698242,
0.006357148170471192,
0.006370267868041992,
0.0063952279090881345,
0.006355227947235108,
0.006347867965698242,
0.0063494682312011715,
0.006360188007354737,
0.006348348140716552,
0.006327707767486573,
0.006349308013916016,
0.0063309078216552735,
0.006362428188323974,
0.006346268177032471,
0.007487072944641114,
0.006385788917541504,
0.006431707859039307,
0.006373309135437012,
0.006657948970794678,
0.0064029088020324705,
0.006430267810821533,
0.006401467800140381,
0.006366747856140137,
0.006359548091888428,
0.006393308162689209,
0.006420028209686279,
0.006349308013916016,
0.006354107856750489,
0.006376829147338867,
0.0063590679168701175,
0.006388668060302734,
0.00638706922531128,
0.006389148235321045,
0.006415069103240967,
0.006398108005523682,
0.006356507778167725,
0.006452669143676757,
0.006379067897796631,
0.006419068813323975,
0.006384347915649414,
0.006390748023986817,
0.006408827781677246,
0.0063065881729125976,
0.006373788833618164,
0.006442428112030029,
0.006380188941955567,
0.006366107940673828,
0.0064185881614685055,
0.0063757081031799315,
0.006383708000183105,
0.00675970983505249,
0.0070409908294677736,
0.007083230972290039,
0.007096031188964844,
0.006599069118499756,
0.006820509910583496,
0.006727389812469483,
0.0066091489791870114,
0.006788670063018799,
0.006828990936279297,
0.006735869884490967,
0.0066750688552856445,
0.006687870025634765,
0.006453789234161377,
0.006611868858337402,
0.007199391841888427,
0.006638268947601319,
0.006600829124450683,
0.006878749847412109,
0.006746109962463379,
0.006626430034637451,
0.0068057899475097655,
0.006840670108795166,
0.006642109870910644,
0.006764510154724121,
0.006842110157012939,
0.006646590232849121,
0.006707869052886963,
0.006803229808807373,
0.006562909126281738,
0.0063451480865478515,
0.006381628036499024,
0.0063545889854431156,
0.006363388061523438,
0.0063475480079650875,
0.006347228050231934,
0.006334427833557129,
0.0063595490455627445,
0.006434906959533691,
0.006331227779388428,
0.006361308097839355
]
},
"throughput": {
"unit": "samples/s",
"value": 153.06005869099448
},
"energy": null,
"efficiency": null
}
}
}