
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1f62ff2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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.225-213.878.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.072896, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3648450622558594 | |
], | |
"count": 1, | |
"total": 0.3648450622558594, | |
"mean": 0.3648450622558594, | |
"p50": 0.3648450622558594, | |
"p90": 0.3648450622558594, | |
"p95": 0.3648450622558594, | |
"p99": 0.3648450622558594, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1109.712896, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 122.937344 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007418879985809326, | |
0.007081984043121338, | |
0.0073134078979492185, | |
0.0071495680809020995, | |
0.007117760181427002, | |
0.007334911823272705, | |
0.007411712169647216, | |
0.007387231826782226, | |
0.008743935585021973, | |
0.008330240249633789, | |
0.007952383995056152, | |
0.007485343933105469, | |
0.007436287879943848, | |
0.00741596794128418, | |
0.007477248191833496, | |
0.007845888137817383, | |
0.007452799797058106, | |
0.007555103778839111, | |
0.007523359775543213, | |
0.007509888172149658, | |
0.007458816051483155, | |
0.0074403839111328125, | |
0.007437312126159668, | |
0.007571455955505371, | |
0.007476223945617676, | |
0.007386112213134765, | |
0.007514111995697022, | |
0.0074291200637817386, | |
0.007391232013702393, | |
0.007483391761779785, | |
0.007548927783966064, | |
0.007763967990875244, | |
0.008076255798339843, | |
0.008034303665161132, | |
0.007798783779144287, | |
0.007450623989105225, | |
0.007345151901245117, | |
0.007422976016998291, | |
0.007483391761779785, | |
0.007423999786376953, | |
0.007450496196746826, | |
0.007383103847503662, | |
0.0074414081573486324, | |
0.007588831901550293, | |
0.007689248085021973, | |
0.00754585599899292, | |
0.007503903865814209, | |
0.007514111995697022, | |
0.007526336193084716, | |
0.007448575973510742, | |
0.007416831970214844, | |
0.007465983867645264, | |
0.007478271961212158, | |
0.007328767776489258, | |
0.007505983829498291, | |
0.00753766393661499, | |
0.007436351776123047, | |
0.007518208026885987, | |
0.00724294376373291, | |
0.007172095775604248, | |
0.007350272178649903, | |
0.007476223945617676, | |
0.007098368167877197, | |
0.00713318395614624, | |
0.0071823358535766605, | |
0.0073400321006774905, | |
0.007538656234741211, | |
0.0077547521591186525, | |
0.007526400089263916, | |
0.0075673599243164065, | |
0.007897088050842285, | |
0.006879231929779053, | |
0.006799359798431396, | |
0.006729728221893311, | |
0.006770688056945801, | |
0.006953983783721924, | |
0.006829919815063476, | |
0.00710041618347168, | |
0.007054336071014404, | |
0.007037951946258545, | |
0.007010367870330811, | |
0.007046144008636474, | |
0.006973599910736084, | |
0.006915071964263916, | |
0.006865920066833496, | |
0.006882304191589355, | |
0.0068321280479431154, | |
0.006834176063537598, | |
0.006844607830047608, | |
0.006956031799316406, | |
0.006927360057830811, | |
0.007110655784606934, | |
0.007028736114501953, | |
0.006917119979858399, | |
0.006871039867401123, | |
0.006841343879699707, | |
0.006879231929779053, | |
0.006918303966522217, | |
0.006838272094726563, | |
0.006853631973266602, | |
0.006892543792724609, | |
0.006880256175994873, | |
0.006926432132720948, | |
0.006838272094726563, | |
0.0068853759765625, | |
0.006804351806640625, | |
0.006825920104980469, | |
0.007035903930664063, | |
0.00703385591506958, | |
0.007089248180389404, | |
0.006836160182952881, | |
0.006851615905761718, | |
0.006858751773834228, | |
0.006874112129211426, | |
0.006851583957672119, | |
0.00687820816040039, | |
0.006821887969970703, | |
0.006811808109283448, | |
0.006821887969970703, | |
0.006834239959716797, | |
0.006837247848510742, | |
0.006806528091430664, | |
0.006834176063537598, | |
0.0070266880989074704, | |
0.006838272094726563, | |
0.006811647891998291, | |
0.006849408149719238, | |
0.006973440170288086, | |
0.006840320110321045, | |
0.006841343879699707, | |
0.006883327960968018, | |
0.00713424015045166, | |
0.006953983783721924, | |
0.0070594558715820314, | |
0.00814684772491455, | |
0.007296832084655762, | |
0.006923264026641846, | |
0.0069344000816345215 | |
], | |
"count": 138, | |
"total": 0.9970855970382693, | |
"mean": 0.007225257949552674, | |
"p50": 0.00714190411567688, | |
"p90": 0.007568588733673096, | |
"p95": 0.007853568124771119, | |
"p99": 0.008262385015487669, | |
"stdev": 0.00036795896522636866, | |
"stdev_": 5.09267582964494 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.40336317154066 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.161059556696644e-08, | |
"ram": 4.459764258160418e-08, | |
"gpu": 1.6745637445204586e-07, | |
"total": 2.9366461260061645e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3405245.1575430334 | |
} | |
} | |
} | |
} |