{ "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": "d662120356cf9cce87fb802aea1c49ce74710c29", "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.371584, "max_global_vram": 689.364992, "max_process_vram": 48399.949824, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.31208837890625, "mean": 7.31208837890625, "stdev": 0.0, "p50": 7.31208837890625, "p90": 7.31208837890625, "p95": 7.31208837890625, "p99": 7.31208837890625, "values": [ 7.31208837890625 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1068.752896, "max_global_vram": 777.674752, "max_process_vram": 163463.491584, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 162, "total": 0.9960953397750854, "mean": 0.006148736665278306, "stdev": 7.735197575162339e-05, "p50": 0.00613274359703064, "p90": 0.0062561358451843265, "p95": 0.006294728016853332, "p99": 0.00638388394355774, "values": [ 0.006294424057006836, 0.006199063777923584, 0.006256343841552735, 0.006210423946380615, 0.006125144004821777, 0.006165623188018799, 0.006109943866729736, 0.0061173028945922855, 0.006092982769012451, 0.006122903823852539, 0.006163702964782715, 0.006156982898712159, 0.0060657839775085445, 0.006071063041687011, 0.006028663158416748, 0.0060725040435791015, 0.006120502948760986, 0.006098583221435547, 0.006063703060150146, 0.006041143894195557, 0.006094422817230225, 0.006053944110870361, 0.006106903076171875, 0.006106904029846191, 0.006091702938079834, 0.006068664073944092, 0.006132503032684326, 0.006098423957824707, 0.0061021032333374026, 0.006091222763061523, 0.006127223968505859, 0.006104342937469483, 0.006086743831634521, 0.006146742820739746, 0.0061168231964111325, 0.006110104084014892, 0.006072503089904785, 0.006130743980407715, 0.006097622871398926, 0.006085783958435059, 0.005982101917266846, 0.006107223033905029, 0.006116504192352295, 0.006107062816619873, 0.006113624095916748, 0.006108663082122803, 0.006123542785644531, 0.006125783920288086, 0.006127383232116699, 0.006117144107818604, 0.006132984161376953, 0.006076182842254639, 0.0061318640708923336, 0.006096182823181152, 0.006105944156646729, 0.006128824234008789, 0.006214104175567627, 0.00615298318862915, 0.006152344226837158, 0.006094103813171387, 0.006092503070831299, 0.006075704097747802, 0.006083063125610352, 0.006147543907165528, 0.006224664211273193, 0.006303224086761474, 0.006254263877868652, 0.006234263896942139, 0.0062243428230285645, 0.00619394302368164, 0.006245304107666016, 0.006251383781433106, 0.0061625828742980955, 0.006172183036804199, 0.006160823822021484, 0.006160823822021484, 0.006384664058685303, 0.006172983169555664, 0.0061825838088989254, 0.006217144012451172, 0.006181144237518311, 0.006164663791656494, 0.006175064086914063, 0.006170903205871582, 0.006095862865447998, 0.006127384185791016, 0.00606898307800293, 0.006080023765563965, 0.006123542785644531, 0.006130263805389404, 0.00610178279876709, 0.006048983097076416, 0.006108663082122803, 0.006081143856048584, 0.006118422985076905, 0.006180822849273682, 0.006267704010009765, 0.006293623924255371, 0.006265143871307373, 0.006310904026031494, 0.006276824951171875, 0.00629474401473999, 0.006244664192199707, 0.006312024116516113, 0.006225143909454346, 0.00630898380279541, 0.0063053050041198735, 0.006291863918304444, 0.006285783767700196, 0.00623410415649414, 0.006238584041595459, 0.006187222957611084, 0.0062053041458129884, 0.006207543849945069, 0.0061917037963867185, 0.006221623897552491, 0.006225944042205811, 0.006202744007110596, 0.006383385181427002, 0.006166264057159424, 0.006218103885650634, 0.006158583164215088, 0.006247064113616943, 0.006387383937835694, 0.006159224033355713, 0.006141784191131591, 0.006140023231506348, 0.006161623954772949, 0.006151703834533692, 0.006144343852996826, 0.0061393828392028804, 0.006173943996429444, 0.006161464214324951, 0.006165463924407959, 0.006154902935028076, 0.006189942836761475, 0.006158102989196777, 0.00613762378692627, 0.006146743774414063, 0.0061339430809020995, 0.006160183906555176, 0.00616434383392334, 0.0061555438041687015, 0.006084022998809814, 0.00605890417098999, 0.006062582969665527, 0.006041782855987549, 0.006061304092407227, 0.006058423042297363, 0.006018423080444336, 0.006045623779296875, 0.006044342994689942, 0.006059702873229981, 0.006104981899261475, 0.00603842306137085, 0.006101143836975098, 0.006061142921447754, 0.006095384120941162, 0.00606466293334961, 0.006053944110870361, 0.006037143230438233, 0.006086422920227051 ] }, "throughput": { "unit": "samples/s", "value": 162.63503455058728 }, "energy": null, "efficiency": null } } }