IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fc6e1b2 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",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 950.70208,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 182,
"total": 0.9989279351234436,
"mean": 0.0054886150281507895,
"stdev": 0.00019042324606406496,
"p50": 0.005479903936386109,
"p90": 0.005754646396636962,
"p95": 0.005801625442504883,
"p99": 0.00594844672679901,
"values": [
0.006281216144561768,
0.005702655792236328,
0.006062079906463623,
0.005865471839904785,
0.005906527996063233,
0.005772287845611572,
0.005854144096374512,
0.005801983833312988,
0.005784639835357666,
0.005744607925415039,
0.005686272144317627,
0.005736447811126709,
0.005665791988372803,
0.005684224128723145,
0.005662655830383301,
0.005752831935882568,
0.005625919818878174,
0.005371903896331787,
0.005375999927520752,
0.005351424217224121,
0.00555622386932373,
0.005602303981781006,
0.005519360065460205,
0.005581823825836182,
0.0055214080810546875,
0.005502975940704345,
0.005610496044158936,
0.005500063896179199,
0.005477312088012695,
0.005405695915222168,
0.005600096225738526,
0.0057784318923950195,
0.005834752082824707,
0.005814271926879883,
0.005754879951477051,
0.0057794561386108395,
0.005661695957183838,
0.005595136165618897,
0.0057487359046936035,
0.005882880210876465,
0.005794816017150879,
0.005732351779937744,
0.00576204776763916,
0.005527552127838135,
0.005534751892089844,
0.005571648120880127,
0.005578656196594239,
0.005692416191101074,
0.005653503894805908,
0.005654528141021729,
0.005590015888214111,
0.00561356782913208,
0.005604351997375488,
0.005518335819244385,
0.005619711875915527,
0.005509119987487793,
0.00552243185043335,
0.005611519813537597,
0.005535744190216065,
0.005511168003082275,
0.005409791946411133,
0.005405695915222168,
0.005676032066345215,
0.0055214080810546875,
0.005494783878326416,
0.0055101442337036136,
0.005673984050750733,
0.005469183921813964,
0.0052941122055053715,
0.005398528099060058,
0.00571289587020874,
0.005502975940704345,
0.005657599925994873,
0.0056277761459350584,
0.005587967872619629,
0.005496831893920898,
0.0053678078651428224,
0.005443583965301513,
0.0054609918594360355,
0.005410816192626953,
0.005508096218109131,
0.005431295871734619,
0.005431295871734619,
0.0055101442337036136,
0.005437439918518067,
0.0055214080810546875,
0.00556441593170166,
0.005616640090942383,
0.005786623954772949,
0.005530816078186035,
0.0055797438621521,
0.005482495784759522,
0.0054241280555725096,
0.0055316481590271,
0.0054876160621643065,
0.00531763219833374,
0.005472095966339111,
0.00547219181060791,
0.0055808000564575196,
0.005605375766754151,
0.005404672145843506,
0.00536575984954834,
0.005528704166412353,
0.005643104076385498,
0.005505023956298828,
0.005258240222930908,
0.00526643180847168,
0.005263264179229736,
0.0053012480735778805,
0.005384191989898681,
0.005452799797058106,
0.005527552127838135,
0.005494783878326416,
0.005505023956298828,
0.0055797758102417,
0.005754848003387451,
0.005679103851318359,
0.005455872058868408,
0.005260287761688232,
0.005283840179443359,
0.005274623870849609,
0.005274623870849609,
0.0053606400489807126,
0.005362688064575195,
0.005385248184204101,
0.00528380823135376,
0.005921792030334472,
0.005484543800354004,
0.0053637118339538575,
0.005343232154846191,
0.005336063861846924,
0.005356544017791748,
0.005318655967712403,
0.00547430419921875,
0.005370880126953125,
0.005307392120361328,
0.005329919815063477,
0.005339136123657226,
0.005291007995605469,
0.0052674560546875,
0.005307392120361328,
0.005294047832489014,
0.005299200057983398,
0.005338047981262207,
0.005262239933013916,
0.005339136123657226,
0.005390336036682129,
0.00530841588973999,
0.005351424217224121,
0.005356544017791748,
0.005303296089172363,
0.00530841588973999,
0.005519360065460205,
0.00531763219833374,
0.005327871799468994,
0.005345280170440674,
0.005274655818939209,
0.005274623870849609,
0.005282815933227539,
0.005239808082580567,
0.005289951801300049,
0.005426176071166992,
0.005244927883148193,
0.005215231895446777,
0.005446656227111817,
0.005258304119110107,
0.005283840179443359,
0.0053350400924682614,
0.0053043198585510255,
0.00531660795211792,
0.0053534722328186036,
0.005232639789581299,
0.005252096176147461,
0.005250048160552978,
0.005241856098175048,
0.005169151782989502,
0.005249023914337158,
0.005188608169555664,
0.005213183879852295,
0.0054241280555725096,
0.0052367358207702636,
0.005224448204040527
]
},
"throughput": {
"unit": "samples/s",
"value": 182.19532520882913
},
"energy": {
"unit": "kWh",
"cpu": 6.168450021909344e-08,
"ram": 3.3728644260122564e-08,
"gpu": 1.2561063289583307e-07,
"total": 2.2102377737504908e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4524400.097927599
}
}
}
}