{ "config": { "name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", "backend": { "name": "pytorch", "version": "2.3.1+cu121", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "image-classification", "library": "timm", "model_type": "resnet50", "model": "timm/resnet50.a1_in1k", "processor": "timm/resnet50.a1_in1k", "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": false, "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": 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.293824, "system": "Linux", "machine": "x86_64", "platform": "Linux-5.10.219-208.866.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.3.1", "optimum_benchmark_commit": null, "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": { "forward": { "memory": { "unit": "MB", "max_ram": 969.691136, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 144, "total": 1.0000688638687136, "mean": 0.006944922665754953, "stdev": 0.00027126248893490914, "p50": 0.007028223991394043, "p90": 0.007231078386306763, "p95": 0.007332859086990356, "p99": 0.007583682608604431, "values": [ 0.007559167861938477, 0.00743936014175415, 0.007357439994812012, 0.007279615879058838, 0.00733900785446167, 0.00728985595703125, 0.0072980160713195805, 0.007270400047302246, 0.007422976016998291, 0.007103519916534424, 0.007072768211364746, 0.007153664112091064, 0.007174143791198731, 0.007053311824798584, 0.007004159927368164, 0.0071823358535766605, 0.0071157760620117185, 0.007186431884765625, 0.007193600177764893, 0.007159808158874512, 0.00710038423538208, 0.00709222412109375, 0.007113728046417236, 0.007639039993286132, 0.007163904190063477, 0.00714137601852417, 0.007118912220001221, 0.00714035177230835, 0.007105535984039306, 0.0071188158988952635, 0.007142335891723633, 0.007244800090789795, 0.007147520065307617, 0.007023615837097168, 0.006985727787017822, 0.006970367908477783, 0.0070830078125, 0.007094240188598633, 0.007103487968444824, 0.007097343921661377, 0.007146495819091797, 0.007195648193359375, 0.007176191806793213, 0.0071905279159545895, 0.007138304233551026, 0.007266304016113281, 0.0070665922164917, 0.007142399787902832, 0.007123968124389648, 0.007101439952850342, 0.007088128089904785, 0.007130112171173096, 0.007097343921661377, 0.006988800048828125, 0.007074816226959229, 0.007069695949554444, 0.007164927959442138, 0.007126016139984131, 0.007047167778015137, 0.007180287837982178, 0.007078911781311035, 0.007090176105499267, 0.007045119762420654, 0.007134208202362061, 0.007602176189422607, 0.007218175888061523, 0.007236608028411865, 0.007138304233551026, 0.007131135940551757, 0.007147520065307617, 0.007098368167877197, 0.007096320152282715, 0.007113728046417236, 0.007032832145690918, 0.007095295906066895, 0.006989823818206787, 0.007419871807098389, 0.0068392958641052244, 0.00694271993637085, 0.006958079814910889, 0.006762495994567871, 0.006657023906707763, 0.006809599876403808, 0.006812672138214112, 0.006743040084838867, 0.006884352207183838, 0.006887360095977783, 0.006856768131256103, 0.007014400005340577, 0.00721504020690918, 0.006819839954376221, 0.006711296081542969, 0.006772736072540283, 0.006814720153808594, 0.006823935985565186, 0.00679423999786377, 0.0067420158386230465, 0.006738944053649902, 0.0066743998527526854, 0.0067123198509216305, 0.006719488143920899, 0.006661119937896728, 0.006700032234191895, 0.0066744318008422855, 0.006648831844329834, 0.006677504062652588, 0.006665215969085693, 0.006626304149627686, 0.006659071922302246, 0.0067041277885437015, 0.0066416640281677245, 0.006636544227600098, 0.006658080101013183, 0.006628352165222168, 0.006651904106140137, 0.006646783828735352, 0.006645760059356689, 0.006650879859924317, 0.006672383785247803, 0.006631423950195312, 0.006636544227600098, 0.006676479816436768, 0.006643712043762207, 0.006658048152923584, 0.006649856090545654, 0.006623231887817383, 0.0069847040176391605, 0.006659071922302246, 0.0066744318008422855, 0.006593535900115967, 0.006651904106140137, 0.006661119937896728, 0.006597631931304931, 0.006661119937896728, 0.00673583984375, 0.006400000095367431, 0.006386688232421875, 0.0063201279640197755, 0.006326272010803223, 0.006328320026397705, 0.006699007987976074, 0.006620160102844238, 0.006585343837738037, 0.006642687797546387 ] }, "throughput": { "unit": "samples/s", "value": 143.99008428573973 }, "energy": { "unit": "kWh", "cpu": 7.472953581460118e-08, "ram": 4.085825967846771e-08, "gpu": 1.616248672452183e-07, "total": 2.772126627382872e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3607338.8211132577 } } } }