IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8300b1c verified
raw
history blame
11.7 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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.54496,
"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.700599609375,
"mean": 7.700599609375,
"stdev": 0.0,
"p50": 7.700599609375,
"p90": 7.700599609375,
"p95": 7.700599609375,
"p99": 7.700599609375,
"values": [
7.700599609375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.364662485416441e-06,
"ram": 2.3479239528915687e-06,
"gpu": 4.905559480000233e-06,
"total": 1.1618145918308242e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.284416,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9981930551528927,
"mean": 0.0072860806945466644,
"stdev": 0.00018733769392348864,
"p50": 0.007288832187652588,
"p90": 0.0075495424270629885,
"p95": 0.007595417499542236,
"p99": 0.007667834854125977,
"values": [
0.007590911865234375,
0.00743833589553833,
0.0074997758865356446,
0.007411712169647216,
0.007294976234436036,
0.007315455913543701,
0.007334911823272705,
0.0073994240760803225,
0.007288832187652588,
0.007250944137573242,
0.00727347183227539,
0.007294976234436036,
0.0072468481063842774,
0.007188479900360107,
0.007256063938140869,
0.007366655826568603,
0.007324672222137451,
0.007344128131866455,
0.007342080116271973,
0.0073471999168395995,
0.007301119804382325,
0.00727452802658081,
0.007209983825683594,
0.007326687812805176,
0.007345151901245117,
0.007294976234436036,
0.0073062400817871095,
0.007318528175354004,
0.007260159969329834,
0.007229440212249756,
0.00728985595703125,
0.007341055870056152,
0.007322624206542969,
0.007231488227844239,
0.007175168037414551,
0.00724070405960083,
0.007223296165466309,
0.00764518404006958,
0.007552000045776367,
0.007640160083770752,
0.007395328044891358,
0.007482367992401123,
0.007329792022705078,
0.0073175039291381834,
0.007354368209838867,
0.007332863807678222,
0.00723967981338501,
0.007201791763305664,
0.00738099193572998,
0.007364607810974121,
0.007270400047302246,
0.007266304016113281,
0.007634943962097168,
0.007432191848754883,
0.007437312126159668,
0.007483391761779785,
0.007464960098266602,
0.007674880027770996,
0.0074967041015625,
0.007468031883239746,
0.007512063980102539,
0.007557119846343994,
0.007497727870941162,
0.007520224094390869,
0.007455679893493652,
0.007590911865234375,
0.007662591934204102,
0.007613440036773681,
0.0075304961204528805,
0.0073768959045410155,
0.007274496078491211,
0.007274496078491211,
0.007547904014587403,
0.007473087787628173,
0.0075008001327514645,
0.00757862377166748,
0.007457791805267334,
0.007419904232025146,
0.007292928218841553,
0.00729804801940918,
0.007464960098266602,
0.00704307222366333,
0.006873087882995605,
0.006903808116912841,
0.006847487926483154,
0.007279615879058838,
0.007453695774078369,
0.007483391761779785,
0.0075632638931274416,
0.007585792064666748,
0.007670783996582031,
0.007418879985809326,
0.007269375801086426,
0.007234560012817383,
0.007301119804382325,
0.007250944137573242,
0.007221248149871826,
0.0071188478469848635,
0.007160831928253173,
0.007157760143280029,
0.007143424034118652,
0.00713318395614624,
0.007147520065307617,
0.00709222412109375,
0.007098368167877197,
0.007110623836517334,
0.007053311824798584,
0.007085055828094483,
0.00709939193725586,
0.007093247890472412,
0.0070830078125,
0.007060480117797851,
0.007094272136688232,
0.007081984043121338,
0.006933504104614257,
0.006818816184997558,
0.0069928960800170895,
0.007097343921661377,
0.007096352100372315,
0.007053311824798584,
0.007087103843688965,
0.007111680030822754,
0.007106560230255127,
0.007080959796905518,
0.007062528133392334,
0.00709939193725586,
0.0071485118865966795,
0.007108607769012451,
0.007057407855987549,
0.007074816226959229,
0.007154687881469727,
0.007106560230255127,
0.007101439952850342,
0.00707583999633789,
0.007109632015228271,
0.007117824077606201,
0.007116799831390381
]
},
"throughput": {
"unit": "samples/s",
"value": 137.2479995655908
},
"energy": {
"unit": "kWh",
"cpu": 8.455798507440482e-08,
"ram": 4.623225364324076e-08,
"gpu": 1.7775411045714214e-07,
"total": 3.0854434917478777e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3241025.1643711305
}
}
}
}