IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d7a5b19
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "6", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.645056, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 8046.747648, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.49851388549804687 | |
], | |
"count": 1, | |
"total": 0.49851388549804687, | |
"mean": 0.49851388549804687, | |
"p50": 0.49851388549804687, | |
"p90": 0.49851388549804687, | |
"p95": 0.49851388549804687, | |
"p99": 0.49851388549804687, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1262.022656, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 111922.950144, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007880980014801026, | |
0.007016336917877198, | |
0.007075218200683594, | |
0.0070174579620361326, | |
0.007063537120819092, | |
0.0070363378524780276, | |
0.006968818187713623, | |
0.007036817073822021, | |
0.006983858108520508, | |
0.0070409770011901854, | |
0.006996656894683838, | |
0.006935378074645996, | |
0.007035377025604248, | |
0.00729137897491455, | |
0.007160818099975586, | |
0.007148978233337403, | |
0.007168498039245606, | |
0.007131856918334961, | |
0.007182737827301025, | |
0.007028337001800537, | |
0.006968818187713623, | |
0.007004656791687012, | |
0.006983538150787353, | |
0.006967536926269531, | |
0.007002097129821777, | |
0.00704705810546875, | |
0.006968496799468994, | |
0.00697057819366455, | |
0.007039857864379883, | |
0.006995216846466064, | |
0.006984657764434814, | |
0.006983376979827881, | |
0.0069966578483581544, | |
0.0069937782287597654, | |
0.007001936912536621, | |
0.006997777938842774, | |
0.006991696834564209, | |
0.006977458000183106, | |
0.006989616870880127, | |
0.006978096961975097, | |
0.006982257843017578, | |
0.006962417125701904, | |
0.006979057788848877, | |
0.007008817195892334, | |
0.007024656772613525, | |
0.006971538066864014, | |
0.006970097064971923, | |
0.006985618114471436, | |
0.006963376998901367, | |
0.006948338031768799, | |
0.00697633695602417, | |
0.006943697929382324, | |
0.00696049690246582, | |
0.020252052307128905, | |
0.0023136060237884523, | |
0.0023065659999847413, | |
0.005149133205413818, | |
0.007005937099456787, | |
0.007023697853088379, | |
0.007011537075042725, | |
0.0069980969429016115, | |
0.006968657970428466, | |
0.0070006570816040035, | |
0.007058097839355469, | |
0.0069990577697753905, | |
0.006997776985168457, | |
0.006998737812042236, | |
0.007015857219696045, | |
0.00697201681137085, | |
0.0069912180900573734, | |
0.006992016792297363, | |
0.007028178215026855, | |
0.007003217220306396, | |
0.007029457092285156, | |
0.007007058143615723, | |
0.0070000171661376955, | |
0.006981617927551269, | |
0.006985618114471436, | |
0.007015857219696045, | |
0.007002737998962403, | |
0.006963857173919678, | |
0.006957777976989746, | |
0.006981616973876953, | |
0.006964498043060303, | |
0.006969137191772461, | |
0.006967536926269531, | |
0.006987698078155517, | |
0.006965776920318603, | |
0.006933938026428223, | |
0.006949777126312256, | |
0.006982898235321045, | |
0.006983216762542725, | |
0.006962098121643066, | |
0.006965297222137451, | |
0.006963218212127685, | |
0.00698289680480957, | |
0.006953938007354736, | |
0.006953617095947265, | |
0.006985137939453125, | |
0.006969296932220459, | |
0.006966738224029541, | |
0.007040977954864502, | |
0.006975536823272705, | |
0.006957297801971436, | |
0.0069571371078491215, | |
0.0069814581871032715, | |
0.007005297183990479, | |
0.006977458000183106, | |
0.006996177196502686, | |
0.00700721788406372, | |
0.0070150580406188965, | |
0.007008817195892334, | |
0.007025777816772461, | |
0.006993137836456299, | |
0.006996817111968994, | |
0.00699681806564331, | |
0.007015857219696045, | |
0.006976498126983643, | |
0.006994897842407226, | |
0.00697361707687378, | |
0.006988337993621826, | |
0.006995697021484375, | |
0.006969138145446778, | |
0.006964016914367676, | |
0.006979218006134033, | |
0.006952816963195801, | |
0.006967058181762695, | |
0.00696049690246582, | |
0.006977137088775635, | |
0.006980497837066651, | |
0.006989296913146973, | |
0.006974897861480713, | |
0.006998897075653076, | |
0.006990577220916748, | |
0.006970737934112549, | |
0.007017937183380127, | |
0.006990417957305908, | |
0.006999375820159912, | |
0.006978257179260254, | |
0.006982257843017578, | |
0.0069883370399475096, | |
0.00700065803527832 | |
], | |
"count": 142, | |
"total": 0.9966503372192382, | |
"mean": 0.007018664346614353, | |
"p50": 0.006988337516784668, | |
"p90": 0.007039553785324097, | |
"p95": 0.0071290249824523914, | |
"p99": 0.007639243588447573, | |
"stdev": 0.0012561793473112575, | |
"stdev_": 17.897697984620255 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.4772507439222 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |