{ "config": { "name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", "backend": { "name": "pytorch", "version": "2.4.0+cu121", "_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": true, "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 7R32", "cpu_count": 16, "cpu_ram_mb": 66697.25696, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.220-209.869.amzn2.x86_64-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.12", "gpu": [ "NVIDIA A10G" ], "gpu_count": 1, "gpu_vram_mb": 24146608128, "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": null, "transformers_version": "4.44.0", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.0", "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": 801.271808, "max_global_vram": 1030.22592, "max_process_vram": 0.0, "max_reserved": 400.556032, "max_allocated": 346.271744 }, "latency": { "unit": "s", "count": 1, "total": 7.48352001953125, "mean": 7.48352001953125, "stdev": 0.0, "p50": 7.48352001953125, "p90": 7.48352001953125, "p95": 7.48352001953125, "p99": 7.48352001953125, "values": [ 7.48352001953125 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 1.5617286819441745e-06, "ram": 8.396448257212385e-07, "gpu": 1.6697235580001232e-06, "total": 4.071097065665536e-06 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 934.281216, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 406.847488, "max_allocated": 363.853824 }, "latency": { "unit": "s", "count": 192, "total": 0.999519104003906, "mean": 0.005205828666687011, "stdev": 0.00020206557498963647, "p50": 0.005230559825897216, "p90": 0.0053866494178771976, "p95": 0.005431040000915527, "p99": 0.005871359930038453, "values": [ 0.005447679996490478, 0.0054241280555725096, 0.005388224124908447, 0.005411839962005615, 0.005442560195922852, 0.005600255966186523, 0.00547430419921875, 0.005442560195922852, 0.006563839912414551, 0.005492735862731934, 0.005846015930175781, 0.005381120204925537, 0.005323775768280029, 0.005303264141082764, 0.005387263774871826, 0.005341184139251709, 0.005348351955413819, 0.005296127796173096, 0.005208064079284668, 0.005190720081329345, 0.00526035213470459, 0.0052705278396606445, 0.005285888195037842, 0.005399551868438721, 0.005411839962005615, 0.005373983860015869, 0.005403647899627686, 0.005315584182739258, 0.005280799865722656, 0.005230527877807617, 0.005190656185150146, 0.005296127796173096, 0.005352447986602784, 0.005343232154846191, 0.005342207908630371, 0.005390336036682129, 0.005342207908630371, 0.0053144960403442385, 0.005343232154846191, 0.005256192207336426, 0.005252096176147461, 0.0053002238273620605, 0.0053002238273620605, 0.005310463905334473, 0.005312511920928955, 0.005209055900573731, 0.0051404800415039064, 0.005152768135070801, 0.00516096019744873, 0.005197824001312256, 0.005239808082580567, 0.005331967830657959, 0.005272575855255127, 0.005312511920928955, 0.005250048160552978, 0.005302271842956543, 0.005420032024383545, 0.005372928142547607, 0.005364704132080078, 0.005368832111358642, 0.005340159893035889, 0.005338111877441406, 0.005366847991943359, 0.005227519989013672, 0.005197824001312256, 0.005327936172485352, 0.006127615928649902, 0.005399551868438721, 0.005346271991729736, 0.005351424217224121, 0.00535756778717041, 0.005317599773406983, 0.005220352172851562, 0.005202943801879883, 0.005273600101470947, 0.005288928031921387, 0.005278719902038574, 0.005338111877441406, 0.005369855880737305, 0.005290976047515869, 0.005230591773986816, 0.0052336640357971195, 0.005278656005859375, 0.005262335777282715, 0.005231616020202637, 0.0052623038291931155, 0.005208064079284668, 0.0052336640357971195, 0.0052510080337524415, 0.0053647360801696775, 0.005361663818359375, 0.005439487934112549, 0.005345280170440674, 0.00535859203338623, 0.005372928142547607, 0.005326848030090332, 0.005302271842956543, 0.005312511920928955, 0.00531660795211792, 0.005307392120361328, 0.005237760066986084, 0.005243904113769531, 0.00535859203338623, 0.005253119945526123, 0.005163008213043213, 0.005142528057098389, 0.005134335994720459, 0.0050769920349121095, 0.005104640007019043, 0.005248000144958496, 0.0051773757934570315, 0.005073919773101807, 0.005025792121887207, 0.005049344062805176, 0.005044223785400391, 0.005025792121887207, 0.005033984184265137, 0.005045248031616211, 0.005131328105926513, 0.005204991817474365, 0.005276671886444092, 0.005311488151550293, 0.005234687805175781, 0.005288959980010987, 0.0053760638236999515, 0.00515174388885498, 0.005091328144073487, 0.005154816150665284, 0.005138432025909424, 0.005075967788696289, 0.005079040050506592, 0.005089280128479004, 0.0050206718444824215, 0.005071807861328125, 0.0050462718009948735, 0.005035007953643799, 0.004981760025024414, 0.005035007953643799, 0.00506060791015625, 0.005059584140777588, 0.005024767875671386, 0.005018623828887939, 0.0050503678321838375, 0.005033984184265137, 0.0050032639503479, 0.004999167919158935, 0.005059584140777588, 0.005008384227752686, 0.005014527797698975, 0.005021696090698242, 0.005005311965942383, 0.005025792121887207, 0.004998144149780274, 0.004998144149780274, 0.0049909758567810054, 0.005025792121887207, 0.005008384227752686, 0.005008384227752686, 0.005022719860076904, 0.0050094079971313476, 0.0050032639503479, 0.00501964807510376, 0.0050063362121582035, 0.005059584140777588, 0.0049909758567810054, 0.00501145601272583, 0.0050206718444824215, 0.005025824069976806, 0.0049909758567810054, 0.005023744106292725, 0.005047296047210693, 0.00501964807510376, 0.004994048118591309, 0.005040128231048584, 0.005044223785400391, 0.004998144149780274, 0.0050135040283203125, 0.005048319816589355, 0.005022719860076904, 0.00501043176651001, 0.004927487850189209, 0.00495411205291748, 0.0049530878067016604, 0.0049162240028381345, 0.0049387521743774416, 0.0049387521743774416, 0.00491315221786499, 0.0049459199905395506, 0.004914175987243652, 0.004924416065216064, 0.004935679912567138, 0.004932608127593994 ] }, "throughput": { "unit": "samples/s", "value": 192.09237645471723 }, "energy": { "unit": "kWh", "cpu": 5.7613803799411315e-08, "ram": 3.1499514276690824e-08, "gpu": 3.242443833269237e-07, "total": 4.1335770140302586e-07 }, "efficiency": { "unit": "samples/kWh", "value": 2419212.2140358887 } } } }