IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
49fd1ac
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "5", | |
"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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 987.303936, | |
"max_global_vram": 409.141248, | |
"max_process_vram": 49565.564928, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2701240234375, | |
"mean": 8.2701240234375, | |
"stdev": 0.0, | |
"p50": 8.2701240234375, | |
"p90": 8.2701240234375, | |
"p95": 8.2701240234375, | |
"p99": 8.2701240234375, | |
"values": [ | |
8.2701240234375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.686784, | |
"max_global_vram": 514.51904, | |
"max_process_vram": 123024.658432, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.998878162384033, | |
"mean": 0.007991025299072268, | |
"stdev": 0.0003360469468477057, | |
"p50": 0.00806285858154297, | |
"p90": 0.008239435386657714, | |
"p95": 0.008308937835693359, | |
"p99": 0.009082983703613285, | |
"values": [ | |
0.008257739067077637, | |
0.008541257858276367, | |
0.00925405502319336, | |
0.008036938667297364, | |
0.008029739379882812, | |
0.008078858375549317, | |
0.008031498908996583, | |
0.00800877857208252, | |
0.008222217559814454, | |
0.008060938835144043, | |
0.008044618606567383, | |
0.008064619064331055, | |
0.0082183780670166, | |
0.008087339401245118, | |
0.008104297637939453, | |
0.008090378761291504, | |
0.008128778457641601, | |
0.00811293888092041, | |
0.008094697952270509, | |
0.00806285858154297, | |
0.008157578468322754, | |
0.008048459053039551, | |
0.0080492582321167, | |
0.008037259101867675, | |
0.008087498664855957, | |
0.008016298294067383, | |
0.00816477870941162, | |
0.008029579162597656, | |
0.008090218544006348, | |
0.008024298667907714, | |
0.008192458152770997, | |
0.008090378761291504, | |
0.008164937973022462, | |
0.008175018310546876, | |
0.008164459228515625, | |
0.008178057670593262, | |
0.008063018798828125, | |
0.008044777870178222, | |
0.008062699317932128, | |
0.008088458061218261, | |
0.00804749870300293, | |
0.00804173755645752, | |
0.00813101863861084, | |
0.008126697540283202, | |
0.008095499038696288, | |
0.008076778411865234, | |
0.008072938919067383, | |
0.007984619140625, | |
0.008263177871704101, | |
0.008087657928466796, | |
0.008123019218444823, | |
0.008343338012695312, | |
0.008319177627563477, | |
0.008312137603759765, | |
0.008123177528381348, | |
0.008223817825317383, | |
0.008174538612365723, | |
0.008150378227233886, | |
0.00819821834564209, | |
0.008184139251708984, | |
0.008161258697509766, | |
0.008123337745666504, | |
0.00824109935760498, | |
0.008296138763427734, | |
0.008278698921203613, | |
0.008236939430236817, | |
0.00820973777770996, | |
0.008194538116455078, | |
0.0080162992477417, | |
0.008200138092041016, | |
0.008255658149719238, | |
0.00763293981552124, | |
0.007768620014190674, | |
0.008005099296569824, | |
0.008048619270324707, | |
0.00799661922454834, | |
0.0075612602233886715, | |
0.007589739799499512, | |
0.007956618785858155, | |
0.008115818977355957, | |
0.009474695205688477, | |
0.008476297378540039, | |
0.008098379135131836, | |
0.008074538230895996, | |
0.00808285903930664, | |
0.008073418617248536, | |
0.008027178764343262, | |
0.00803053855895996, | |
0.008067978858947753, | |
0.008050539016723634, | |
0.008022059440612793, | |
0.008013898849487305, | |
0.007919339179992676, | |
0.007910539150238037, | |
0.008087338447570801, | |
0.007955338954925537, | |
0.00804301929473877, | |
0.008058697700500488, | |
0.007655020236968994, | |
0.007649740219116211, | |
0.007433420181274414, | |
0.007969419002532958, | |
0.008068458557128906, | |
0.007917579174041747, | |
0.007261580944061279, | |
0.007673739910125732, | |
0.007571660995483399, | |
0.0074979009628295895, | |
0.0076242990493774416, | |
0.007354540824890137, | |
0.007507180213928223, | |
0.007406859874725342, | |
0.007423501014709472, | |
0.007422699928283692, | |
0.007463500022888183, | |
0.0074969401359558105, | |
0.007519179821014404, | |
0.007549900054931641, | |
0.007621099948883056, | |
0.007589900016784668, | |
0.007455019950866699, | |
0.007247021198272705, | |
0.007203499794006348, | |
0.007244941234588623, | |
0.007153740882873535 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.14038719363043 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |