
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3a2e1df
verified
{ | |
"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.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.233664, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.412927734375, | |
"mean": 7.412927734375, | |
"stdev": 0.0, | |
"p50": 7.412927734375, | |
"p90": 7.412927734375, | |
"p95": 7.412927734375, | |
"p99": 7.412927734375, | |
"values": [ | |
7.412927734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.302931328614553e-06, | |
"ram": 2.3426903115383387e-06, | |
"gpu": 5.251670867999995e-06, | |
"total": 1.1897292508152887e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.986112, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 0.9985354275703431, | |
"mean": 0.006701580050807672, | |
"stdev": 0.00032944181317736077, | |
"p50": 0.006628352165222168, | |
"p90": 0.006958080005645752, | |
"p95": 0.007021567916870117, | |
"p99": 0.00811981834411623, | |
"values": [ | |
0.009247808456420899, | |
0.009004032135009766, | |
0.0071619200706481935, | |
0.006855616092681885, | |
0.006774784088134766, | |
0.006791168212890625, | |
0.006721536159515381, | |
0.006683648109436035, | |
0.006654975891113281, | |
0.006734911918640137, | |
0.006696959972381592, | |
0.0068321280479431154, | |
0.006936575889587402, | |
0.00692633581161499, | |
0.00694271993637085, | |
0.006985727787017822, | |
0.007035903930664063, | |
0.007046144008636474, | |
0.0070348801612854, | |
0.0069212160110473635, | |
0.00695091199874878, | |
0.007017504215240478, | |
0.007041024208068848, | |
0.006987775802612305, | |
0.00700105619430542, | |
0.007018496036529541, | |
0.006957056045532227, | |
0.0069550080299377445, | |
0.007003136157989502, | |
0.007023615837097168, | |
0.006680575847625733, | |
0.006552576065063476, | |
0.006549503803253174, | |
0.006562816143035889, | |
0.006602752208709717, | |
0.006573056221008301, | |
0.006618112087249756, | |
0.006626304149627686, | |
0.0066119680404663084, | |
0.006687744140625, | |
0.006722559928894043, | |
0.006723584175109864, | |
0.00671123218536377, | |
0.006656000137329102, | |
0.006657023906707763, | |
0.006601727962493896, | |
0.006713344097137451, | |
0.006703104019165039, | |
0.006628352165222168, | |
0.006648831844329834, | |
0.006691840171813965, | |
0.006575104236602783, | |
0.006601727962493896, | |
0.006650879859924317, | |
0.006649856090545654, | |
0.00673689603805542, | |
0.006609951972961426, | |
0.006591487884521485, | |
0.006603775978088379, | |
0.0066416640281677245, | |
0.006635519981384277, | |
0.006619135856628418, | |
0.006688767910003662, | |
0.006689792156219483, | |
0.006710271835327148, | |
0.006758399963378906, | |
0.006721536159515381, | |
0.006723584175109864, | |
0.006709216117858886, | |
0.006657023906707763, | |
0.006822912216186523, | |
0.006915071964263916, | |
0.0069621758460998535, | |
0.006946815967559815, | |
0.006765567779541016, | |
0.006737919807434082, | |
0.0067051520347595215, | |
0.006663167953491211, | |
0.006694911956787109, | |
0.006726655960083008, | |
0.006560832023620605, | |
0.0062740478515625, | |
0.006305791854858398, | |
0.006348896026611328, | |
0.006363135814666748, | |
0.006755328178405762, | |
0.0067041277885437015, | |
0.006743040084838867, | |
0.006792128086090088, | |
0.006851583957672119, | |
0.006668288230895996, | |
0.006565887928009034, | |
0.00653004789352417, | |
0.006568960189819336, | |
0.0065771517753601075, | |
0.006917151927947998, | |
0.006584352016448975, | |
0.00658022403717041, | |
0.006552576065063476, | |
0.00658841609954834, | |
0.006586368083953857, | |
0.006665215969085693, | |
0.006552576065063476, | |
0.006559743881225586, | |
0.00653004789352417, | |
0.0065771517753601075, | |
0.006558720111846924, | |
0.006514656066894531, | |
0.006546432018280029, | |
0.006524928092956543, | |
0.006543360233306885, | |
0.006511616230010986, | |
0.0068689918518066405, | |
0.0066938881874084475, | |
0.00653926420211792, | |
0.006526976108551025, | |
0.006535168170928955, | |
0.006532095909118653, | |
0.006529024124145508, | |
0.006551551818847656, | |
0.006520832061767578, | |
0.00653107213973999, | |
0.006518784046173095, | |
0.006502399921417237, | |
0.006549503803253174, | |
0.006535168170928955, | |
0.0065075201988220215, | |
0.006526976108551025, | |
0.006535168170928955, | |
0.006603775978088379, | |
0.00653926420211792, | |
0.006518784046173095, | |
0.006508575916290283, | |
0.006551551818847656, | |
0.006511616230010986, | |
0.006515711784362793, | |
0.006532095909118653, | |
0.006493184089660644, | |
0.0065382399559021, | |
0.006525951862335205, | |
0.006509568214416504, | |
0.006560768127441406, | |
0.00652185583114624, | |
0.00652396821975708, | |
0.00653926420211792, | |
0.006527999877929688, | |
0.00652182388305664, | |
0.006500351905822754, | |
0.006501376152038574 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.21854136167192 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.606329359220305e-08, | |
"ram": 4.158749955454359e-08, | |
"gpu": 1.688445082948727e-07, | |
"total": 2.8649530144161935e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3490458.6391751883 | |
} | |
} | |
} | |
} |