{ "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": "802823c7274dfd9b1edbe9a02521fdbafa78149a", "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.031616, "max_global_vram": 2394.853376, "max_process_vram": 42352.590848, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.0837529296875, "mean": 7.0837529296875, "stdev": 0.0, "p50": 7.0837529296875, "p90": 7.0837529296875, "p95": 7.0837529296875, "p99": 7.0837529296875, "values": [ 7.0837529296875 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1068.978176, "max_global_vram": 2483.163136, "max_process_vram": 183563.669504, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 154, "total": 0.9966683845520021, "mean": 0.006471872626961052, "stdev": 0.0004483659979799419, "p50": 0.00637843656539917, "p90": 0.0068722891330719, "p95": 0.007202646946907043, "p99": 0.00810027932167053, "values": [ 0.0071578707695007324, 0.007068750858306885, 0.007218350887298584, 0.007244270801544189, 0.00739946985244751, 0.007390830039978027, 0.007194190979003906, 0.00728203010559082, 0.006978833198547364, 0.0066805949211120605, 0.006374197006225586, 0.00634827709197998, 0.0063679561614990235, 0.006314517021179199, 0.006265077114105224, 0.006184278011322021, 0.006180437088012696, 0.006151797771453857, 0.006235157012939453, 0.006205717086791992, 0.006191957950592041, 0.006164278030395508, 0.006185078144073487, 0.0061748380661010745, 0.006214036941528321, 0.006163318157196045, 0.006155636787414551, 0.0061631579399108885, 0.006213397026062012, 0.007075312137603759, 0.008740260124206542, 0.006094038009643555, 0.006083158016204834, 0.006067158222198487, 0.006104278087615967, 0.0060407590866088864, 0.006070518016815186, 0.00604827880859375, 0.0067365942001342775, 0.007166350841522217, 0.006048597812652588, 0.006093398094177246, 0.006103157997131348, 0.006272117137908936, 0.006364275932312011, 0.006604915142059326, 0.00632811689376831, 0.006447155952453613, 0.006278676986694336, 0.006448596000671387, 0.006446996212005615, 0.006285397052764893, 0.00635883617401123, 0.006374835968017578, 0.006507636070251465, 0.006395796775817871, 0.006296116828918457, 0.006315156936645507, 0.006363316059112549, 0.006502834796905518, 0.006559794902801514, 0.006576435089111328, 0.006248277187347412, 0.006498674869537354, 0.006341876983642578, 0.006348116874694824, 0.00611723804473877, 0.006156436920166016, 0.006124917984008789, 0.006107478141784668, 0.00950185489654541, 0.006350515842437744, 0.00614395809173584, 0.006069077968597412, 0.006100917816162109, 0.006096278190612793, 0.0075327491760253905, 0.006688115119934082, 0.006535635948181152, 0.006371157169342041, 0.006269876956939697, 0.0065317959785461425, 0.006735313892364502, 0.006347957134246826, 0.006608914852142334, 0.006615314960479736, 0.00647355604171753, 0.006820912837982178, 0.006872433185577393, 0.006871953010559082, 0.006822834014892578, 0.0065594749450683595, 0.006577394962310791, 0.0066121149063110354, 0.006464595794677734, 0.006626035213470459, 0.006474034786224365, 0.006089559078216553, 0.00625915813446045, 0.006453715801239014, 0.006278037071228027, 0.006303796768188477, 0.006300917148590088, 0.006220277786254883, 0.005986999034881592, 0.006054518222808838, 0.006025558948516846, 0.00602219820022583, 0.006064918994903565, 0.00604219913482666, 0.006017239093780518, 0.006024438858032227, 0.006088277816772461, 0.00608939790725708, 0.006168598175048828, 0.006852912902832031, 0.006808272838592529, 0.0068002729415893555, 0.0066924338340759275, 0.0063941960334777835, 0.006518515110015869, 0.006385715961456298, 0.006457396030426025, 0.006382195949554443, 0.00642987585067749, 0.006838993072509765, 0.006834833145141601, 0.006842352867126465, 0.006748913764953613, 0.006592915058135986, 0.006465714931488037, 0.006438035964965821, 0.00654795503616333, 0.006392436027526855, 0.006519155025482178, 0.006468915939331054, 0.006255318164825439, 0.006402836799621582, 0.006244277954101563, 0.006382037162780762, 0.006136437892913818, 0.006093719005584717, 0.006103158950805664, 0.006107799053192139, 0.006629555225372314, 0.006699954032897949, 0.006497075080871582, 0.006651313781738282, 0.006879152774810791, 0.00652507495880127, 0.006755474090576172, 0.006682993888854981, 0.0064125962257385255, 0.006622835159301758 ] }, "throughput": { "unit": "samples/s", "value": 154.51478384078806 }, "energy": null, "efficiency": null } } }