
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
91077c9
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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.348352, | |
"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.43484326171875, | |
"mean": 7.43484326171875, | |
"stdev": 0.0, | |
"p50": 7.43484326171875, | |
"p90": 7.43484326171875, | |
"p95": 7.43484326171875, | |
"p99": 7.43484326171875, | |
"values": [ | |
7.43484326171875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.367902212672764e-06, | |
"ram": 2.377679945904655e-06, | |
"gpu": 6.676394229999938e-06, | |
"total": 1.3421976388577356e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.334848, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.9966326060295104, | |
"mean": 0.00673400409479399, | |
"stdev": 0.0004102689035548294, | |
"p50": 0.00682035207748413, | |
"p90": 0.007132057619094848, | |
"p95": 0.0071882750988006595, | |
"p99": 0.007899678845405579, | |
"values": [ | |
0.007277567863464355, | |
0.007172095775604248, | |
0.007267327785491944, | |
0.007211008071899414, | |
0.007192575931549072, | |
0.007137279987335205, | |
0.007129087924957276, | |
0.007102464199066162, | |
0.007036928176879883, | |
0.007049215793609619, | |
0.007048128128051757, | |
0.006993919849395752, | |
0.006915071964263916, | |
0.006929408073425293, | |
0.006933504104614257, | |
0.007028736114501953, | |
0.007121920108795166, | |
0.007134208202362061, | |
0.007108607769012451, | |
0.007006207942962647, | |
0.006917119979858399, | |
0.007028736114501953, | |
0.007127039909362793, | |
0.007030784130096435, | |
0.0070860800743103025, | |
0.007077888011932373, | |
0.007088096141815186, | |
0.007030784130096435, | |
0.007013376235961914, | |
0.007068672180175781, | |
0.007101439952850342, | |
0.007019487857818604, | |
0.006868000030517578, | |
0.006958111763000489, | |
0.007054336071014404, | |
0.006976511955261231, | |
0.006930431842803955, | |
0.007031807899475098, | |
0.007013376235961914, | |
0.007098368167877197, | |
0.007087103843688965, | |
0.0071485438346862796, | |
0.007114751815795899, | |
0.007146495819091797, | |
0.007039999961853028, | |
0.008044544219970704, | |
0.008201215744018555, | |
0.00773632001876831, | |
0.007030784130096435, | |
0.007131135940551757, | |
0.007124991893768311, | |
0.006969344139099121, | |
0.006933504104614257, | |
0.007006207942962647, | |
0.007016448020935059, | |
0.007123968124389648, | |
0.006957056045532227, | |
0.006970367908477783, | |
0.007023615837097168, | |
0.007027711868286133, | |
0.007054336071014404, | |
0.0069816322326660156, | |
0.007044095993041993, | |
0.007180287837982178, | |
0.007177184104919434, | |
0.007079936027526855, | |
0.006818816184997558, | |
0.006821887969970703, | |
0.006804480075836182, | |
0.00675328016281128, | |
0.006783999919891357, | |
0.0066641921997070315, | |
0.006779903888702392, | |
0.006660096168518067, | |
0.006654975891113281, | |
0.006449151992797852, | |
0.006499328136444092, | |
0.006749184131622315, | |
0.006525951862335205, | |
0.0064471039772033695, | |
0.006358016014099121, | |
0.006371327877044678, | |
0.006402048110961914, | |
0.006717440128326416, | |
0.007072703838348389, | |
0.007000063896179199, | |
0.007088128089904785, | |
0.0070830078125, | |
0.007105535984039306, | |
0.007009280204772949, | |
0.006797311782836914, | |
0.007344128131866455, | |
0.006517727851867675, | |
0.006419456005096436, | |
0.00643891191482544, | |
0.0063805441856384275, | |
0.006358016014099121, | |
0.006286399841308594, | |
0.006363135814666748, | |
0.0062638077735900875, | |
0.006284287929534912, | |
0.006302720069885254, | |
0.006247424125671387, | |
0.0063907837867736815, | |
0.006268928050994873, | |
0.006284319877624512, | |
0.0062679038047790524, | |
0.006251520156860352, | |
0.0062975997924804685, | |
0.006251520156860352, | |
0.00628223991394043, | |
0.006242303848266601, | |
0.006289408206939697, | |
0.0062975997924804685, | |
0.0062341117858886715, | |
0.006300672054290772, | |
0.0062464637756347655, | |
0.006276095867156982, | |
0.0062576642036437985, | |
0.006269951820373535, | |
0.0062863359451293946, | |
0.0062566399574279785, | |
0.006300672054290772, | |
0.0062679038047790524, | |
0.006305791854858398, | |
0.006239200115203857, | |
0.006288383960723877, | |
0.006273024082183838, | |
0.006242303848266601, | |
0.0063170561790466305, | |
0.00623308801651001, | |
0.006299647808074951, | |
0.006248447895050049, | |
0.006273024082183838, | |
0.006281248092651367, | |
0.0062566399574279785, | |
0.006329343795776367, | |
0.006270976066589356, | |
0.006306816101074219, | |
0.006273024082183838, | |
0.006266880035400391, | |
0.00626585578918457, | |
0.006228991985321045, | |
0.00627513599395752, | |
0.006236159801483154, | |
0.006276095867156982, | |
0.006246399879455566, | |
0.0062873601913452145 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.50005820060204 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.772756579481526e-08, | |
"ram": 4.241664339331383e-08, | |
"gpu": 1.7226048639215926e-07, | |
"total": 2.9240469558028833e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3419917.7205942664 | |
} | |
} | |
} | |
} |