
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
23a5dea
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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 852.80768, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.72866748046875, | |
"mean": 7.72866748046875, | |
"stdev": 0.0, | |
"p50": 7.72866748046875, | |
"p90": 7.72866748046875, | |
"p95": 7.72866748046875, | |
"p99": 7.72866748046875, | |
"values": [ | |
7.72866748046875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.294992766667131e-06, | |
"ram": 2.3383138901378206e-06, | |
"gpu": 6.490838526000101e-06, | |
"total": 1.3124145182805053e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.169152, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.9969145593643189, | |
"mean": 0.0072240185461182535, | |
"stdev": 0.00018788422723972124, | |
"p50": 0.007144959926605224, | |
"p90": 0.007492505598068237, | |
"p95": 0.007546931171417237, | |
"p99": 0.007673661484718322, | |
"values": [ | |
0.0074670081138610836, | |
0.007263232231140137, | |
0.007281727790832519, | |
0.007280640125274658, | |
0.007250944137573242, | |
0.007194623947143554, | |
0.007187456130981445, | |
0.007165952205657959, | |
0.007104512214660645, | |
0.007061503887176514, | |
0.007144447803497315, | |
0.007120895862579346, | |
0.007039968013763428, | |
0.006972415924072266, | |
0.007003071784973144, | |
0.007004159927368164, | |
0.0070891518592834475, | |
0.007180287837982178, | |
0.007145472049713135, | |
0.007159808158874512, | |
0.0070522880554199216, | |
0.00703385591506958, | |
0.007078911781311035, | |
0.007158783912658692, | |
0.007120895862579346, | |
0.007120895862579346, | |
0.007150591850280762, | |
0.007095295906066895, | |
0.007046144008636474, | |
0.007057407855987549, | |
0.007189504146575928, | |
0.007218175888061523, | |
0.007216127872467041, | |
0.007121920108795166, | |
0.0069816322326660156, | |
0.007030720233917236, | |
0.007111680030822754, | |
0.007124991893768311, | |
0.007130112171173096, | |
0.007127039909362793, | |
0.007156735897064209, | |
0.007501823902130127, | |
0.00754585599899292, | |
0.007511040210723877, | |
0.007516160011291504, | |
0.007422976016998291, | |
0.007383103847503662, | |
0.0074301438331604, | |
0.007525375843048096, | |
0.0074711360931396485, | |
0.007477248191833496, | |
0.007706624031066894, | |
0.007434304237365723, | |
0.007352320194244385, | |
0.007710720062255859, | |
0.0073564801216125485, | |
0.007525375843048096, | |
0.007488512039184571, | |
0.007387135982513428, | |
0.007377920150756836, | |
0.007436287879943848, | |
0.00742195177078247, | |
0.007390207767486572, | |
0.007396383762359619, | |
0.007522304058074952, | |
0.007572480201721191, | |
0.007617536067962646, | |
0.007557119846343994, | |
0.007553023815155029, | |
0.00745472002029419, | |
0.007455743789672851, | |
0.007457791805267334, | |
0.007341055870056152, | |
0.007440447807312012, | |
0.007393280029296875, | |
0.007314432144165039, | |
0.007445504188537597, | |
0.007201791763305664, | |
0.007387135982513428, | |
0.007398399829864502, | |
0.007101439952850342, | |
0.007050240039825439, | |
0.007019519805908203, | |
0.007479296207427978, | |
0.007366655826568603, | |
0.007404543876647949, | |
0.007411712169647216, | |
0.00745472002029419, | |
0.007576576232910156, | |
0.007449600219726562, | |
0.0071751360893249514, | |
0.007138304233551026, | |
0.007099455833435059, | |
0.00703385591506958, | |
0.007072768211364746, | |
0.006947840213775635, | |
0.006973440170288086, | |
0.006980607986450196, | |
0.007005152225494385, | |
0.007039040088653564, | |
0.007137311935424805, | |
0.007079936027526855, | |
0.007044159889221192, | |
0.007138304233551026, | |
0.007035903930664063, | |
0.007189504146575928, | |
0.0073697280883789065, | |
0.007117824077606201, | |
0.007061503887176514, | |
0.00710041618347168, | |
0.007158783912658692, | |
0.007072768211364746, | |
0.007090176105499267, | |
0.0070860800743103025, | |
0.007065599918365479, | |
0.007113728046417236, | |
0.007029759883880615, | |
0.0070830078125, | |
0.007047167778015137, | |
0.007061503887176514, | |
0.007031807899475098, | |
0.007041024208068848, | |
0.007047167778015137, | |
0.007116799831390381, | |
0.007076863765716553, | |
0.007067647933959961, | |
0.007401472091674805, | |
0.007074816226959229, | |
0.007136256217956543, | |
0.0070348801612854, | |
0.007035903930664063, | |
0.007061503887176514, | |
0.007080959796905518, | |
0.007147520065307617, | |
0.007120895862579346, | |
0.007126016139984131, | |
0.007037951946258545, | |
0.0070891518592834475 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.4271086260346 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.952957597408615e-08, | |
"ram": 4.3482267609984776e-08, | |
"gpu": 1.6788976891275115e-07, | |
"total": 2.909016124968221e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3437588.3702292102 | |
} | |
} | |
} | |
} |