IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1f4f24f verified
raw
history blame
11.9 kB
{
"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.224-212.876.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.095104,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.302353515625,
"mean": 8.302353515625,
"stdev": 0.0,
"p50": 8.302353515625,
"p90": 8.302353515625,
"p95": 8.302353515625,
"p99": 8.302353515625,
"values": [
8.302353515625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.747114043055272e-06,
"ram": 3.1308990009318736e-06,
"gpu": 8.606673552000177e-06,
"total": 1.7484686595987324e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.894848,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 141,
"total": 0.9955616626739506,
"mean": 0.007060721011871987,
"stdev": 0.000215137890758408,
"p50": 0.007128064155578613,
"p90": 0.007265279769897461,
"p95": 0.007361536026000977,
"p99": 0.007499366474151612,
"values": [
0.007464960098266602,
0.007353343963623047,
0.0073697280883789065,
0.007321599960327148,
0.007322624206542969,
0.007208960056304932,
0.007214079856872559,
0.007186495780944825,
0.007177216053009033,
0.007146495819091797,
0.007078911781311035,
0.007165952205657959,
0.007173120021820068,
0.007158751964569092,
0.007031807899475098,
0.007018496036529541,
0.007132160186767578,
0.007175168037414551,
0.007202816009521484,
0.007173120021820068,
0.007194623947143554,
0.0072120318412780765,
0.0071526398658752445,
0.007117824077606201,
0.007093247890472412,
0.007241727828979493,
0.0072427520751953125,
0.007208960056304932,
0.007176191806793213,
0.007175168037414551,
0.0071526398658752445,
0.007120895862579346,
0.007197696208953858,
0.007159808158874512,
0.007124991893768311,
0.007127039909362793,
0.007071743965148926,
0.007037951946258545,
0.007051263809204102,
0.0070563840866088865,
0.007138304233551026,
0.00713318395614624,
0.007155712127685547,
0.007135231971740722,
0.007101439952850342,
0.00719974422454834,
0.007265279769897461,
0.007218175888061523,
0.007241792201995849,
0.007180287837982178,
0.00729804801940918,
0.007117824077606201,
0.007459807872772217,
0.007221216201782226,
0.007173120021820068,
0.007134208202362061,
0.007173120021820068,
0.007189536094665527,
0.007067647933959961,
0.007015423774719238,
0.007143424034118652,
0.007092192173004151,
0.007192575931549072,
0.007194623947143554,
0.007016448020935059,
0.007113728046417236,
0.007361536026000977,
0.007131135940551757,
0.007076863765716553,
0.007093279838562012,
0.007142399787902832,
0.007215104103088379,
0.007237599849700928,
0.007243775844573975,
0.007164927959442138,
0.007227392196655274,
0.0072202239036560055,
0.007137279987335205,
0.007188479900360107,
0.00709222412109375,
0.007027711868286133,
0.0071393918991088864,
0.007085055828094483,
0.007684095859527588,
0.007349247932434082,
0.007128064155578613,
0.007235583782196045,
0.0071495680809020995,
0.00683622407913208,
0.006717440128326416,
0.006964223861694336,
0.007522304058074952,
0.007267327785491944,
0.007205952167510987,
0.007080959796905518,
0.007200767993927002,
0.007365632057189942,
0.0074414081573486324,
0.007076863765716553,
0.006979584217071533,
0.007023615837097168,
0.007039999961853028,
0.007088128089904785,
0.007175168037414551,
0.0069959678649902345,
0.006813695907592773,
0.006779903888702392,
0.00673689603805542,
0.006801407814025879,
0.0068055357933044435,
0.006906879901885986,
0.006841343879699707,
0.00675328016281128,
0.00679423999786377,
0.00672051191329956,
0.006749184131622315,
0.006721536159515381,
0.006707200050354004,
0.006737919807434082,
0.006723584175109864,
0.006732800006866455,
0.006717440128326416,
0.006738944053649902,
0.006755328178405762,
0.006717440128326416,
0.006731776237487793,
0.006750239849090576,
0.006716415882110595,
0.0067358717918396,
0.006732800006866455,
0.006762432098388672,
0.006750207901000976,
0.006723584175109864,
0.00672051191329956,
0.0066938881874084475,
0.0067276802062988285,
0.006716415882110595,
0.00669593620300293,
0.006752255916595459,
0.006716415882110595,
0.006704160213470459
]
},
"throughput": {
"unit": "samples/s",
"value": 141.62859548176272
},
"energy": {
"unit": "kWh",
"cpu": 8.1135861834094e-08,
"ram": 4.433778853160403e-08,
"gpu": 1.7725661060274052e-07,
"total": 3.0273026096843855e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3303270.696497223
}
}
}
}