{ "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.187328, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 253.912576 }, "latency": { "unit": "s", "count": 143, "total": 0.9973422703742982, "mean": 0.006974421471148938, "stdev": 0.00026057372474452356, "p50": 0.007039999961853028, "p90": 0.0072605438232421875, "p95": 0.007307980680465698, "p99": 0.007597750310897829, "values": [ 0.007849984169006348, 0.007192575931549072, 0.007319551944732666, 0.007258111953735351, 0.007652383804321289, 0.007366687774658203, 0.007244800090789795, 0.007208960056304932, 0.007280640125274658, 0.007113728046417236, 0.007108607769012451, 0.0070860800743103025, 0.007110655784606934, 0.006996992111206054, 0.007023615837097168, 0.007017471790313721, 0.0070553598403930665, 0.00713318395614624, 0.007262207984924316, 0.007309311866760254, 0.007143424034118652, 0.007145472049713135, 0.007000063896179199, 0.0070860800743103025, 0.007176191806793213, 0.0071792640686035155, 0.007234560012817383, 0.007194623947143554, 0.0071188478469848635, 0.007078911781311035, 0.007079967975616455, 0.007131135940551757, 0.007113728046417236, 0.0072837119102478025, 0.007204864025115967, 0.007017471790313721, 0.006966271877288818, 0.007002111911773682, 0.007131135940551757, 0.007204864025115967, 0.007094272136688232, 0.007054336071014404, 0.007135231971740722, 0.007261151790618896, 0.007197696208953858, 0.007168064117431641, 0.00713318395614624, 0.0071188478469848635, 0.007266304016113281, 0.007207935810089112, 0.007310336112976074, 0.007090176105499267, 0.007061503887176514, 0.007296000003814697, 0.007080959796905518, 0.007001088142395019, 0.007090176105499267, 0.007038976192474365, 0.007178239822387696, 0.007054336071014404, 0.007036928176879883, 0.007049215793609619, 0.0070553598403930665, 0.007122943878173828, 0.007233535766601563, 0.007218175888061523, 0.007112703800201416, 0.007197696208953858, 0.007310336112976074, 0.007198719978332519, 0.007217152118682861, 0.007108607769012451, 0.007090176105499267, 0.007145472049713135, 0.007039999961853028, 0.007070720195770264, 0.007035903930664063, 0.0070522880554199216, 0.006915071964263916, 0.006937600135803222, 0.007156735897064209, 0.006998015880584717, 0.006721536159515381, 0.006662144184112549, 0.006670335769653321, 0.006829055786132812, 0.007008255958557129, 0.0068280320167541505, 0.006779839992523193, 0.0069550080299377445, 0.007271423816680909, 0.0069959678649902345, 0.006865888118743896, 0.0068915200233459475, 0.006881279945373535, 0.00669593620300293, 0.006763519763946534, 0.006910975933074951, 0.0068577280044555666, 0.006647808074951172, 0.006675456047058105, 0.006574016094207763, 0.006666240215301514, 0.006631423950195312, 0.006582335948944092, 0.006731776237487793, 0.006618112087249756, 0.0069928960800170895, 0.007522304058074952, 0.007236608028411865, 0.006967296123504638, 0.007105535984039306, 0.006801343917846679, 0.006754303932189941, 0.006672383785247803, 0.006609920024871826, 0.006665279865264892, 0.006601727962493896, 0.006616064071655273, 0.006568960189819336, 0.006625247955322266, 0.006573056221008301, 0.006562816143035889, 0.006624256134033203, 0.006556672096252441, 0.006687776088714599, 0.006633471965789795, 0.006574079990386963, 0.006800384044647217, 0.006754303932189941, 0.006652927875518798, 0.006661151885986328, 0.006595583915710449, 0.0065781760215759275, 0.006620160102844238, 0.006683648109436035, 0.006560768127441406, 0.006593535900115967, 0.006639616012573242, 0.006524928092956543, 0.006606847763061524, 0.006603775978088379, 0.006573056221008301 ] }, "throughput": { "unit": "samples/s", "value": 143.38106811248733 }, "energy": { "unit": "kWh", "cpu": 7.478450141862754e-08, "ram": 4.08783339859475e-08, "gpu": 1.7097323251572702e-07, "total": 2.8663606792030204e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3488744.4809564087 } } } }