IlyasMoutawwakil's picture
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
00df635 verified
raw
history blame
12.1 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": "77ca106f4cf33f416814fc4a120313d806701176",
"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.33472,
"max_global_vram": 2975.965184,
"max_process_vram": 41025.363968,
"max_reserved": 400.556032,
"max_allocated": 346.271744
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.9465078125,
"mean": 6.9465078125,
"stdev": 0.0,
"p50": 6.9465078125,
"p90": 6.9465078125,
"p95": 6.9465078125,
"p99": 6.9465078125,
"values": [
6.9465078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1068.662784,
"max_global_vram": 3063.672832,
"max_process_vram": 173993.402368,
"max_reserved": 406.847488,
"max_allocated": 355.303424
},
"latency": {
"unit": "s",
"count": 157,
"total": 0.9961446623802185,
"mean": 0.0063448704610205,
"stdev": 0.00042045399513014885,
"p50": 0.006228629112243652,
"p90": 0.0066121488571167,
"p95": 0.006781076145172118,
"p99": 0.008335371360778804,
"values": [
0.0065615887641906736,
0.006259509086608887,
0.006446868896484375,
0.006612628936767578,
0.006719668865203857,
0.006666388034820557,
0.006637747764587402,
0.006532629013061523,
0.006477589130401611,
0.006358068943023681,
0.006351829051971436,
0.00638270902633667,
0.006289429187774658,
0.006320949077606201,
0.00627790880203247,
0.006231029033660889,
0.006250548839569092,
0.0062393488883972165,
0.006206549167633056,
0.006282868862152099,
0.006340468883514404,
0.006322228908538818,
0.006279189109802246,
0.0062527890205383305,
0.00633630895614624,
0.006235349178314209,
0.006266549110412598,
0.006291348934173584,
0.006301269054412841,
0.006316149234771728,
0.006320468902587891,
0.006357268810272217,
0.006316308975219727,
0.006377589225769043,
0.009854381561279296,
0.0063494291305542,
0.006310069084167481,
0.006287349224090576,
0.006235508918762207,
0.006176148891448975,
0.009290863990783691,
0.006502548217773438,
0.006196630001068115,
0.006200469970703125,
0.006157429218292237,
0.0062179088592529295,
0.0062387089729309085,
0.006347508907318116,
0.00618398904800415,
0.00621406888961792,
0.006182709217071533,
0.0062107090950012205,
0.006171350002288818,
0.006164949893951416,
0.006130228996276856,
0.006230069160461426,
0.0062081489562988285,
0.00616654920578003,
0.00615871000289917,
0.006177110195159912,
0.006184148788452149,
0.006214708805084229,
0.006156629085540772,
0.006273748874664306,
0.0064387087821960445,
0.006169748783111572,
0.006322228908538818,
0.006213748931884765,
0.006197429180145263,
0.006225588798522949,
0.006193109035491943,
0.00618878984451294,
0.006151188850402832,
0.0061695890426635746,
0.006179028987884521,
0.0061892690658569335,
0.007584627151489258,
0.006239988803863525,
0.0062369489669799804,
0.0062155089378356934,
0.006243029117584229,
0.006234549045562744,
0.006235349178314209,
0.006277588844299317,
0.006203829765319824,
0.00621406888961792,
0.006248629093170166,
0.006198709011077881,
0.006175989151000976,
0.006215989112854004,
0.006213269233703613,
0.006191508769989014,
0.006179190158843994,
0.006225590229034424,
0.006202709197998047,
0.006199189186096191,
0.00621838903427124,
0.006223349094390869,
0.00623422908782959,
0.00627134895324707,
0.006228629112243652,
0.006177749156951904,
0.006204629898071289,
0.00621934986114502,
0.006139669895172119,
0.006238389015197754,
0.006265748977661132,
0.006164628982543946,
0.006200788974761963,
0.0061676688194274906,
0.006155189037322998,
0.006191508769989014,
0.006175990104675293,
0.006186388969421387,
0.00621678876876831,
0.006227509021759033,
0.006156629085540772,
0.006768948078155518,
0.006866707801818848,
0.006902227878570557,
0.006770068168640136,
0.006632948875427246,
0.006879988193511963,
0.006825108051300049,
0.006925427913665771,
0.006642229080200195,
0.006403348922729492,
0.0065747079849243165,
0.0065134291648864745,
0.006436307907104492,
0.006611828804016113,
0.006480788230895996,
0.006482388973236084,
0.006536468982696533,
0.006377587795257569,
0.006478868961334229,
0.0065091090202331545,
0.006121428966522216,
0.0061555089950561526,
0.006187028884887695,
0.006156629085540772,
0.006131030082702636,
0.006185908794403076,
0.006172469139099121,
0.006154068946838379,
0.006150069236755371,
0.006164628982543946,
0.006119188785552979,
0.00615070915222168,
0.006146708965301514,
0.006187349796295166,
0.006186709880828857,
0.006147189140319824,
0.006124148845672608,
0.006133749008178711,
0.006144790172576904,
0.0061556692123413085
]
},
"throughput": {
"unit": "samples/s",
"value": 157.60763062752292
},
"energy": null,
"efficiency": null
}
}
}