{ "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": {}, "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, "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.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.4.0", "optimum_benchmark_commit": null, "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": 789.377024, "max_global_vram": 709.361664, "max_process_vram": 0.0, "max_reserved": 123.731968, "max_allocated": 102.475264 }, "latency": { "unit": "s", "count": 1, "total": 7.5024990234375, "mean": 7.5024990234375, "stdev": 0.0, "p50": 7.5024990234375, "p90": 7.5024990234375, "p95": 7.5024990234375, "p99": 7.5024990234375, "values": [ 7.5024990234375 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.309652745723725e-06, "ram": 2.3457664250662445e-06, "gpu": 6.170560491999821e-06, "total": 1.2825979662789791e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 977.399808, "max_global_vram": 1049.100288, "max_process_vram": 0.0, "max_reserved": 396.361728, "max_allocated": 245.323264 }, "latency": { "unit": "s", "count": 146, "total": 0.9980322561264036, "mean": 0.006835837370728794, "stdev": 0.0003933587934768871, "p50": 0.006720000028610229, "p90": 0.0071029760837554926, "p95": 0.007222528219223022, "p99": 0.008824627637863167, "values": [ 0.009315327644348144, 0.00910848045349121, 0.008477696418762207, 0.006875135898590088, 0.006870016098022461, 0.006703104019165039, 0.0067348480224609375, 0.00679423999786377, 0.006846464157104492, 0.006681600093841553, 0.0067686400413513184, 0.006918144226074219, 0.006663199901580811, 0.00667852783203125, 0.006684671878814697, 0.0066713600158691405, 0.006820864200592041, 0.006779903888702392, 0.007072768211364746, 0.007081984043121338, 0.006957056045532227, 0.007178239822387696, 0.007705599784851074, 0.007110655784606934, 0.007139328002929687, 0.00709119987487793, 0.0074741759300231934, 0.007929855823516846, 0.0071905279159545895, 0.007231488227844239, 0.007195648193359375, 0.00702675199508667, 0.007014400005340577, 0.006956031799316406, 0.0070225920677185055, 0.006965248107910156, 0.007047167778015137, 0.007062528133392334, 0.00710041618347168, 0.007015423774719238, 0.007105535984039306, 0.007150591850280762, 0.007090176105499267, 0.00707583999633789, 0.0067983360290527345, 0.0067040958404541015, 0.0067768640518188475, 0.006834176063537598, 0.006831103801727295, 0.006732736110687256, 0.006688767910003662, 0.006628352165222168, 0.006739967823028564, 0.00672051191329956, 0.006799359798431396, 0.006907904148101806, 0.006635488033294678, 0.006667200088500976, 0.006703104019165039, 0.006711296081542969, 0.006633471965789795, 0.006669312000274658, 0.006849535942077637, 0.006719488143920899, 0.006864895820617676, 0.00676966381072998, 0.006773759841918945, 0.006738944053649902, 0.006722559928894043, 0.006716415882110595, 0.007048192024230957, 0.006990848064422607, 0.007077888011932373, 0.006907904148101806, 0.006858816146850586, 0.006802432060241699, 0.0068351998329162595, 0.006917119979858399, 0.006789120197296142, 0.006635519981384277, 0.006625279903411865, 0.006649856090545654, 0.006874112129211426, 0.006845439910888672, 0.006866943836212158, 0.006945792198181152, 0.007020544052124023, 0.007008255958557129, 0.0070266880989074704, 0.007526400089263916, 0.006965248107910156, 0.006692863941192627, 0.006608895778656006, 0.006684671878814697, 0.006636544227600098, 0.006576064109802246, 0.006626239776611328, 0.0067645440101623535, 0.006543360233306885, 0.006659039974212647, 0.006667263984680176, 0.006536191940307618, 0.006594560146331787, 0.006590464115142822, 0.006529024124145508, 0.006565887928009034, 0.006582272052764892, 0.006516736030578613, 0.0066447358131408694, 0.006609920024871826, 0.0065443840026855465, 0.006568960189819336, 0.006549471855163574, 0.0065484800338745115, 0.0065812478065490725, 0.006503424167633057, 0.006909952163696289, 0.006716415882110595, 0.006622208118438721, 0.0066447358131408694, 0.00667852783203125, 0.006668288230895996, 0.006646783828735352, 0.0066447358131408694, 0.006631423950195312, 0.006627327919006347, 0.006651904106140137, 0.0065382399559021, 0.006532095909118653, 0.006601727962493896, 0.006509632110595703, 0.0065474238395690915, 0.006565887928009034, 0.00653107213973999, 0.006609920024871826, 0.006576128005981445, 0.0065136318206787105, 0.006561791896820069, 0.0065710082054138185, 0.006531136035919189, 0.0065669121742248536, 0.0065443840026855465, 0.006576128005981445, 0.00658739185333252, 0.006560768127441406, 0.0067010560035705566 ] }, "throughput": { "unit": "samples/s", "value": 146.28785703446107 }, "energy": { "unit": "kWh", "cpu": 7.95650095851333e-08, "ram": 4.340618334489174e-08, "gpu": 1.6338346404000393e-07, "total": 2.86354656970029e-07 }, "efficiency": { "unit": "samples/kWh", "value": 3492172.994779212 } } } }