{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.2.0.dev20231010+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": "5", "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": "warn", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 128, "cpu_ram_mb": 1082015.256576, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]", "Advanced Micro Devices, Inc. [AMD/ATI]" ], "gpu_count": 8, "gpu_vram_mb": 549621596160, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.34.2", "accelerate_commit": null, "diffusers_version": "0.30.3", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": "0.12.0", "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 946.475008, "max_global_vram": 68702.69952, "max_process_vram": 40124.608512, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 8.112611328125, "mean": 8.112611328125, "stdev": 0.0, "p50": 8.112611328125, "p90": 8.112611328125, "p95": 8.112611328125, "p99": 8.112611328125, "values": [ 8.112611328125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1118.420992, "max_global_vram": 68702.69952, "max_process_vram": 183923.613696, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 159, "total": 0.9975961546897891, "mean": 0.006274189652137037, "stdev": 0.0005027681297862836, "p50": 0.00616878604888916, "p90": 0.006621679973602295, "p95": 0.006640223884582519, "p99": 0.007615082492828346, "values": [ 0.006448463916778564, 0.006396144866943359, 0.006025265216827393, 0.006173104763031006, 0.006207505226135254, 0.006235505104064941, 0.00629534387588501, 0.006249744892120362, 0.006221105098724365, 0.006203985214233399, 0.006213425159454345, 0.00611438512802124, 0.006099024772644043, 0.006094385147094727, 0.006098384857177734, 0.006129905223846436, 0.006099026203155517, 0.006053425788879394, 0.006012465000152588, 0.006031185150146484, 0.005982386112213135, 0.005982544898986817, 0.0059671859741210935, 0.005974864959716797, 0.010655974388122559, 0.006285904884338379, 0.006023825168609619, 0.0059935860633850094, 0.005987024784088134, 0.005979506015777588, 0.005960144996643066, 0.005936466217041016, 0.005936785221099854, 0.005980465888977051, 0.00865341854095459, 0.006346864223480225, 0.006138545036315918, 0.005924146175384521, 0.006133265018463134, 0.006405744075775146, 0.0067033438682556155, 0.005855024814605713, 0.005868145942687988, 0.005869746208190918, 0.00601838493347168, 0.006385105133056641, 0.006601903915405273, 0.006595505237579346, 0.006560625076293946, 0.006583983898162842, 0.0065609450340271, 0.006572305202484131, 0.006585584163665771, 0.006579343795776367, 0.006536943912506104, 0.006555825233459473, 0.006552305221557617, 0.00657566499710083, 0.006579023838043213, 0.006528625011444092, 0.0065609450340271, 0.006590384960174561, 0.006559024810791016, 0.006586863994598389, 0.006603504180908203, 0.006559184074401855, 0.006609263896942138, 0.006602704048156738, 0.006640143871307373, 0.0066324639320373534, 0.006640944004058838, 0.0066147041320800785, 0.006652143955230713, 0.006603343963623047, 0.006548463821411133, 0.006590864181518555, 0.006863183975219726, 0.00660622501373291, 0.0066324639320373534, 0.006643343925476075, 0.006631343841552734, 0.0065895838737487795, 0.0066036639213562015, 0.006577904224395752, 0.006621424198150635, 0.0066220641136169435, 0.006599503993988037, 0.006638703823089599, 0.0066435041427612305, 0.006566864013671875, 0.006425264835357666, 0.0058577461242675785, 0.005863986015319824, 0.005830066204071045, 0.0058558259010314945, 0.0058889460563659665, 0.00587950611114502, 0.005876145839691162, 0.006075345993041993, 0.005887505054473877, 0.0058987059593200684, 0.005864786148071289, 0.005885584831237793, 0.005869746208190918, 0.005905745983123779, 0.005856945991516114, 0.00590078592300415, 0.005893586158752441, 0.005921425819396972, 0.005876145839691162, 0.005896305084228516, 0.005847186088562012, 0.005895026206970215, 0.005862865924835205, 0.005856144905090332, 0.005854866027832031, 0.005847665786743164, 0.0058388662338256835, 0.005849265098571778, 0.005819506168365478, 0.005846705913543701, 0.005854385852813721, 0.005837265968322754, 0.005851826190948486, 0.005875825881958008, 0.005860946178436279, 0.005831984996795654, 0.005840146064758301, 0.005852305889129638, 0.006008464813232422, 0.006607664108276367, 0.006621583938598633, 0.006630383968353272, 0.006560463905334473, 0.006160944938659668, 0.006003505229949952, 0.006154224872589111, 0.006005906105041504, 0.006136465072631836, 0.00641374397277832, 0.006560783863067627, 0.006574223995208741, 0.0066129441261291505, 0.006597904205322266, 0.0065681438446044925, 0.0066275038719177245, 0.006475984096527099, 0.006155984878540039, 0.006065585136413574, 0.006181904792785645, 0.0059910259246826175, 0.006580783843994141, 0.006267183780670166, 0.0062180647850036625, 0.006135184764862061, 0.006023344993591309, 0.00616878604888916, 0.006013425827026367, 0.006187664985656738 ] }, "throughput": { "unit": "samples/s", "value": 159.38313239533528 }, "energy": null, "efficiency": null } } }