
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5938af5
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16 | |
}, | |
"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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 884.38784, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.36038961791992186 | |
], | |
"count": 1, | |
"total": 0.36038961791992186, | |
"mean": 0.36038961791992186, | |
"p50": 0.36038961791992186, | |
"p90": 0.36038961791992186, | |
"p95": 0.36038961791992186, | |
"p99": 0.36038961791992186, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1127.047168, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.00740342378616333, | |
0.007290880203247071, | |
0.00739737606048584, | |
0.0071188478469848635, | |
0.007112703800201416, | |
0.0070860800743103025, | |
0.007356416225433349, | |
0.007363584041595459, | |
0.007310336112976074, | |
0.00742195177078247, | |
0.007373824119567871, | |
0.007351295948028564, | |
0.007357439994812012, | |
0.007324672222137451, | |
0.007370751857757568, | |
0.007320576190948487, | |
0.007575551986694336, | |
0.007516287803649903, | |
0.007870463848114014, | |
0.007475200176239013, | |
0.007432191848754883, | |
0.0074422721862792965, | |
0.007400447845458984, | |
0.0073994240760803225, | |
0.0072930240631103515, | |
0.007429152011871338, | |
0.007432191848754883, | |
0.007449600219726562, | |
0.007408639907836914, | |
0.0075642881393432615, | |
0.007404543876647949, | |
0.007292960166931152, | |
0.007372799873352051, | |
0.007366720199584961, | |
0.007449600219726562, | |
0.007319519996643067, | |
0.007413760185241699, | |
0.007642111778259277, | |
0.007550975799560547, | |
0.007290880203247071, | |
0.0073062400817871095, | |
0.007367680072784424, | |
0.007738527774810791, | |
0.00734822416305542, | |
0.007322783946990967, | |
0.007409664154052734, | |
0.007436287879943848, | |
0.00733081579208374, | |
0.0074332160949707035, | |
0.007490367889404297, | |
0.007715839862823487, | |
0.007458816051483155, | |
0.007543647766113281, | |
0.007513088226318359, | |
0.0073994240760803225, | |
0.0073350720405578615, | |
0.007432191848754883, | |
0.00738099193572998, | |
0.007307295799255371, | |
0.007325664043426514, | |
0.007336031913757324, | |
0.007202816009521484, | |
0.007284736156463623, | |
0.0072765440940856935, | |
0.00727347183227539, | |
0.007237664222717285, | |
0.007103487968444824, | |
0.007054240226745606, | |
0.007181312084197998, | |
0.007238656044006348, | |
0.007169023990631103, | |
0.007398399829864502, | |
0.00734009599685669, | |
0.007572480201721191, | |
0.00734611177444458, | |
0.00745462417602539, | |
0.0071485438346862796, | |
0.007147520065307617, | |
0.007041024208068848, | |
0.007093279838562012, | |
0.007030784130096435, | |
0.007079936027526855, | |
0.007007328033447266, | |
0.007097343921661377, | |
0.007054336071014404, | |
0.007011328220367432, | |
0.007070816040039062, | |
0.007110655784606934, | |
0.007057407855987549, | |
0.006993919849395752, | |
0.006966271877288818, | |
0.007051231861114502, | |
0.0070594558715820314, | |
0.007028736114501953, | |
0.0070348801612854, | |
0.007012351989746094, | |
0.006993919849395752, | |
0.0070348801612854, | |
0.0069621758460998535, | |
0.006919136047363281, | |
0.006933504104614257, | |
0.006993919849395752, | |
0.006957056045532227, | |
0.006921279907226563, | |
0.006950975894927979, | |
0.007159808158874512, | |
0.006960127830505371, | |
0.006863872051239014, | |
0.006867968082427979, | |
0.006918144226074219, | |
0.00693452787399292, | |
0.006928480148315429, | |
0.006966271877288818, | |
0.006952960014343262, | |
0.006952032089233399, | |
0.007007232189178467, | |
0.006976511955261231, | |
0.006958079814910889, | |
0.00693555212020874, | |
0.007069695949554444, | |
0.007003136157989502, | |
0.006936575889587402, | |
0.006973440170288086, | |
0.00694271993637085, | |
0.007009280204772949, | |
0.0070174078941345214, | |
0.0069816322326660156, | |
0.006957056045532227, | |
0.007225344181060791, | |
0.007290880203247071, | |
0.007106560230255127, | |
0.007046144008636474, | |
0.006947840213775635, | |
0.006959072113037109, | |
0.007047167778015137, | |
0.006951935768127441, | |
0.006938623905181885, | |
0.007034848213195801, | |
0.006961152076721191 | |
], | |
"count": 139, | |
"total": 1.0023643856048583, | |
"mean": 0.0072112545726968225, | |
"p50": 0.007225344181060791, | |
"p90": 0.007455462551116943, | |
"p95": 0.007552307033538818, | |
"p99": 0.007729906368255616, | |
"stdev": 0.0002181962382142712, | |
"stdev_": 3.0257736155980894 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 277.34425124476667 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.37783400772624e-08, | |
"ram": 4.566140291119948e-08, | |
"gpu": 1.9882253777465022e-07, | |
"total": 3.282622807631121e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6092689.039235928 | |
} | |
} | |
} | |
} |