{ "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.4.0", "optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2", "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.842624, "max_global_vram": 689.37728, "max_process_vram": 43300.929536, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 6.72017041015625, "mean": 6.72017041015625, "stdev": 0.0, "p50": 6.72017041015625, "p90": 6.72017041015625, "p95": 6.72017041015625, "p99": 6.72017041015625, "values": [ 6.72017041015625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1068.654592, "max_global_vram": 777.68704, "max_process_vram": 167120.30208, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 172, "total": 0.9900385625362397, "mean": 0.005756038154280462, "stdev": 0.00043483793517827725, "p50": 0.005731462001800537, "p90": 0.0059430309772491455, "p95": 0.005997070717811585, "p99": 0.0068631330442428425, "values": [ 0.00384625506401062, 0.003849453926086426, 0.003833293914794922, 0.003861454963684082, 0.006021461963653565, 0.005946103096008301, 0.006042741775512696, 0.005991063117980957, 0.005983061790466308, 0.005914102077484131, 0.005900022029876709, 0.005845781803131104, 0.005841301918029785, 0.005832181930541992, 0.005788341999053955, 0.0057697811126708985, 0.005820022106170654, 0.005765141963958741, 0.005793301105499268, 0.005799702167510986, 0.00575698184967041, 0.005807540893554688, 0.005753461837768555, 0.008316990852355956, 0.0062693037986755375, 0.0056254611015319825, 0.005676021099090576, 0.00567970085144043, 0.005712982177734375, 0.005711861133575439, 0.005695860862731933, 0.005724021911621094, 0.005700661182403565, 0.005685620784759522, 0.00573074197769165, 0.005707060813903809, 0.005670900821685791, 0.005701461791992188, 0.005682100772857666, 0.005688180923461914, 0.005634261131286621, 0.005684660911560059, 0.005683381080627442, 0.005720181941986084, 0.005692821025848388, 0.005678901195526123, 0.005676180839538574, 0.005709300994873047, 0.005717940807342529, 0.0056841812133789065, 0.005716501235961914, 0.005705941200256348, 0.0056805009841918944, 0.005727381229400635, 0.005679380893707275, 0.005705941200256348, 0.005670900821685791, 0.005685141086578369, 0.005701621055603027, 0.005708181858062744, 0.005720661163330078, 0.005723701000213623, 0.0057221012115478516, 0.005726740837097168, 0.005724661827087403, 0.005723381042480468, 0.005705461025238037, 0.0057299408912658695, 0.005688981056213379, 0.005701301097869873, 0.005704020977020264, 0.0056944208145141605, 0.005706261157989502, 0.005739541053771973, 0.005734900951385498, 0.008849632263183594, 0.00607794189453125, 0.0057561821937561035, 0.005733941078186035, 0.005738902091979981, 0.005766420841217041, 0.005690101146697998, 0.0056701011657714845, 0.005722260951995849, 0.0056969809532165525, 0.005708820819854736, 0.005706261157989502, 0.005704981803894043, 0.00568946123123169, 0.00568066120147705, 0.005674740791320801, 0.005701622009277344, 0.00568402099609375, 0.005683701038360595, 0.005690260887145996, 0.005690741062164307, 0.005692980766296387, 0.005700981140136719, 0.005717142105102539, 0.005708500862121582, 0.005709940910339355, 0.005733941078186035, 0.005744501113891602, 0.005728341102600097, 0.005710261821746826, 0.0057203412055969235, 0.005718740940093994, 0.005739222049713135, 0.0057821011543273924, 0.00576482105255127, 0.0057849822044372555, 0.005741460800170899, 0.0057419419288635256, 0.0057537808418273925, 0.005724822044372559, 0.005744980812072754, 0.005751381874084473, 0.005750580787658692, 0.005743062019348145, 0.005716021060943603, 0.005748661041259766, 0.005706740856170654, 0.005741460800170899, 0.005715221881866455, 0.006143542766571045, 0.005979862213134766, 0.005971861839294434, 0.006162901878356933, 0.005983382225036621, 0.0059837021827697755, 0.0059957032203674316, 0.00599874210357666, 0.005864662170410156, 0.005915381908416748, 0.005954102039337158, 0.005850100994110107, 0.005865141868591308, 0.005873462200164795, 0.005829782009124756, 0.005835862159729004, 0.005817142009735108, 0.005739541053771973, 0.005790582180023193, 0.0058062620162963865, 0.005748500823974609, 0.005821621894836425, 0.00581426191329956, 0.005792500972747802, 0.005791222095489502, 0.00572882080078125, 0.005795862197875977, 0.0057707419395446775, 0.005856502056121826, 0.005802741050720215, 0.00583826208114624, 0.0057913818359375, 0.005810260772705078, 0.005767701148986816, 0.005756822109222412, 0.005756180763244629, 0.005732182025909424, 0.005727221012115478, 0.005762102127075196, 0.005766261100769043, 0.00574274206161499, 0.0057630610466003415, 0.005710580825805664, 0.005738261222839355, 0.005711700916290283, 0.0057256221771240234, 0.005714420795440674, 0.005733781814575195 ] }, "throughput": { "unit": "samples/s", "value": 173.73060657291728 }, "energy": null, "efficiency": null } } }