
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
16befd3
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.43.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 789.393408, | |
"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.43830322265625, | |
"mean": 7.43830322265625, | |
"stdev": 0.0, | |
"p50": 7.43830322265625, | |
"p90": 7.43830322265625, | |
"p95": 7.43830322265625, | |
"p99": 7.43830322265625, | |
"values": [ | |
7.43830322265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.371164761111067e-06, | |
"ram": 2.3526264928783313e-06, | |
"gpu": 4.825837193999966e-06, | |
"total": 1.1549628447989365e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.60928, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 0.9990626559257504, | |
"mean": 0.0068900872822465565, | |
"stdev": 0.0002442120393667719, | |
"p50": 0.006774784088134766, | |
"p90": 0.007167795276641846, | |
"p95": 0.007211391925811768, | |
"p99": 0.007402209110260009, | |
"values": [ | |
0.0074301438331604, | |
0.007310336112976074, | |
0.008398783683776856, | |
0.007229440212249756, | |
0.007139328002929687, | |
0.006907904148101806, | |
0.006822879791259766, | |
0.006800384044647217, | |
0.006711296081542969, | |
0.006687744140625, | |
0.0067358717918396, | |
0.00667955207824707, | |
0.006584320068359375, | |
0.006560768127441406, | |
0.006625279903411865, | |
0.006650879859924317, | |
0.006744063854217529, | |
0.006818816184997558, | |
0.0067686400413513184, | |
0.006748159885406494, | |
0.006617087841033936, | |
0.006623231887817383, | |
0.006730751991271973, | |
0.006732800006866455, | |
0.0067041277885437015, | |
0.006716415882110595, | |
0.0067420158386230465, | |
0.006675456047058105, | |
0.007366655826568603, | |
0.0072119998931884765, | |
0.007165952205657959, | |
0.007162847995758057, | |
0.007002111911773682, | |
0.006967296123504638, | |
0.0070225920677185055, | |
0.007103487968444824, | |
0.007018496036529541, | |
0.00703385591506958, | |
0.007095295906066895, | |
0.007126016139984131, | |
0.007155712127685547, | |
0.007173120021820068, | |
0.0071874880790710445, | |
0.007185408115386963, | |
0.00714035177230835, | |
0.0070225920677185055, | |
0.0070943360328674316, | |
0.007208960056304932, | |
0.007130112171173096, | |
0.007153664112091064, | |
0.0071198720932006835, | |
0.007069695949554444, | |
0.007064576148986816, | |
0.007122943878173828, | |
0.007106560230255127, | |
0.007151616096496582, | |
0.007030784130096435, | |
0.007063551902770996, | |
0.0071157760620117185, | |
0.007077888011932373, | |
0.007186431884765625, | |
0.00709939193725586, | |
0.007109632015228271, | |
0.007256063938140869, | |
0.0071833600997924804, | |
0.00714137601852417, | |
0.007227392196655274, | |
0.007169023990631103, | |
0.007123968124389648, | |
0.007121920108795166, | |
0.007015423774719238, | |
0.007069695949554444, | |
0.007102464199066162, | |
0.007010303974151612, | |
0.006972415924072266, | |
0.006850560188293457, | |
0.007057407855987549, | |
0.007038976192474365, | |
0.006773759841918945, | |
0.006716415882110595, | |
0.006774784088134766, | |
0.006718463897705078, | |
0.0067420158386230465, | |
0.007097343921661377, | |
0.006956031799316406, | |
0.006914048194885254, | |
0.007129087924957276, | |
0.006976511955261231, | |
0.006756415843963623, | |
0.006690815925598144, | |
0.006763519763946534, | |
0.006746111869812011, | |
0.006710271835327148, | |
0.006738944053649902, | |
0.006766592025756836, | |
0.006840320110321045, | |
0.0069212160110473635, | |
0.006856704235076904, | |
0.006791168212890625, | |
0.006761472225189209, | |
0.00678604793548584, | |
0.006797311782836914, | |
0.006731776237487793, | |
0.006756383895874024, | |
0.006703104019165039, | |
0.006621183872222901, | |
0.006623231887817383, | |
0.00672870397567749, | |
0.006718463897705078, | |
0.006700032234191895, | |
0.006776832103729248, | |
0.006719488143920899, | |
0.006683648109436035, | |
0.006680575847625733, | |
0.00662937593460083, | |
0.00657919979095459, | |
0.006621183872222901, | |
0.006709248065948486, | |
0.0066826238632202144, | |
0.006729728221893311, | |
0.006699039936065674, | |
0.006676479816436768, | |
0.006690815925598144, | |
0.0066979842185974124, | |
0.006687744140625, | |
0.006713344097137451, | |
0.006715392112731934, | |
0.006663167953491211, | |
0.0067010560035705566, | |
0.006749248027801514, | |
0.006605823993682861, | |
0.0066713600158691405, | |
0.00674508810043335, | |
0.0067010560035705566, | |
0.006694911956787109, | |
0.006724607944488525, | |
0.006684671878814697, | |
0.006703104019165039, | |
0.006707200050354004, | |
0.00672051191329956, | |
0.006665215969085693, | |
0.00672051191329956, | |
0.006717440128326416, | |
0.006681600093841553, | |
0.0069212160110473635 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.13604240931235 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.615185015580393e-08, | |
"ram": 4.163554799281309e-08, | |
"gpu": 1.6475262467948642e-07, | |
"total": 2.825400228281034e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3539321.5799674415 | |
} | |
} | |
} | |
} |