IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
83f81ea verified
raw
history blame
12.7 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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"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": "91971089040d6dac4da0f6b0a30eec8415a34544",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 898.932736,
"max_global_vram": 689.373184,
"max_process_vram": 45195.087872,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.87430712890625,
"mean": 6.87430712890625,
"stdev": 0.0,
"p50": 6.87430712890625,
"p90": 6.87430712890625,
"p95": 6.87430712890625,
"p99": 6.87430712890625,
"values": [
6.87430712890625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1069.1584,
"max_global_vram": 777.691136,
"max_process_vram": 168342.700032,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 170,
"total": 0.997905874252319,
"mean": 0.005870034554425408,
"stdev": 0.0002866628266495954,
"p50": 0.005827784061431885,
"p90": 0.006002601099014282,
"p95": 0.006052393126487731,
"p99": 0.006315428133010865,
"values": [
0.005981144905090332,
0.005786104202270508,
0.005792344093322754,
0.0059456248283386234,
0.0060968251228332515,
0.006129625797271728,
0.00590066385269165,
0.005908824920654297,
0.00589410400390625,
0.009190757751464844,
0.0060661048889160156,
0.005727542877197266,
0.005663703918457031,
0.005610743045806885,
0.005604503154754639,
0.005614903926849366,
0.005646742820739746,
0.005600983142852783,
0.005580022811889649,
0.00565138292312622,
0.005632183074951172,
0.0056179437637329105,
0.006728988170623779,
0.0060448250770568845,
0.005768983840942383,
0.005787384033203125,
0.005863224029541016,
0.005811543941497803,
0.0057435441017150875,
0.005930584907531738,
0.005786424160003662,
0.005890744209289551,
0.005800983905792236,
0.005824823856353759,
0.005888665199279785,
0.005887383937835693,
0.005879384994506836,
0.005977303981781006,
0.0059758639335632325,
0.005970425128936767,
0.005938583850860595,
0.005995864868164062,
0.005964505195617676,
0.005980824947357178,
0.00599106502532959,
0.005973464965820312,
0.005956664085388184,
0.005998425006866455,
0.00597682523727417,
0.005993305206298828,
0.005960985183715821,
0.005946743965148926,
0.005904183864593506,
0.005890423774719238,
0.005763544082641602,
0.0058328242301940916,
0.00580898380279541,
0.0059758639335632325,
0.006010424137115478,
0.006007063865661621,
0.006064825057983399,
0.005889304161071777,
0.005829944133758545,
0.005963385105133057,
0.00587778377532959,
0.00590450382232666,
0.005909945011138916,
0.0058854641914367675,
0.005957624912261963,
0.005828184127807617,
0.00590834379196167,
0.005867224216461181,
0.005984185218811035,
0.0059421038627624516,
0.0058361849784851075,
0.005901624202728271,
0.0060021052360534665,
0.005842904090881348,
0.005887225151062012,
0.0058640241622924805,
0.005876823902130127,
0.005860023975372315,
0.005880023956298828,
0.005827383995056152,
0.00581874418258667,
0.00581058406829834,
0.005836343765258789,
0.005827223777770996,
0.005872185230255127,
0.005888184070587158,
0.005848824024200439,
0.0058483448028564455,
0.005823383808135987,
0.005805463790893555,
0.005824503898620606,
0.005816023826599121,
0.005816664218902588,
0.005766903877258301,
0.005836503982543945,
0.005811543941497803,
0.005765783786773682,
0.0057381029129028325,
0.005750583171844482,
0.005760183811187744,
0.00573554277420044,
0.005746903896331787,
0.005758903980255127,
0.00575874376296997,
0.005743864059448242,
0.005877304077148438,
0.005743703842163086,
0.0057550640106201175,
0.005756663799285889,
0.005767864227294922,
0.005739223957061767,
0.005743063926696777,
0.0057528228759765624,
0.005752182960510254,
0.005776183128356933,
0.005744984149932861,
0.005732344150543213,
0.005747064113616944,
0.005765143871307373,
0.006083384990692138,
0.006084024906158447,
0.006033944129943848,
0.006058585166931152,
0.006023705005645752,
0.006022745132446289,
0.006013144969940185,
0.005995544910430908,
0.006041144847869873,
0.005942584037780762,
0.0058003439903259275,
0.005881624221801758,
0.005794424057006836,
0.005886903762817383,
0.00581330394744873,
0.005879543781280518,
0.0058051438331604005,
0.005892344951629639,
0.005861783981323242,
0.005899223804473877,
0.005780982971191406,
0.005823063850402832,
0.005754423141479492,
0.005757303237915039,
0.005755863189697266,
0.005764023780822754,
0.005758903980255127,
0.005774424076080322,
0.005751063823699951,
0.005753943920135498,
0.005769303798675537,
0.005748023986816406,
0.005760824203491211,
0.005795063972473144,
0.0057745838165283205,
0.005924344062805176,
0.005757943153381347,
0.005766583919525147,
0.005732984066009522,
0.005785463809967041,
0.005760824203491211,
0.005763702869415284,
0.005740024089813232,
0.005768343925476074,
0.005747064113616944,
0.0057454628944396974,
0.005748662948608398
]
},
"throughput": {
"unit": "samples/s",
"value": 170.35674845322706
},
"energy": null,
"efficiency": null
}
}
}