IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
dcded78 verified
raw
history blame
12.1 kB
{
"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.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": 852.606976,
"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.69187841796875,
"mean": 7.69187841796875,
"stdev": 0.0,
"p50": 7.69187841796875,
"p90": 7.69187841796875,
"p95": 7.69187841796875,
"p99": 7.69187841796875,
"values": [
7.69187841796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.321062715277712e-06,
"ram": 2.352362878827656e-06,
"gpu": 6.636394197999948e-06,
"total": 1.3309819792105317e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.85376,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9986252775192258,
"mean": 0.00683989916109059,
"stdev": 0.0001837112691942259,
"p50": 0.006890496015548706,
"p90": 0.006973440170288086,
"p95": 0.007047935843467712,
"p99": 0.007378380799293518,
"values": [
0.007269375801086426,
0.0072048320770263675,
0.007250944137573242,
0.007356416225433349,
0.007396351814270019,
0.007759871959686279,
0.006866943836212158,
0.006647808074951172,
0.00662937593460083,
0.006652927875518798,
0.006654975891113281,
0.006606847763061524,
0.0066416640281677245,
0.006622208118438721,
0.006627327919006347,
0.006643712043762207,
0.006623231887817383,
0.006615039825439453,
0.0066375679969787596,
0.006619135856628418,
0.006590464115142822,
0.006615039825439453,
0.006625279903411865,
0.006584320068359375,
0.006612991809844971,
0.006615039825439453,
0.006707200050354004,
0.006617087841033936,
0.006608895778656006,
0.006591487884521485,
0.006598720073699951,
0.006638591766357422,
0.0066007041931152345,
0.006633471965789795,
0.0066447358131408694,
0.00669593620300293,
0.006618112087249756,
0.006631423950195312,
0.006648831844329834,
0.006671296119689941,
0.0067870721817016606,
0.006683648109436035,
0.006670335769653321,
0.006628352165222168,
0.006585343837738037,
0.006690815925598144,
0.006694911956787109,
0.006632448196411133,
0.006640575885772705,
0.006619135856628418,
0.006555647850036621,
0.006586368083953857,
0.0066375679969787596,
0.0065710082054138185,
0.006661119937896728,
0.006676479816436768,
0.006642687797546387,
0.006658048152923584,
0.0068618240356445315,
0.0068280320167541505,
0.0068577280044555666,
0.006896639823913574,
0.006946815967559815,
0.0069212160110473635,
0.006970367908477783,
0.0069632000923156735,
0.006959104061126709,
0.006887423992156983,
0.00694271993637085,
0.006897664070129395,
0.0068392958641052244,
0.006823935985565186,
0.006845471858978272,
0.006845439910888672,
0.0068280320167541505,
0.006936575889587402,
0.007063551902770996,
0.006993919849395752,
0.006939648151397705,
0.007007232189178467,
0.006973440170288086,
0.006957056045532227,
0.006912000179290771,
0.0069632000923156735,
0.006944767951965332,
0.006948863983154297,
0.006918144226074219,
0.006958079814910889,
0.006949952125549316,
0.006967296123504638,
0.006917119979858399,
0.00695091199874878,
0.006976511955261231,
0.007015423774719238,
0.00704307222366333,
0.006961152076721191,
0.006938623905181885,
0.006945792198181152,
0.00689356803894043,
0.006917119979858399,
0.00693452787399292,
0.006918111801147461,
0.006968319892883301,
0.006926400184631348,
0.007049215793609619,
0.006973440170288086,
0.006913023948669434,
0.00694374418258667,
0.006899712085723877,
0.0068280320167541505,
0.006863872051239014,
0.006906879901885986,
0.006948927879333496,
0.00690176010131836,
0.006923264026641846,
0.006932415962219238,
0.006936575889587402,
0.006879263877868652,
0.0068884482383728025,
0.006902751922607422,
0.006903744220733642,
0.007044095993041993,
0.006900735855102539,
0.006924287796020508,
0.0068689918518066405,
0.0069508800506591795,
0.006906879901885986,
0.006922239780426025,
0.0068853759765625,
0.006905856132507324,
0.0068853759765625,
0.00692633581161499,
0.006897696018218994,
0.006941728115081787,
0.006883327960968018,
0.006897664070129395,
0.006889472007751465,
0.0068853759765625,
0.0068915200233459475,
0.0069027838706970214,
0.006905856132507324,
0.006897664070129395,
0.006896639823913574,
0.006884352207183838,
0.006900735855102539,
0.006881279945373535
]
},
"throughput": {
"unit": "samples/s",
"value": 146.20098578186563
},
"energy": {
"unit": "kWh",
"cpu": 8.276661162587244e-08,
"ram": 4.5251319275607e-08,
"gpu": 1.7425421865734264e-07,
"total": 3.022721495588221e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3308276.99958312
}
}
}
}