
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2a3ea04
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.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 | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 868.691968, | |
"max_global_vram": 674.758656, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.35916595458984374 | |
], | |
"count": 1, | |
"total": 0.35916595458984374, | |
"mean": 0.35916595458984374, | |
"p50": 0.35916595458984374, | |
"p90": 0.35916595458984374, | |
"p95": 0.35916595458984374, | |
"p99": 0.35916595458984374, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.233664, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007875584125518798, | |
0.007560192108154297, | |
0.007507008075714111, | |
0.007482367992401123, | |
0.007573503971099854, | |
0.007555071830749512, | |
0.007490560054779053, | |
0.0075970559120178225, | |
0.007623616218566894, | |
0.0075304961204528805, | |
0.007659520149230957, | |
0.007672832012176513, | |
0.007579648017883301, | |
0.007607327938079834, | |
0.007611392021179199, | |
0.007489535808563232, | |
0.0075673599243164065, | |
0.007677951812744141, | |
0.007592959880828858, | |
0.007619584083557129, | |
0.00760319995880127, | |
0.0075304961204528805, | |
0.007614463806152344, | |
0.007521279811859131, | |
0.007459839820861816, | |
0.007582719802856445, | |
0.007589888095855713, | |
0.007596960067749023, | |
0.007515135765075683, | |
0.0075335679054260255, | |
0.007532544136047363, | |
0.007526400089263916, | |
0.007553023815155029, | |
0.007490560054779053, | |
0.008013824462890624, | |
0.007628799915313721, | |
0.007688191890716553, | |
0.007889887809753419, | |
0.008004608154296875, | |
0.0076267518997192385, | |
0.007617536067962646, | |
0.0076277761459350585, | |
0.007581696033477783, | |
0.007574528217315674, | |
0.007562240123748779, | |
0.0074670081138610836, | |
0.007566304206848145, | |
0.007472127914428711, | |
0.007497727870941162, | |
0.007457791805267334, | |
0.0074189119338989255, | |
0.007504896163940429, | |
0.007443456172943115, | |
0.007221183776855469, | |
0.007123968124389648, | |
0.007267327785491944, | |
0.006978559970855713, | |
0.006970367908477783, | |
0.007008255958557129, | |
0.007013376235961914, | |
0.007132160186767578, | |
0.007142399787902832, | |
0.007177216053009033, | |
0.007275519847869873, | |
0.0071690878868103025, | |
0.007096320152282715, | |
0.007113728046417236, | |
0.0071188478469848635, | |
0.0070594558715820314, | |
0.007458816051483155, | |
0.007093247890472412, | |
0.007072768211364746, | |
0.007124032020568848, | |
0.007013376235961914, | |
0.0070256638526916505, | |
0.007037951946258545, | |
0.007096255779266357, | |
0.007061503887176514, | |
0.007172095775604248, | |
0.007067647933959961, | |
0.007000063896179199, | |
0.006965248107910156, | |
0.007038976192474365, | |
0.0070594558715820314, | |
0.007072768211364746, | |
0.007094272136688232, | |
0.007071743965148926, | |
0.007063488006591797, | |
0.007095295906066895, | |
0.00707583999633789, | |
0.0070860800743103025, | |
0.007110655784606934, | |
0.007090176105499267, | |
0.007078911781311035, | |
0.007102464199066162, | |
0.007078911781311035, | |
0.007080959796905518, | |
0.007096320152282715, | |
0.007064576148986816, | |
0.007063551902770996, | |
0.007102464199066162, | |
0.007066624164581299, | |
0.007072768211364746, | |
0.007100319862365723, | |
0.007058432102203369, | |
0.007061503887176514, | |
0.007073760032653809, | |
0.00708403205871582, | |
0.0070594558715820314, | |
0.007081984043121338, | |
0.0071485438346862796, | |
0.007095295906066895, | |
0.007098368167877197, | |
0.007069695949554444, | |
0.007072768211364746, | |
0.007039999961853028, | |
0.0070860800743103025, | |
0.007039999961853028, | |
0.007080895900726318, | |
0.0070553598403930665, | |
0.007077888011932373, | |
0.007070720195770264, | |
0.007102464199066162, | |
0.0070860800743103025, | |
0.007076863765716553, | |
0.007081952095031738, | |
0.007060480117797851, | |
0.007098368167877197, | |
0.007095295906066895, | |
0.007087103843688965, | |
0.007061503887176514, | |
0.00704204797744751, | |
0.007058432102203369, | |
0.007064576148986816, | |
0.007071743965148926, | |
0.007047167778015137, | |
0.007064576148986816 | |
], | |
"count": 137, | |
"total": 0.997444223880768, | |
"mean": 0.007280614772852321, | |
"p50": 0.007102464199066162, | |
"p90": 0.007615692710876465, | |
"p95": 0.007662182521820068, | |
"p99": 0.00796330883026123, | |
"stdev": 0.0002605563116907675, | |
"stdev_": 3.578767999954069 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.35103850416067 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.542284680256186e-08, | |
"ram": 4.667834889573121e-08, | |
"gpu": 1.7332947519424306e-07, | |
"total": 3.0543067089253614e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3274065.4272793834 | |
} | |
} | |
} | |
} |