{ "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.101312, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 144, "total": 0.9976261754035947, "mean": 0.006927959551413853, "stdev": 0.0002086765407269438, "p50": 0.006873104095458984, "p90": 0.0071895488739013675, "p95": 0.007267020583152772, "p99": 0.007419893822669982, "values": [ 0.007485439777374267, 0.007145472049713135, 0.007339968204498291, 0.007267327785491944, 0.00723967981338501, 0.007184383869171143, 0.007158783912658692, 0.007189568042755127, 0.007357439994812012, 0.0071833600997924804, 0.007104512214660645, 0.006864895820617676, 0.007245759963989257, 0.007039999961853028, 0.006970367908477783, 0.0070481600761413575, 0.007048192024230957, 0.007094272136688232, 0.007112703800201416, 0.007090176105499267, 0.007038976192474365, 0.007002111911773682, 0.007070720195770264, 0.007129087924957276, 0.007130112171173096, 0.00709222412109375, 0.007131103992462158, 0.00713318395614624, 0.007058432102203369, 0.007192575931549072, 0.0070984320640563965, 0.0074670081138610836, 0.007077888011932373, 0.0069928960800170895, 0.006970367908477783, 0.007067647933959961, 0.007073791980743408, 0.006993919849395752, 0.007065599918365479, 0.0070338878631591795, 0.007164927959442138, 0.007189504146575928, 0.0071495680809020995, 0.007146495819091797, 0.007265279769897461, 0.007053376197814942, 0.007035903930664063, 0.007134208202362061, 0.007171072006225586, 0.007101439952850342, 0.0068351998329162595, 0.006781951904296875, 0.006707200050354004, 0.006732800006866455, 0.0067717118263244626, 0.006752255916595459, 0.006872096061706543, 0.006744063854217529, 0.00672870397567749, 0.006730751991271973, 0.006731711864471436, 0.006721536159515381, 0.006732800006866455, 0.006773759841918945, 0.0068065600395202635, 0.006807551860809326, 0.007129087924957276, 0.0072765440940856935, 0.00727347183227539, 0.007174143791198731, 0.007228415966033935, 0.007181312084197998, 0.0070563840866088865, 0.007206912040710449, 0.0070891518592834475, 0.007032832145690918, 0.007030784130096435, 0.00689462423324585, 0.007111680030822754, 0.006908927917480469, 0.006737919807434082, 0.006731776237487793, 0.00673689603805542, 0.006759424209594727, 0.007038976192474365, 0.007004159927368164, 0.007016448020935059, 0.0070563840866088865, 0.007164927959442138, 0.007282688140869141, 0.006934591770172119, 0.006945792198181152, 0.006845439910888672, 0.006796288013458252, 0.006767615795135498, 0.006718463897705078, 0.006874112129211426, 0.006751232147216797, 0.0067420158386230465, 0.006750207901000976, 0.0067420158386230465, 0.006714367866516113, 0.006746111869812011, 0.00677785587310791, 0.006690815925598144, 0.00674508810043335, 0.00675328016281128, 0.006742080211639404, 0.006740992069244385, 0.006723680019378662, 0.006740992069244385, 0.006711296081542969, 0.006738944053649902, 0.00670201587677002, 0.006724607944488525, 0.0067276802062988285, 0.00672870397567749, 0.006724607944488525, 0.00674508810043335, 0.0067358717918396, 0.006718463897705078, 0.006691872119903564, 0.006713344097137451, 0.006714367866516113, 0.006684671878814697, 0.006721536159515381, 0.006730751991271973, 0.0066979842185974124, 0.0067051520347595215, 0.0067051520347595215, 0.0066938881874084475, 0.006708223819732666, 0.006721536159515381, 0.0067041277885437015, 0.006743040084838867, 0.00673689603805542, 0.006688767910003662, 0.006707200050354004, 0.0067758078575134275, 0.006684671878814697, 0.006706175804138184, 0.006725696086883545, 0.006730751991271973, 0.006677504062652588 ] }, "throughput": { "unit": "samples/s", "value": 144.34264411891965 }, "energy": { "unit": "kWh", "cpu": 7.911926066433943e-08, "ram": 4.3257962187539074e-08, "gpu": 1.6879272762666717e-07, "total": 2.911699504785457e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3434420.33889992 } } } }