
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2d82439
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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.82304, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.35805081176757814 | |
], | |
"count": 1, | |
"total": 0.35805081176757814, | |
"mean": 0.35805081176757814, | |
"p50": 0.35805081176757814, | |
"p90": 0.35805081176757814, | |
"p95": 0.35805081176757814, | |
"p99": 0.35805081176757814, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.42208, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007426047801971435, | |
0.007051263809204102, | |
0.007066720008850098, | |
0.007076863765716553, | |
0.007085055828094483, | |
0.007116799831390381, | |
0.0071157760620117185, | |
0.007109632015228271, | |
0.007078911781311035, | |
0.007113728046417236, | |
0.007238656044006348, | |
0.00722431993484497, | |
0.007227424144744873, | |
0.007163904190063477, | |
0.007169023990631103, | |
0.0071188478469848635, | |
0.007050240039825439, | |
0.007079936027526855, | |
0.0071874880790710445, | |
0.007205887794494629, | |
0.007130112171173096, | |
0.007155712127685547, | |
0.007131135940551757, | |
0.007058464050292969, | |
0.0070236802101135256, | |
0.00709222412109375, | |
0.007108607769012451, | |
0.007071743965148926, | |
0.00719974422454834, | |
0.007078911781311035, | |
0.007072768211364746, | |
0.00709119987487793, | |
0.007078911781311035, | |
0.007087103843688965, | |
0.007085055828094483, | |
0.007131135940551757, | |
0.00707692813873291, | |
0.0071833600997924804, | |
0.007215104103088379, | |
0.007224256038665771, | |
0.00719155216217041, | |
0.007180223941802979, | |
0.00719155216217041, | |
0.007130112171173096, | |
0.007194623947143554, | |
0.007138304233551026, | |
0.0070225920677185055, | |
0.007117824077606201, | |
0.007113728046417236, | |
0.007013376235961914, | |
0.007024640083312988, | |
0.006873087882995605, | |
0.006931456089019775, | |
0.007104512214660645, | |
0.0068986878395080565, | |
0.0067348480224609375, | |
0.006759424209594727, | |
0.006773759841918945, | |
0.007134208202362061, | |
0.007300096035003662, | |
0.007187520027160645, | |
0.007247871875762939, | |
0.007379968166351319, | |
0.007510015964508057, | |
0.007237631797790528, | |
0.007180287837982178, | |
0.0071485438346862796, | |
0.007176224231719971, | |
0.007151616096496582, | |
0.007063551902770996, | |
0.0070891518592834475, | |
0.007095295906066895, | |
0.007146463871002197, | |
0.00714035177230835, | |
0.007023615837097168, | |
0.007057407855987549, | |
0.007066624164581299, | |
0.007073791980743408, | |
0.007011328220367432, | |
0.007048192024230957, | |
0.007071743965148926, | |
0.0070563840866088865, | |
0.006987775802612305, | |
0.006969344139099121, | |
0.007005184173583984, | |
0.007017471790313721, | |
0.006979584217071533, | |
0.007011328220367432, | |
0.00700819206237793, | |
0.007006207942962647, | |
0.006987775802612305, | |
0.00703385591506958, | |
0.006993919849395752, | |
0.007024640083312988, | |
0.007010303974151612, | |
0.006970367908477783, | |
0.006999040126800537, | |
0.006980607986450196, | |
0.006994944095611572, | |
0.006988831996917725, | |
0.006993919849395752, | |
0.0069847040176391605, | |
0.006985727787017822, | |
0.006980607986450196, | |
0.006982656002044678, | |
0.0070225920677185055, | |
0.007024640083312988, | |
0.00698367977142334, | |
0.006979584217071533, | |
0.006989823818206787, | |
0.0069959678649902345, | |
0.006974431991577148, | |
0.007018496036529541, | |
0.007014400005340577, | |
0.007013376235961914, | |
0.006994944095611572, | |
0.006987775802612305, | |
0.007155712127685547, | |
0.007074816226959229, | |
0.007006207942962647, | |
0.007011328220367432, | |
0.0069928960800170895, | |
0.007010303974151612, | |
0.006979584217071533, | |
0.006989823818206787, | |
0.006967296123504638, | |
0.007006207942962647, | |
0.006967296123504638, | |
0.007008255958557129, | |
0.0069816322326660156, | |
0.007014400005340577, | |
0.006985727787017822, | |
0.0069816322326660156, | |
0.006982656002044678, | |
0.006989823818206787, | |
0.0070256638526916505, | |
0.006969344139099121, | |
0.006987775802612305, | |
0.007008255958557129, | |
0.006996992111206054, | |
0.006977536201477051 | |
], | |
"count": 141, | |
"total": 0.9961627526283265, | |
"mean": 0.007064984061193803, | |
"p50": 0.007050240039825439, | |
"p90": 0.00719155216217041, | |
"p95": 0.007227424144744873, | |
"p99": 0.007407615947723389, | |
"stdev": 0.00010780146561093238, | |
"stdev_": 1.525855751084549 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 141.5431360266969 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.291812462121342e-08, | |
"ram": 4.5308527303905334e-08, | |
"gpu": 1.6735833124475503e-07, | |
"total": 2.9558498316987376e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3383121.798935558 | |
} | |
} | |
} | |
} |