IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
786d1d4 verified
raw
history blame
11.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": "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": "4ec62071e1c9b9c89fb7e3c044340b391a0c4120",
"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": 1060.667392,
"max_global_vram": 1758.830592,
"max_process_vram": 170923.8272,
"max_reserved": 406.847488,
"max_allocated": 355.912704
},
"latency": {
"unit": "s",
"count": 163,
"total": 0.9977556543350221,
"mean": 0.006121200333343693,
"stdev": 0.00016140562767702309,
"p50": 0.006058735847473145,
"p90": 0.006368848037719727,
"p95": 0.0064813600063323975,
"p99": 0.006767194633483887,
"values": [
0.0064825758934021,
0.006067696094512939,
0.006084334850311279,
0.006101775169372559,
0.006110095977783203,
0.006183054924011231,
0.0061960148811340335,
0.006189616203308106,
0.006197936058044433,
0.006178095817565918,
0.006091054916381836,
0.006140655994415283,
0.0062864160537719725,
0.00609281587600708,
0.00607665491104126,
0.006080976009368896,
0.006100494861602784,
0.006080976009368896,
0.00609681510925293,
0.00613393497467041,
0.00612721586227417,
0.006096175193786621,
0.006101295948028564,
0.006109776020050049,
0.006123855113983155,
0.006120816230773925,
0.006098256111145019,
0.006131694793701172,
0.00611681604385376,
0.006106735229492188,
0.006101134777069092,
0.0061364960670471196,
0.006082735061645508,
0.006064815998077393,
0.0061392149925231934,
0.006248815059661865,
0.006188334941864014,
0.0061488161087036135,
0.006103536128997803,
0.00607713508605957,
0.006009934902191162,
0.006035854816436767,
0.006032495975494385,
0.006026094913482666,
0.006065296173095703,
0.006053454875946045,
0.006075376033782959,
0.006066895008087158,
0.006058735847473145,
0.006064974784851075,
0.0060496158599853515,
0.006227856159210205,
0.006034894943237305,
0.006039374828338623,
0.006038735866546631,
0.006014735221862793,
0.006050735950469971,
0.006040814876556396,
0.006033296108245849,
0.006056974887847901,
0.006045615196228028,
0.006057614803314209,
0.0060561752319335934,
0.006065774917602539,
0.006161136150360107,
0.006048015117645264,
0.006046895980834961,
0.006005774974822998,
0.006029614925384522,
0.0060331358909606935,
0.006003214836120606,
0.00602561616897583,
0.006031054973602295,
0.006024815082550049,
0.0060190558433532715,
0.006041775226593018,
0.006057136058807373,
0.006028814792633057,
0.006068336009979248,
0.006023855209350586,
0.006030895233154297,
0.00606001615524292,
0.006050254821777344,
0.006063055992126465,
0.006033935070037842,
0.00606273603439331,
0.006020174980163574,
0.006030416011810303,
0.006214574813842773,
0.006020174980163574,
0.006055854797363282,
0.006030255794525146,
0.006026094913482666,
0.006040815830230713,
0.006024175167083741,
0.006006734848022461,
0.006055535793304444,
0.006020014762878418,
0.006040016174316406,
0.006011855125427246,
0.006020335197448731,
0.0060132951736450195,
0.006062574863433838,
0.0060240159034729,
0.005975695133209229,
0.00601473617553711,
0.005996974945068359,
0.006041295051574707,
0.006038095951080322,
0.006043214797973633,
0.006041776180267334,
0.006024654865264893,
0.006033935070037842,
0.006010894775390625,
0.006055214881896973,
0.006036335945129394,
0.006021774768829345,
0.0060448160171508785,
0.006049135208129883,
0.006012654781341552,
0.006029614925384522,
0.006041134834289551,
0.006008975982666016,
0.006089455127716065,
0.006061615943908691,
0.006028335094451904,
0.006048816204071045,
0.006024815082550049,
0.006642096996307373,
0.006786736965179443,
0.006805138111114502,
0.0064588961601257325,
0.006470417022705078,
0.006371695995330811,
0.006461297035217285,
0.006755217075347901,
0.0063574562072753905,
0.006462576866149902,
0.006564496040344238,
0.0063555359840393065,
0.00645681619644165,
0.0065478568077087405,
0.006405935764312744,
0.006587536811828614,
0.006497296810150146,
0.00641537618637085,
0.006011375904083252,
0.006026575088500977,
0.006055854797363282,
0.0060273752212524415,
0.006050095081329345,
0.0060612959861755375,
0.006044495105743408,
0.006031375885009765,
0.006077935218811035,
0.0060948958396911624,
0.0060419349670410155,
0.006080656051635742,
0.006070415019989014,
0.00605185604095459,
0.0063224158287048336,
0.006101456165313721,
0.006066254138946533
]
},
"throughput": {
"unit": "samples/s",
"value": 163.3666512355024
},
"energy": null,
"efficiency": null
}
}
}