
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d98b86b
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.1", | |
"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.303296, | |
"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.6862412109375, | |
"mean": 7.6862412109375, | |
"stdev": 0.0, | |
"p50": 7.6862412109375, | |
"p90": 7.6862412109375, | |
"p95": 7.6862412109375, | |
"p99": 7.6862412109375, | |
"values": [ | |
7.6862412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.293336447221366e-06, | |
"ram": 2.337443881540917e-06, | |
"gpu": 4.649170385999379e-06, | |
"total": 1.1279950714761661e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.56704, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0019696011543273, | |
"mean": 0.0073136467237542154, | |
"stdev": 0.00021667852682142182, | |
"p50": 0.00727347183227539, | |
"p90": 0.007580019187927246, | |
"p95": 0.007670783996582031, | |
"p99": 0.007699332942962646, | |
"values": [ | |
0.007705599784851074, | |
0.007684031963348389, | |
0.007688191890716553, | |
0.0076687359809875484, | |
0.007717855930328369, | |
0.00758681583404541, | |
0.007575488090515137, | |
0.007510015964508057, | |
0.007468031883239746, | |
0.007465983867645264, | |
0.007473152160644531, | |
0.007457791805267334, | |
0.007346176147460938, | |
0.007362559795379638, | |
0.007455743789672851, | |
0.007436287879943848, | |
0.007605247974395752, | |
0.0075632638931274416, | |
0.007531519889831543, | |
0.007483391761779785, | |
0.007460864067077637, | |
0.007464960098266602, | |
0.007574528217315674, | |
0.007525375843048096, | |
0.007544832229614258, | |
0.007520256042480469, | |
0.007521279811859131, | |
0.007481344223022461, | |
0.007484416007995606, | |
0.007528448104858398, | |
0.007494656085968018, | |
0.0074332160949707035, | |
0.007387135982513428, | |
0.0073820161819458, | |
0.007431168079376221, | |
0.007445504188537597, | |
0.00743833589553833, | |
0.007417856216430664, | |
0.007488448143005371, | |
0.007682047843933106, | |
0.0076871681213378906, | |
0.007546879768371582, | |
0.007678976058959961, | |
0.007546879768371582, | |
0.007479296207427978, | |
0.007517183780670166, | |
0.007631872177124023, | |
0.007535615921020508, | |
0.0075008001327514645, | |
0.007589888095855713, | |
0.007481344223022461, | |
0.007400447845458984, | |
0.007436287879943848, | |
0.007437312126159668, | |
0.007535615921020508, | |
0.00748038387298584, | |
0.007406559944152832, | |
0.007481344223022461, | |
0.00749567985534668, | |
0.00713318395614624, | |
0.007170048236846924, | |
0.007170080184936523, | |
0.007153664112091064, | |
0.007252992153167725, | |
0.00727347183227539, | |
0.007241727828979493, | |
0.007269375801086426, | |
0.007165952205657959, | |
0.007601151943206787, | |
0.0075304961204528805, | |
0.007513088226318359, | |
0.007160831928253173, | |
0.007209983825683594, | |
0.007094272136688232, | |
0.007072768211364746, | |
0.00694271993637085, | |
0.007135231971740722, | |
0.00725708818435669, | |
0.006936575889587402, | |
0.006846464157104492, | |
0.0068392958641052244, | |
0.006852608203887939, | |
0.00722431993484497, | |
0.007548927783966064, | |
0.007484416007995606, | |
0.007456831932067871, | |
0.007507967948913574, | |
0.007605247974395752, | |
0.00734822416305542, | |
0.007097343921661377, | |
0.007128064155578613, | |
0.007130112171173096, | |
0.007154687881469727, | |
0.007143424034118652, | |
0.0071157760620117185, | |
0.007234560012817383, | |
0.007136256217956543, | |
0.007122943878173828, | |
0.007160831928253173, | |
0.007093247890472412, | |
0.007122943878173828, | |
0.007068672180175781, | |
0.007102464199066162, | |
0.007113728046417236, | |
0.0070829758644104, | |
0.007097343921661377, | |
0.007105535984039306, | |
0.007106560230255127, | |
0.007073791980743408, | |
0.007122943878173828, | |
0.007093247890472412, | |
0.007109632015228271, | |
0.007120895862579346, | |
0.007104512214660645, | |
0.0071198720932006835, | |
0.007094272136688232, | |
0.007159808158874512, | |
0.007088128089904785, | |
0.007161856174468994, | |
0.007095295906066895, | |
0.00724889612197876, | |
0.007129087924957276, | |
0.007063551902770996, | |
0.007132160186767578, | |
0.007122943878173828, | |
0.007108607769012451, | |
0.007122943878173828, | |
0.007102464199066162, | |
0.007109632015228271, | |
0.00709939193725586, | |
0.007117824077606201, | |
0.007076863765716553, | |
0.007106560230255127, | |
0.007101439952850342, | |
0.007113728046417236, | |
0.0071178879737854, | |
0.007072768211364746 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.73069506516765 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.301296492327297e-08, | |
"ram": 4.538765211615237e-08, | |
"gpu": 1.6637930948251676e-07, | |
"total": 2.947799265219421e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3392361.2499630786 | |
} | |
} | |
} | |
} |