IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
13b61c0 verified
raw
history blame
12.7 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",
"numactl": false,
"numactl_kwargs": {},
"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.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.41.0",
"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": 951.197696,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 185,
"total": 0.9962871327400209,
"mean": 0.005385335852648761,
"stdev": 0.00015023084902839138,
"p50": 0.005346303939819336,
"p90": 0.005549465656280518,
"p95": 0.005628723335266113,
"p99": 0.005873827743530274,
"values": [
0.0061931519508361815,
0.00586137580871582,
0.005896192073822021,
0.00563097620010376,
0.0056063680648803715,
0.005667840003967285,
0.005654528141021729,
0.00556441593170166,
0.005619711875915527,
0.005537792205810547,
0.00547321605682373,
0.005483520030975342,
0.005443583965301513,
0.005492735862731934,
0.005449728012084961,
0.0053043198585510255,
0.005338111877441406,
0.005412864208221436,
0.005447679996490478,
0.005545983791351319,
0.005475327968597412,
0.005508096218109131,
0.005482495784759522,
0.005419007778167725,
0.005450751781463623,
0.00547430419921875,
0.0055244798660278325,
0.00551423978805542,
0.005489664077758789,
0.005525504112243652,
0.005480447769165039,
0.0053975038528442385,
0.005500927925109863,
0.005475327968597412,
0.005496831893920898,
0.005404672145843506,
0.005277696132659912,
0.005319680213928223,
0.00537391996383667,
0.005343232154846191,
0.00535756778717041,
0.005454847812652588,
0.005419007778167725,
0.005511168003082275,
0.005537792205810547,
0.00556441593170166,
0.0055511040687561035,
0.005504000186920166,
0.005469183921813964,
0.005446656227111817,
0.0053975038528442385,
0.0055582718849182125,
0.005463039875030518,
0.005481472015380859,
0.005505023956298828,
0.005344255924224854,
0.005389311790466309,
0.005450751781463623,
0.005406720161437988,
0.005560319900512695,
0.005484543800354004,
0.005390336036682129,
0.00542406415939331,
0.005387263774871826,
0.005400576114654541,
0.005429247856140137,
0.005395455837249756,
0.005413887977600097,
0.005426176071166992,
0.0054917120933532714,
0.005594111919403076,
0.005508096218109131,
0.005563392162322998,
0.005547008037567139,
0.0054579200744628905,
0.005517312049865723,
0.0053534722328186036,
0.005417984008789062,
0.005426176071166992,
0.005329919815063477,
0.00531763219833374,
0.005195775985717774,
0.005115903854370117,
0.005306367874145508,
0.005450751781463623,
0.005230591773986816,
0.005078015804290771,
0.005090303897857666,
0.005105663776397705,
0.005089280128479004,
0.005114880084991455,
0.005138432025909424,
0.005194752216339111,
0.005472256183624268,
0.005448703765869141,
0.00547430419921875,
0.005633024215698243,
0.005689343929290771,
0.00537395191192627,
0.0053637118339538575,
0.00531763219833374,
0.005351424217224121,
0.005371903896331787,
0.005352447986602784,
0.005312511920928955,
0.005359615802764893,
0.00530841588973999,
0.005326879978179932,
0.0053637118339538575,
0.005322751998901368,
0.005339136123657226,
0.005371903896331787,
0.00530841588973999,
0.00586956787109375,
0.005371903896331787,
0.0053043198585510255,
0.005339136123657226,
0.005307392120361328,
0.005298175811767578,
0.005328896045684814,
0.005295104026794434,
0.005285823822021484,
0.005325823783874512,
0.00530944013595581,
0.005314559936523438,
0.0053340158462524415,
0.005287936210632324,
0.005306367874145508,
0.005325823783874512,
0.00531660795211792,
0.005295104026794434,
0.0053647360801696775,
0.005413887977600097,
0.005337152004241943,
0.005319680213928223,
0.005301184177398681,
0.005331967830657959,
0.005313536167144775,
0.005291007995605469,
0.0052930560111999515,
0.005329919815063477,
0.0052930240631103515,
0.005302271842956543,
0.005325823783874512,
0.005230591773986816,
0.005235712051391602,
0.005283840179443359,
0.005307392120361328,
0.005277664184570313,
0.0053340158462524415,
0.005298175811767578,
0.005232639789581299,
0.005249023914337158,
0.0052408318519592285,
0.005281792163848877,
0.00530944013595581,
0.005287936210632324,
0.0053002238273620605,
0.0052971520423889164,
0.005314559936523438,
0.0052899842262268066,
0.005265408039093018,
0.005286911964416504,
0.00582041597366333,
0.005346303939819336,
0.00526643180847168,
0.0052705278396606445,
0.005311488151550293,
0.005227519989013672,
0.005245952129364013,
0.0052930560111999515,
0.005235712051391602,
0.005227519989013672,
0.005228544235229492,
0.005262335777282715,
0.0052336640357971195,
0.005257215976715088,
0.005261312007904053,
0.005216256141662597,
0.005279679775238037,
0.005312511920928955,
0.005257215976715088,
0.005243904113769531,
0.005278719902038574,
0.005274623870849609
]
},
"throughput": {
"unit": "samples/s",
"value": 185.68944024320285
},
"energy": {
"unit": "kWh",
"cpu": 6.273937691386345e-08,
"ram": 3.430081545784127e-08,
"gpu": 1.3854508438095253e-07,
"total": 2.3558527675265725e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4244747.4383125715
}
}
}
}