{ "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", "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": "f6013cec1a849341c31271831560b1681406c092", "transformers_version": "4.42.3", "transformers_commit": null, "accelerate_version": "0.31.0", "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": { "forward": { "memory": { "unit": "MB", "max_ram": 1060.765696, "max_global_vram": 777.78944, "max_process_vram": 172644.151296, "max_reserved": 406.847488, "max_allocated": 355.30752 }, "latency": { "unit": "s", "count": 141, "total": 0.9953314332962033, "mean": 0.007059088179405699, "stdev": 0.0002317310257369861, "p50": 0.007035822868347168, "p90": 0.007266861915588379, "p95": 0.007350700855255127, "p99": 0.008042251205444335, "values": [ 0.008038700103759766, 0.007226381778717041, 0.0072678208351135256, 0.007496942043304444, 0.007499981880187989, 0.007350700855255127, 0.0073270220756530766, 0.007272622108459473, 0.007204462051391602, 0.007178543090820312, 0.007128623008728028, 0.007457421779632568, 0.007066222190856933, 0.0070286221504211426, 0.007038702964782715, 0.007005581855773926, 0.0070719819068908694, 0.007056942939758301, 0.0070745420455932614, 0.0070475020408630375, 0.006969902992248535, 0.007018221855163574, 0.00701790189743042, 0.006998542785644531, 0.0071051020622253415, 0.007040142059326172, 0.00706846284866333, 0.0072095818519592285, 0.007179343223571778, 0.007086062908172607, 0.007447980880737305, 0.007160461902618408, 0.007229901790618896, 0.007274382114410401, 0.007162702083587646, 0.0070739021301269535, 0.0072615818977355955, 0.007113101959228515, 0.007254861831665039, 0.0070830221176147465, 0.007233582019805908, 0.007281261920928955, 0.007165102005004883, 0.007063501834869384, 0.006815342903137207, 0.007066061973571777, 0.007096622943878174, 0.0070958218574523925, 0.00706590223312378, 0.0070886220932006834, 0.007031023025512695, 0.0070359821319580075, 0.007051502227783203, 0.007277262210845947, 0.007249742031097412, 0.007127821922302246, 0.0071779022216796875, 0.007232141971588135, 0.007260781764984131, 0.007266861915588379, 0.007224462032318115, 0.007171502113342285, 0.00717726182937622, 0.00710526180267334, 0.007118381977081299, 0.007153582096099853, 0.007114702224731445, 0.0071235032081604, 0.0070319828987121585, 0.0069374217987060545, 0.007012302875518799, 0.0070511817932128905, 0.007012463092803955, 0.00702366304397583, 0.007007341861724853, 0.0070111827850341795, 0.006986701965332031, 0.007024622917175293, 0.006961583137512207, 0.006985423088073731, 0.006987983226776123, 0.007178862094879151, 0.007214221954345703, 0.007157901763916016, 0.007142062187194824, 0.007207181930541992, 0.007090221881866455, 0.007032142162322998, 0.007035822868347168, 0.008400778770446777, 0.007177102088928223, 0.0069766221046447755, 0.006899823188781738, 0.0069086217880249025, 0.006915503025054932, 0.0068993430137634275, 0.006897582054138184, 0.0068380627632141115, 0.006836623191833496, 0.00684686279296875, 0.006921422958374023, 0.006845902919769287, 0.006815342903137207, 0.006822543144226074, 0.006750382900238037, 0.006848143100738525, 0.008044618606567383, 0.006894062995910644, 0.0068828630447387695, 0.006846063137054444, 0.006831663131713867, 0.006862702846527099, 0.00681838321685791, 0.0068307027816772465, 0.006832303047180176, 0.006830862998962402, 0.006871502876281738, 0.0068497428894042965, 0.006846063137054444, 0.006834863185882568, 0.0068662228584289555, 0.006858542919158935, 0.006878861904144287, 0.006857583045959473, 0.006887982845306397, 0.006853582859039306, 0.006858702182769775, 0.006871502876281738, 0.006877102851867676, 0.006865582942962647, 0.0068235030174255374, 0.006850223064422608, 0.006893423080444336, 0.006861103057861328, 0.0068423829078674316, 0.006828622817993164, 0.006853902816772461, 0.00687742280960083, 0.006842702865600586, 0.0068657431602478025, 0.0068814210891723635 ] }, "throughput": { "unit": "samples/s", "value": 141.66135548744333 }, "energy": null, "efficiency": null } } }