
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
646f8bd
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.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": 853.991424, | |
"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.6407314453125, | |
"mean": 7.6407314453125, | |
"stdev": 0.0, | |
"p50": 7.6407314453125, | |
"p90": 7.6407314453125, | |
"p95": 7.6407314453125, | |
"p99": 7.6407314453125, | |
"values": [ | |
7.6407314453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.3157475944445725e-06, | |
"ram": 2.3494923902742594e-06, | |
"gpu": 6.626394190000114e-06, | |
"total": 1.3291634174718946e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.419008, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9997134079933166, | |
"mean": 0.007297178160535158, | |
"stdev": 0.00028314571651570067, | |
"p50": 0.007184544086456299, | |
"p90": 0.007599366474151611, | |
"p95": 0.007740006351470946, | |
"p99": 0.008159641914367674, | |
"values": [ | |
0.007813119888305664, | |
0.007822336196899414, | |
0.00820019245147705, | |
0.0077281279563903805, | |
0.007684095859527588, | |
0.007628799915313721, | |
0.00754585599899292, | |
0.00759500789642334, | |
0.007589888095855713, | |
0.0075335679054260255, | |
0.007544928073883057, | |
0.007520256042480469, | |
0.007514111995697022, | |
0.007419072151184082, | |
0.007483391761779785, | |
0.007525375843048096, | |
0.00799232006072998, | |
0.008087552070617676, | |
0.0075989441871643065, | |
0.007582719802856445, | |
0.0074678721427917484, | |
0.007787519931793213, | |
0.007550975799560547, | |
0.007539711952209473, | |
0.0075939841270446775, | |
0.00759500789642334, | |
0.007577600002288819, | |
0.007477248191833496, | |
0.007507967948913574, | |
0.007617536067962646, | |
0.007498752117156982, | |
0.007554048061370849, | |
0.007494656085968018, | |
0.007479296207427978, | |
0.00754585599899292, | |
0.007162879943847656, | |
0.007130112171173096, | |
0.007097343921661377, | |
0.007139328002929687, | |
0.007255040168762207, | |
0.00719974422454834, | |
0.00722441577911377, | |
0.007242847919464111, | |
0.007184544086456299, | |
0.007171072006225586, | |
0.007207839965820312, | |
0.007188672065734863, | |
0.0072878398895263674, | |
0.0071792640686035155, | |
0.007192575931549072, | |
0.007116799831390381, | |
0.007107583999633789, | |
0.007139488220214844, | |
0.00704099178314209, | |
0.007065599918365479, | |
0.007154687881469727, | |
0.0071792640686035155, | |
0.007237631797790528, | |
0.007323584079742432, | |
0.008427455902099609, | |
0.007528448104858398, | |
0.00749567985534668, | |
0.007480319976806641, | |
0.007461696147918701, | |
0.007552000045776367, | |
0.007580671787261963, | |
0.007685120105743408, | |
0.007641088008880615, | |
0.007599999904632568, | |
0.0075675520896911624, | |
0.007510015964508057, | |
0.007536640167236328, | |
0.007493631839752197, | |
0.007049215793609619, | |
0.007160672187805176, | |
0.007080927848815918, | |
0.0070553598403930665, | |
0.007050240039825439, | |
0.0067983360290527345, | |
0.0069632000923156735, | |
0.007143424034118652, | |
0.006907904148101806, | |
0.006759424209594727, | |
0.00679423999786377, | |
0.006754303932189941, | |
0.007294976234436036, | |
0.007258207798004151, | |
0.007316480159759522, | |
0.007290880203247071, | |
0.0075253119468688965, | |
0.0075632638931274416, | |
0.007226367950439453, | |
0.007120895862579346, | |
0.007101439952850342, | |
0.0071188478469848635, | |
0.007103487968444824, | |
0.007083168029785156, | |
0.007115935802459717, | |
0.007130303859710693, | |
0.007134208202362061, | |
0.007103487968444824, | |
0.007054368019104004, | |
0.007090176105499267, | |
0.007097311973571777, | |
0.007081952095031738, | |
0.007049215793609619, | |
0.007055424213409424, | |
0.007194719791412354, | |
0.00707583999633789, | |
0.0070594558715820314, | |
0.007110688209533691, | |
0.007150591850280762, | |
0.0071495680809020995, | |
0.007156735897064209, | |
0.007198719978332519, | |
0.007078911781311035, | |
0.007073631763458252, | |
0.007047167778015137, | |
0.0070594558715820314, | |
0.007047071933746338, | |
0.007121920108795166, | |
0.007144447803497315, | |
0.007145472049713135, | |
0.007087103843688965, | |
0.007036928176879883, | |
0.007060480117797851, | |
0.007066624164581299, | |
0.007089312076568603, | |
0.007070720195770264, | |
0.007064576148986816, | |
0.0070635838508605955, | |
0.007089056015014648, | |
0.007058432102203369, | |
0.0070442562103271485, | |
0.00707257604598999, | |
0.007057407855987549, | |
0.007117824077606201 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.03927436063344 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.301020985334606e-08, | |
"ram": 4.538465000990733e-08, | |
"gpu": 1.7593642668531475e-07, | |
"total": 3.0433128654856816e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3285892.8549247603 | |
} | |
} | |
} | |
} |