
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
328425a
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 791.048192, | |
"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.44278125, | |
"mean": 7.44278125, | |
"stdev": 0.0, | |
"p50": 7.44278125, | |
"p90": 7.44278125, | |
"p95": 7.44278125, | |
"p99": 7.44278125, | |
"values": [ | |
7.44278125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.326188191666821e-06, | |
"ram": 2.3551537545278816e-06, | |
"gpu": 6.710560923999897e-06, | |
"total": 1.33919028701946e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 977.854464, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.9965809955596924, | |
"mean": 0.006733655375403327, | |
"stdev": 0.00019533035236736534, | |
"p50": 0.006739968061447143, | |
"p90": 0.006983270406723023, | |
"p95": 0.007012587308883667, | |
"p99": 0.007048734622001648, | |
"values": [ | |
0.00687718391418457, | |
0.006846464157104492, | |
0.006939648151397705, | |
0.006884352207183838, | |
0.0067983360290527345, | |
0.006872064113616944, | |
0.006838272094726563, | |
0.006738944053649902, | |
0.006726655960083008, | |
0.006738944053649902, | |
0.006740992069244385, | |
0.006761472225189209, | |
0.006691840171813965, | |
0.00658841609954834, | |
0.006643712043762207, | |
0.006756351947784424, | |
0.0067276802062988285, | |
0.006779903888702392, | |
0.006788095951080322, | |
0.006713344097137451, | |
0.006802432060241699, | |
0.006619135856628418, | |
0.006709248065948486, | |
0.006800384044647217, | |
0.006747039794921875, | |
0.00672873592376709, | |
0.006977536201477051, | |
0.006973440170288086, | |
0.006916096210479736, | |
0.0069201278686523435, | |
0.006982624053955078, | |
0.006982656002044678, | |
0.00687820816040039, | |
0.006884352207183838, | |
0.006889472007751465, | |
0.006859776020050049, | |
0.0069027838706970214, | |
0.006858751773834228, | |
0.0069253120422363285, | |
0.006899712085723877, | |
0.0069847040176391605, | |
0.007019487857818604, | |
0.007047167778015137, | |
0.006957056045532227, | |
0.006998015880584717, | |
0.006909952163696289, | |
0.006915071964263916, | |
0.007009280204772949, | |
0.006973440170288086, | |
0.006967296123504638, | |
0.007015423774719238, | |
0.006907904148101806, | |
0.0068986878395080565, | |
0.00692633581161499, | |
0.0069027838706970214, | |
0.006949888229370117, | |
0.007048192024230957, | |
0.0068884482383728025, | |
0.0069539198875427245, | |
0.006918144226074219, | |
0.006953983783721924, | |
0.006884352207183838, | |
0.0070143680572509765, | |
0.006989823818206787, | |
0.007009280204772949, | |
0.007050240039825439, | |
0.007049215793609619, | |
0.006982624053955078, | |
0.006988800048828125, | |
0.006971392154693603, | |
0.0068392958641052244, | |
0.006905856132507324, | |
0.006930431842803955, | |
0.0070266880989074704, | |
0.006840320110321045, | |
0.006829055786132812, | |
0.0067010560035705566, | |
0.006783999919891357, | |
0.006945792198181152, | |
0.006650879859924317, | |
0.00658841609954834, | |
0.006589439868927002, | |
0.006649856090545654, | |
0.0065710082054138185, | |
0.006850560188293457, | |
0.006883327960968018, | |
0.006859776020050049, | |
0.006883327960968018, | |
0.006889472007751465, | |
0.006986752033233643, | |
0.0068884482383728025, | |
0.006636544227600098, | |
0.006553599834442139, | |
0.00657919979095459, | |
0.00655456018447876, | |
0.006551551818847656, | |
0.006546432018280029, | |
0.006533120155334473, | |
0.0065771517753601075, | |
0.0065443840026855465, | |
0.006573056221008301, | |
0.006594560146331787, | |
0.006555647850036621, | |
0.006525951862335205, | |
0.006498303890228272, | |
0.006494207859039307, | |
0.006527999877929688, | |
0.006524928092956543, | |
0.006576128005981445, | |
0.006524928092956543, | |
0.00653926420211792, | |
0.006504447937011719, | |
0.006535168170928955, | |
0.00653107213973999, | |
0.0065075201988220215, | |
0.006502399921417237, | |
0.006552576065063476, | |
0.006505472183227539, | |
0.006520832061767578, | |
0.006526976108551025, | |
0.006555647850036621, | |
0.006512639999389648, | |
0.0065443840026855465, | |
0.00657203197479248, | |
0.006525951862335205, | |
0.0064542717933654785, | |
0.006452223777770996, | |
0.006391808032989502, | |
0.006440959930419922, | |
0.006429696083068847, | |
0.006478847980499268, | |
0.006470655918121338, | |
0.006498303890228272, | |
0.0065669121742248536, | |
0.00653107213973999, | |
0.006467584133148193, | |
0.006482944011688232, | |
0.006519807815551758, | |
0.006416384220123291, | |
0.0065177597999572755, | |
0.006445055961608887, | |
0.006469632148742676, | |
0.00653926420211792, | |
0.0065443840026855465, | |
0.006518784046173095, | |
0.006554624080657959, | |
0.006503424167633057, | |
0.00658841609954834 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.50774865206148 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.676073414874692e-08, | |
"ram": 4.196881576958399e-08, | |
"gpu": 1.7053597872258047e-07, | |
"total": 2.8926552864091137e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3457031.346591528 | |
} | |
} | |
} | |
} |