
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1e68160
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.495808, | |
"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.68513134765625, | |
"mean": 7.68513134765625, | |
"stdev": 0.0, | |
"p50": 7.68513134765625, | |
"p90": 7.68513134765625, | |
"p95": 7.68513134765625, | |
"p99": 7.68513134765625, | |
"values": [ | |
7.68513134765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.2930646597227845e-06, | |
"ram": 2.336998005658035e-06, | |
"gpu": 6.493616305999934e-06, | |
"total": 1.3123678971380754e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.05504, | |
"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.9968733763694763, | |
"mean": 0.007276448002696907, | |
"stdev": 0.00023948232181532236, | |
"p50": 0.007193600177764893, | |
"p90": 0.007517593765258789, | |
"p95": 0.007614886283874512, | |
"p99": 0.008076123867034905, | |
"values": [ | |
0.007614463806152344, | |
0.007579648017883301, | |
0.007526400089263916, | |
0.007524352073669433, | |
0.007498816013336181, | |
0.0077281279563903805, | |
0.00748748779296875, | |
0.007475200176239013, | |
0.007437312126159668, | |
0.0074065918922424315, | |
0.007453695774078369, | |
0.0074291200637817386, | |
0.007381984233856201, | |
0.0073994240760803225, | |
0.007437312126159668, | |
0.007456768035888672, | |
0.007647232055664062, | |
0.0074967041015625, | |
0.007498752117156982, | |
0.007396351814270019, | |
0.007053311824798584, | |
0.007115808010101319, | |
0.007129087924957276, | |
0.007114751815795899, | |
0.007114751815795899, | |
0.007126016139984131, | |
0.007109632015228271, | |
0.007019519805908203, | |
0.007064544200897217, | |
0.00709222412109375, | |
0.007116799831390381, | |
0.007093183994293213, | |
0.006990848064422607, | |
0.007505919933319092, | |
0.00827187156677246, | |
0.00837939167022705, | |
0.007449600219726562, | |
0.007427072048187256, | |
0.007442431926727295, | |
0.00764518404006958, | |
0.007559167861938477, | |
0.00753772783279419, | |
0.007488512039184571, | |
0.007416831970214844, | |
0.007375872135162354, | |
0.007390207767486572, | |
0.007193600177764893, | |
0.007654399871826172, | |
0.007476255893707275, | |
0.007469056129455566, | |
0.007393280029296875, | |
0.007354368209838867, | |
0.007385087966918945, | |
0.007401472091674805, | |
0.007468031883239746, | |
0.007513088226318359, | |
0.007361536026000977, | |
0.007333888053894043, | |
0.007366655826568603, | |
0.007451648235321045, | |
0.007396351814270019, | |
0.007386112213134765, | |
0.0074711041450500485, | |
0.0074967041015625, | |
0.007525375843048096, | |
0.007464960098266602, | |
0.007510015964508057, | |
0.007494656085968018, | |
0.00743936014175415, | |
0.007616576194763184, | |
0.0073820161819458, | |
0.0074332160949707035, | |
0.0074291200637817386, | |
0.0073471999168395995, | |
0.007356416225433349, | |
0.007185408115386963, | |
0.007357439994812012, | |
0.007404543876647949, | |
0.007152703762054444, | |
0.0070266880989074704, | |
0.007037951946258545, | |
0.007079936027526855, | |
0.007162879943847656, | |
0.007459839820861816, | |
0.007229440212249756, | |
0.007309311866760254, | |
0.007416831970214844, | |
0.007449535846710205, | |
0.007171072006225586, | |
0.007156735897064209, | |
0.007103487968444824, | |
0.007170048236846924, | |
0.007153664112091064, | |
0.007181312084197998, | |
0.007097343921661377, | |
0.007035903930664063, | |
0.007106560230255127, | |
0.0070830078125, | |
0.0070973758697509765, | |
0.007057407855987549, | |
0.0070594558715820314, | |
0.007048192024230957, | |
0.007057407855987549, | |
0.007021567821502686, | |
0.007051263809204102, | |
0.007018496036529541, | |
0.007024640083312988, | |
0.007024640083312988, | |
0.007008255958557129, | |
0.007041024208068848, | |
0.007039999961853028, | |
0.007062528133392334, | |
0.0070348801612854, | |
0.007038976192474365, | |
0.007131135940551757, | |
0.007036928176879883, | |
0.007036928176879883, | |
0.007032800197601319, | |
0.0070553598403930665, | |
0.007058432102203369, | |
0.007047167778015137, | |
0.007038976192474365, | |
0.007046144008636474, | |
0.007067647933959961, | |
0.007061503887176514, | |
0.0070266880989074704, | |
0.007046144008636474, | |
0.007117856025695801, | |
0.007073791980743408, | |
0.007039999961853028, | |
0.007081984043121338, | |
0.007019519805908203, | |
0.007076863765716553, | |
0.007030784130096435, | |
0.007003136157989502, | |
0.007001088142395019, | |
0.007047167778015137 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.42969091916342 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.369440823063419e-08, | |
"ram": 4.559428197108724e-08, | |
"gpu": 1.7469693161971755e-07, | |
"total": 3.0398562182143895e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3289629.272621978 | |
} | |
} | |
} | |
} |