IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3691112 verified
raw
history blame
12.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 947.449856,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 183,
"total": 0.9971046075820924,
"mean": 0.005448659057825641,
"stdev": 0.00021471212097347583,
"p50": 0.005436416149139404,
"p90": 0.00573521900177002,
"p95": 0.0057866241931915285,
"p99": 0.005909155969619751,
"values": [
0.005991424083709717,
0.0059023361206054685,
0.005814271926879883,
0.005787648200988769,
0.005801983833312988,
0.005713920116424561,
0.005777408123016357,
0.005730303764343261,
0.005748703956604004,
0.00571289587020874,
0.005751808166503906,
0.005736447811126709,
0.00563097620010376,
0.005605375766754151,
0.005598207950592041,
0.005940224170684814,
0.005787648200988769,
0.00552345609664917,
0.005499904155731201,
0.005607456207275391,
0.005610496044158936,
0.005552127838134766,
0.005637119770050049,
0.005640192031860352,
0.00561356782913208,
0.005710847854614258,
0.005430272102355957,
0.0053647360801696775,
0.005331967830657959,
0.005298175811767578,
0.005436416149139404,
0.005444608211517334,
0.005566463947296142,
0.005776319980621338,
0.005419007778167725,
0.005449759960174561,
0.005594175815582275,
0.0056780800819396975,
0.005650432109832764,
0.005620736122131348,
0.005760000228881836,
0.005430272102355957,
0.00537395191192627,
0.005251071929931641,
0.005220352172851562,
0.005229631900787354,
0.005272575855255127,
0.005306367874145508,
0.005311488151550293,
0.0052674560546875,
0.0053606400489807126,
0.00535756778717041,
0.005682176113128662,
0.005626880168914795,
0.005694464206695556,
0.0058419198989868165,
0.005691391944885254,
0.005679103851318359,
0.005629951953887939,
0.005637119770050049,
0.005526527881622314,
0.0055920639038085935,
0.00567193603515625,
0.005645311832427978,
0.005657599925994873,
0.0055808000564575196,
0.005662720203399658,
0.005615615844726562,
0.005475327968597412,
0.005683199882507324,
0.005635072231292724,
0.0055848960876464845,
0.005740543842315674,
0.005827583789825439,
0.005673984050750733,
0.005619711875915527,
0.005634047985076904,
0.005557248115539551,
0.005575679779052735,
0.005533696174621582,
0.0055203838348388675,
0.005623807907104492,
0.005538815975189209,
0.005582848072052002,
0.005583871841430664,
0.005739520072937012,
0.005705728054046631,
0.005794816017150879,
0.0057415680885314945,
0.005672959804534912,
0.005726208209991455,
0.005645311832427978,
0.005686272144317627,
0.00566476821899414,
0.005497856140136719,
0.005601280212402344,
0.0055552000999450684,
0.005479423999786377,
0.005485568046569824,
0.005323775768280029,
0.005277696132659912,
0.005447711944580078,
0.005554175853729248,
0.005401599884033203,
0.005208064079284668,
0.005230591773986816,
0.005256159782409668,
0.00535756778717041,
0.005339104175567627,
0.005476352214813233,
0.00548963212966919,
0.005477375984191894,
0.005519360065460205,
0.005544960021972656,
0.005701632022857666,
0.005653567790985107,
0.005375999927520752,
0.005268479824066162,
0.005226463794708252,
0.005230591773986816,
0.005298175811767578,
0.005235712051391602,
0.005259200096130371,
0.005279744148254394,
0.005262335777282715,
0.005249023914337158,
0.005306367874145508,
0.005254079818725586,
0.00521830415725708,
0.005277696132659912,
0.0053012480735778805,
0.005249023914337158,
0.005238783836364746,
0.0052367358207702636,
0.005210112094879151,
0.005241856098175048,
0.005220352172851562,
0.005220352172851562,
0.005248000144958496,
0.005220352172851562,
0.005204991817474365,
0.0052295680046081545,
0.005261312007904053,
0.005241824150085449,
0.005212160110473632,
0.005292031764984131,
0.005234687805175781,
0.005219327926635742,
0.005246975898742676,
0.005197824001312256,
0.005184512138366699,
0.005311488151550293,
0.005201920032501221,
0.0052295680046081545,
0.005221375942230225,
0.0052008957862854,
0.005192704200744629,
0.0052008957862854,
0.005220384120941162,
0.005178368091583252,
0.005180416107177735,
0.0052705278396606445,
0.005224448204040527,
0.005184512138366699,
0.005244927883148193,
0.0052336640357971195,
0.005185535907745361,
0.005258240222930908,
0.00521830415725708,
0.005215231895446777,
0.005222400188446045,
0.005221407890319824,
0.0051968002319335935,
0.005188608169555664,
0.005219327926635742,
0.00521830415725708,
0.005194752216339111,
0.005234687805175781,
0.005139455795288086,
0.005144576072692871,
0.005171199798583984,
0.005216256141662597,
0.005197824001312256
]
},
"throughput": {
"unit": "samples/s",
"value": 183.53139541072022
},
"energy": {
"unit": "kWh",
"cpu": 6.041209088836939e-08,
"ram": 3.3028089035501674e-08,
"gpu": 1.2740089557143583e-07,
"total": 2.208410754953069e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4528143.135316559
}
}
}
}