{ "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": "2680e6fb8019f9b6eb6fcaa00b283acdac4d3d3d", "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.359296, "max_global_vram": 689.364992, "max_process_vram": 41234.714624, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 6.8811328125, "mean": 6.8811328125, "stdev": 0.0, "p50": 6.8811328125, "p90": 6.8811328125, "p95": 6.8811328125, "p99": 6.8811328125, "values": [ 6.8811328125 ] }, "throughput": null, "energy": null, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 1068.7488, "max_global_vram": 777.076736, "max_process_vram": 174541.430784, "max_reserved": 406.847488, "max_allocated": 355.303424 }, "latency": { "unit": "s", "count": 165, "total": 0.9976486635208129, "mean": 0.006046355536489776, "stdev": 0.0004679078176100022, "p50": 0.0059121642112731935, "p90": 0.0062256358146667475, "p95": 0.006311812591552734, "p99": 0.008174924125671354, "values": [ 0.00633808422088623, 0.006221124172210693, 0.0062944040298461915, 0.006291203975677491, 0.0062662439346313475, 0.006313924789428711, 0.006363523960113525, 0.006320804119110107, 0.006303363800048828, 0.006285124778747558, 0.006225443840026855, 0.00618752384185791, 0.00615040397644043, 0.006241444110870361, 0.006193764209747314, 0.006168804168701172, 0.006175364971160889, 0.006182884216308594, 0.006159523963928223, 0.006188164234161377, 0.006184323787689209, 0.006179684162139892, 0.00619440507888794, 0.006254883766174316, 0.006172644138336182, 0.006220004081726074, 0.00622576379776001, 0.006202884197235107, 0.0061809649467468265, 0.006167523860931397, 0.006203204154968262, 0.006179364204406739, 0.006178083896636963, 0.006158884048461914, 0.006113604068756103, 0.006158244132995605, 0.006135684013366699, 0.006131524085998535, 0.006157124042510986, 0.00608976411819458, 0.0060526437759399416, 0.006071524143218994, 0.006140964031219482, 0.010002726554870606, 0.006681444168090821, 0.006104165077209472, 0.006111683845520019, 0.00605872392654419, 0.006072003841400147, 0.006041443824768066, 0.006079524040222168, 0.006097764015197754, 0.006106083869934082, 0.006064484119415283, 0.006097283840179444, 0.006108163833618164, 0.006145764827728271, 0.006155044078826904, 0.006124643802642822, 0.00612256383895874, 0.006101443767547608, 0.006112803936004638, 0.006108804225921631, 0.006125924110412598, 0.006099204063415528, 0.006089124202728271, 0.006112645149230957, 0.00610016393661499, 0.006118723869323731, 0.006115203857421875, 0.006111683845520019, 0.006092323780059815, 0.0061096038818359375, 0.006138723850250244, 0.006069124221801758, 0.006061123847961426, 0.009576167106628418, 0.006516004085540771, 0.005978724002838135, 0.0059121642112731935, 0.0059048042297363285, 0.00593312406539917, 0.007386724948883056, 0.0058992037773132324, 0.005781923770904541, 0.00575408411026001, 0.005738564014434814, 0.0057984042167663575, 0.005828643798828125, 0.005804323196411133, 0.0057732839584350585, 0.0057414441108703616, 0.0057108840942382815, 0.005759364128112793, 0.005783524036407471, 0.005790884017944336, 0.005718883037567139, 0.005869763851165772, 0.005862403869628907, 0.005856483936309814, 0.005869604110717773, 0.005877443790435791, 0.0058729639053344725, 0.005868803977966308, 0.005855363845825195, 0.005862884044647217, 0.005864803791046143, 0.005868323802947998, 0.00588624382019043, 0.005872163772583008, 0.0058539237976074215, 0.005872804164886475, 0.0058548831939697265, 0.005867523193359375, 0.0058484840393066406, 0.0058606438636779785, 0.005857604026794434, 0.005846404075622559, 0.005861124038696289, 0.0058417639732360836, 0.005862244129180908, 0.005846883773803711, 0.005865764141082763, 0.0058673639297485355, 0.005860323905944824, 0.005863043785095215, 0.005863203048706055, 0.005833922863006592, 0.005845923900604248, 0.005857923984527588, 0.0058723239898681645, 0.005840164184570312, 0.0058820838928222655, 0.005838243961334228, 0.005851203918457031, 0.005852963924407959, 0.005859683990478515, 0.005871044158935547, 0.005883203983306885, 0.005837924003601074, 0.005843362808227539, 0.005869604110717773, 0.00584192419052124, 0.005862083911895752, 0.005861604213714599, 0.005841283798217773, 0.005842564105987549, 0.005871364116668701, 0.005921763896942139, 0.005903684139251709, 0.005876964092254639, 0.00588720417022705, 0.005871523857116699, 0.005868644237518311, 0.005802244186401367, 0.005720323085784912, 0.005843843936920166, 0.005734563827514649, 0.005774724006652832, 0.0056998438835144044, 0.0056931238174438474, 0.005651042938232422, 0.005681602954864502, 0.005681124210357666, 0.005638723850250244 ] }, "throughput": { "unit": "samples/s", "value": 165.3888849183606 }, "energy": null, "efficiency": null } } }