
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e6b8e65
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.224-212.876.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.0", | |
"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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 867.835904, | |
"max_global_vram": 716.701696, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.2095263671875, | |
"mean": 8.2095263671875, | |
"stdev": 0.0, | |
"p50": 8.2095263671875, | |
"p90": 8.2095263671875, | |
"p95": 8.2095263671875, | |
"p99": 8.2095263671875, | |
"values": [ | |
8.2095263671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.326441043202876e-06, | |
"ram": 2.3267303355914536e-06, | |
"gpu": 5.176393029993065e-06, | |
"total": 1.1829564408787395e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1107.562496, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0010244145393374, | |
"mean": 0.0072538001053575165, | |
"stdev": 0.00018330414995990354, | |
"p50": 0.007197184085845947, | |
"p90": 0.007560396671295166, | |
"p95": 0.007627905631065369, | |
"p99": 0.0076855397987365725, | |
"values": [ | |
0.007356383800506592, | |
0.007392255783081054, | |
0.007402495861053467, | |
0.0073820161819458, | |
0.007362559795379638, | |
0.007336959838867187, | |
0.0072468481063842774, | |
0.007235583782196045, | |
0.007216127872467041, | |
0.007172095775604248, | |
0.007162879943847656, | |
0.007238656044006348, | |
0.007237631797790528, | |
0.007197696208953858, | |
0.007139328002929687, | |
0.007101439952850342, | |
0.007162879943847656, | |
0.007196671962738037, | |
0.00719974422454834, | |
0.007227392196655274, | |
0.007198719978332519, | |
0.007230463981628418, | |
0.0072468481063842774, | |
0.007154751777648926, | |
0.007132160186767578, | |
0.007178239822387696, | |
0.007215104103088379, | |
0.007372799873352051, | |
0.007291903972625732, | |
0.007290847778320312, | |
0.007286784172058106, | |
0.007163904190063477, | |
0.007208960056304932, | |
0.007237631797790528, | |
0.007214079856872559, | |
0.007207935810089112, | |
0.00723967981338501, | |
0.007109632015228271, | |
0.007127039909362793, | |
0.0071495680809020995, | |
0.007186431884765625, | |
0.007165952205657959, | |
0.007143424034118652, | |
0.0071823358535766605, | |
0.007159808158874512, | |
0.007681024074554443, | |
0.007658495903015137, | |
0.007688191890716553, | |
0.007642111778259277, | |
0.00758784008026123, | |
0.0075008001327514645, | |
0.007515135765075683, | |
0.007559167861938477, | |
0.007640063762664795, | |
0.007617536067962646, | |
0.007576576232910156, | |
0.007584767818450928, | |
0.007574528217315674, | |
0.007505919933319092, | |
0.007856128215789794, | |
0.007498752117156982, | |
0.0075632638931274416, | |
0.007625760078430176, | |
0.007479296207427978, | |
0.0074741759300231934, | |
0.007516160011291504, | |
0.007195648193359375, | |
0.007156735897064209, | |
0.007161856174468994, | |
0.007184383869171143, | |
0.007211008071899414, | |
0.007311295986175537, | |
0.007308288097381592, | |
0.007222271919250488, | |
0.007274496078491211, | |
0.00729702377319336, | |
0.007217152118682861, | |
0.007226367950439453, | |
0.007207935810089112, | |
0.007142399787902832, | |
0.007137279987335205, | |
0.007225344181060791, | |
0.007154687881469727, | |
0.00707583999633789, | |
0.0069928960800170895, | |
0.007192575931549072, | |
0.007235583782196045, | |
0.00714035177230835, | |
0.006847487926483154, | |
0.0067983360290527345, | |
0.006830080032348633, | |
0.007182240009307861, | |
0.007391232013702393, | |
0.0075008001327514645, | |
0.007480319976806641, | |
0.00753868818283081, | |
0.007672832012176513, | |
0.007451648235321045, | |
0.007370751857757568, | |
0.007207935810089112, | |
0.007110623836517334, | |
0.007143424034118652, | |
0.00714035177230835, | |
0.007145472049713135, | |
0.007142399787902832, | |
0.007113728046417236, | |
0.007162816047668457, | |
0.007135231971740722, | |
0.0071905279159545895, | |
0.007114751815795899, | |
0.007073791980743408, | |
0.007136256217956543, | |
0.007109632015228271, | |
0.007096352100372315, | |
0.00707583999633789, | |
0.007113728046417236, | |
0.007138304233551026, | |
0.007127039909362793, | |
0.007106560230255127, | |
0.007096320152282715, | |
0.007109632015228271, | |
0.007112768173217774, | |
0.007123968124389648, | |
0.007131135940551757, | |
0.007101439952850342, | |
0.007135231971740722, | |
0.007300096035003662, | |
0.007163904190063477, | |
0.007146495819091797, | |
0.007192575931549072, | |
0.007260159969329834, | |
0.007126016139984131, | |
0.007147520065307617, | |
0.007139328002929687, | |
0.007114751815795899, | |
0.007108640193939209, | |
0.007090176105499267, | |
0.007095295906066895 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.85877546603737 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.104587043268176e-08, | |
"ram": 4.4283464443282605e-08, | |
"gpu": 1.8276469647595178e-07, | |
"total": 3.080940313519161e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3245762.3265598547 | |
} | |
} | |
} | |
} |