
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
484f8f7
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.061632, | |
"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.6895927734375, | |
"mean": 7.6895927734375, | |
"stdev": 0.0, | |
"p50": 7.6895927734375, | |
"p90": 7.6895927734375, | |
"p95": 7.6895927734375, | |
"p99": 7.6895927734375, | |
"values": [ | |
7.6895927734375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.2886425111116e-06, | |
"ram": 2.3348841637795686e-06, | |
"gpu": 6.541671900000038e-06, | |
"total": 1.3165198574891206e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.534272, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.001688865184784, | |
"mean": 0.007365359302829294, | |
"stdev": 0.00018736291667725412, | |
"p50": 0.007318016052246094, | |
"p90": 0.007633919954299927, | |
"p95": 0.007688656210899353, | |
"p99": 0.007969279837608338, | |
"values": [ | |
0.0074670081138610836, | |
0.007469056129455566, | |
0.007453695774078369, | |
0.007444479942321777, | |
0.0074291200637817386, | |
0.007401472091674805, | |
0.007324672222137451, | |
0.007318528175354004, | |
0.007290880203247071, | |
0.007315455913543701, | |
0.007336959838867187, | |
0.00732371187210083, | |
0.007201791763305664, | |
0.007216063976287842, | |
0.007279615879058838, | |
0.007311359882354736, | |
0.007334911823272705, | |
0.007351295948028564, | |
0.0073175039291381834, | |
0.007360511779785156, | |
0.007307263851165771, | |
0.007278592109680176, | |
0.007360479831695557, | |
0.007374847888946533, | |
0.007325695991516113, | |
0.007326720237731933, | |
0.007367680072784424, | |
0.007351295948028564, | |
0.007316480159759522, | |
0.0073359360694885255, | |
0.007349279880523682, | |
0.007311359882354736, | |
0.007371776103973389, | |
0.0073820161819458, | |
0.00725708818435669, | |
0.007261184215545655, | |
0.007250944137573242, | |
0.007278592109680176, | |
0.007312384128570557, | |
0.007310336112976074, | |
0.007392255783081054, | |
0.0073994240760803225, | |
0.0074065918922424315, | |
0.007296000003814697, | |
0.0073400321006774905, | |
0.007302144050598145, | |
0.007292928218841553, | |
0.007356416225433349, | |
0.00736352014541626, | |
0.0073994240760803225, | |
0.007686143875122071, | |
0.007636991977691651, | |
0.007517183780670166, | |
0.007571455955505371, | |
0.007541696071624756, | |
0.007678976058959961, | |
0.0075970559120178225, | |
0.007514111995697022, | |
0.007591936111450195, | |
0.007856128215789794, | |
0.00809881591796875, | |
0.007566336154937744, | |
0.00780083179473877, | |
0.008030207633972167, | |
0.007693312168121338, | |
0.007656447887420655, | |
0.007805952072143555, | |
0.007687104225158691, | |
0.007623680114746094, | |
0.007620607852935791, | |
0.0076308479309082035, | |
0.007532544136047363, | |
0.007640063762664795, | |
0.007560192108154297, | |
0.007462944030761719, | |
0.007485439777374267, | |
0.0074414081573486324, | |
0.00755299186706543, | |
0.007486464023590088, | |
0.007237631797790528, | |
0.007228415966033935, | |
0.007195648193359375, | |
0.007395328044891358, | |
0.007506944179534912, | |
0.0075335679054260255, | |
0.007556096076965332, | |
0.007677951812744141, | |
0.00770963191986084, | |
0.007375872135162354, | |
0.007230463981628418, | |
0.007187456130981445, | |
0.007192575931549072, | |
0.007225344181060791, | |
0.007211008071899414, | |
0.007259136199951172, | |
0.007225344181060791, | |
0.007197696208953858, | |
0.00719974422454834, | |
0.0072499198913574215, | |
0.007238656044006348, | |
0.007217152118682861, | |
0.007164927959442138, | |
0.0072120318412780765, | |
0.007189504146575928, | |
0.007185408115386963, | |
0.007193600177764893, | |
0.0071413440704345705, | |
0.007192575931549072, | |
0.007176256179809571, | |
0.007181312084197998, | |
0.007171072006225586, | |
0.007146495819091797, | |
0.007186431884765625, | |
0.007184383869171143, | |
0.007262207984924316, | |
0.0071792640686035155, | |
0.00722431993484497, | |
0.007174143791198731, | |
0.0071823358535766605, | |
0.007208960056304932, | |
0.007206912040710449, | |
0.007172095775604248, | |
0.007292928218841553, | |
0.007366655826568603, | |
0.007219200134277344, | |
0.007228415966033935, | |
0.007192575931549072, | |
0.007523327827453613, | |
0.007201791763305664, | |
0.0071905279159545895, | |
0.0071823358535766605, | |
0.007163904190063477, | |
0.007150591850280762, | |
0.0071495680809020995, | |
0.007170048236846924, | |
0.007175168037414551 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.77070158897268 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.521099916566714e-08, | |
"ram": 4.658524023251555e-08, | |
"gpu": 1.8043779423021483e-07, | |
"total": 3.122340336283975e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3202725.8155660923 | |
} | |
} | |
} | |
} |