IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
13d2292 verified
raw
history blame
12.6 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.025088,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 184,
"total": 0.995484959602356,
"mean": 0.005410244345664978,
"stdev": 0.00034670945557611785,
"p50": 0.00534169602394104,
"p90": 0.005549465417861939,
"p95": 0.0059059151172637945,
"p99": 0.007583621325492858,
"values": [
0.00801587200164795,
0.007638016223907471,
0.007572480201721191,
0.006231040000915527,
0.005746687889099121,
0.005915647983551026,
0.005923840045928955,
0.005907455921173096,
0.005931007862091065,
0.005897183895111084,
0.005997568130493164,
0.0061859841346740725,
0.005230591773986816,
0.0050769920349121095,
0.00515174388885498,
0.0050800638198852536,
0.005112832069396973,
0.0050841598510742185,
0.005126143932342529,
0.005099520206451416,
0.00506879997253418,
0.005125120162963868,
0.005137407779693603,
0.005093344211578369,
0.005094399929046631,
0.005082111835479736,
0.005054463863372802,
0.005033984184265137,
0.00506982421875,
0.005277696132659912,
0.005312511920928955,
0.005296127796173096,
0.005328896045684814,
0.005315584182739258,
0.005288991928100586,
0.005341184139251709,
0.005282783985137939,
0.005298175811767578,
0.00531763219833374,
0.005349376201629639,
0.0053002238273620605,
0.0053340158462524415,
0.005328959941864013,
0.0053002238273620605,
0.00535148811340332,
0.005311488151550293,
0.0053012480735778805,
0.005362688064575195,
0.005292031764984131,
0.00531763219833374,
0.005337088108062744,
0.005322815895080567,
0.005438464164733887,
0.005431295871734619,
0.005596159934997558,
0.005437439918518067,
0.005371903896331787,
0.005339136123657226,
0.0054271998405456545,
0.005425151824951172,
0.005378047943115235,
0.005476352214813233,
0.005403647899627686,
0.005396480083465576,
0.005408768177032471,
0.005352447986602784,
0.005405695915222168,
0.005342207908630371,
0.005314559936523438,
0.0053534722328186036,
0.0053350400924682614,
0.005385216236114502,
0.00538316822052002,
0.005396480083465576,
0.005385216236114502,
0.005404672145843506,
0.005398528099060058,
0.00536678409576416,
0.005417984008789062,
0.005389311790466309,
0.005313536167144775,
0.00535756778717041,
0.005323775768280029,
0.005318655967712403,
0.005377024173736572,
0.005292031764984131,
0.00531660795211792,
0.005325823783874512,
0.005340159893035889,
0.005285855770111084,
0.005337088108062744,
0.005325823783874512,
0.00530841588973999,
0.005319680213928223,
0.005356544017791748,
0.005338111877441406,
0.005401599884033203,
0.00537497615814209,
0.00536678409576416,
0.0053340158462524415,
0.005332992076873779,
0.005341184139251709,
0.005477375984191894,
0.005560256004333496,
0.005550079822540284,
0.005513216018676758,
0.0055582718849182125,
0.005559296131134033,
0.005548031806945801,
0.005620736122131348,
0.00549894380569458,
0.005468160152435303,
0.005420032024383545,
0.005404672145843506,
0.0054568958282470706,
0.005426176071166992,
0.00541593599319458,
0.005396480083465576,
0.005410816192626953,
0.005388319969177246,
0.0054436478614807125,
0.005402624130249023,
0.005362688064575195,
0.005425151824951172,
0.005359615802764893,
0.00541596794128418,
0.005385216236114502,
0.00532480001449585,
0.005350399971008301,
0.005318655967712403,
0.005314559936523438,
0.005312511920928955,
0.005344255924224854,
0.005573631763458252,
0.005413887977600097,
0.005402624130249023,
0.0053647360801696775,
0.005356544017791748,
0.005322751998901368,
0.005284863948822022,
0.005323808193206787,
0.005295072078704834,
0.005306367874145508,
0.005508096218109131,
0.005363743782043457,
0.005368832111358642,
0.005337088108062744,
0.0053309440612792965,
0.005309408187866211,
0.00535756778717041,
0.0053043198585510255,
0.005306367874145508,
0.005370880126953125,
0.005286911964416504,
0.005340159893035889,
0.005346303939819336,
0.005290016174316407,
0.005329919815063477,
0.005307392120361328,
0.00531660795211792,
0.005305344104766845,
0.005305344104766845,
0.005306335926055908,
0.005328896045684814,
0.0053637118339538575,
0.005323775768280029,
0.005339136123657226,
0.005349376201629639,
0.005302271842956543,
0.005356544017791748,
0.005340127944946289,
0.005324831962585449,
0.005329919815063477,
0.005350399971008301,
0.005318655967712403,
0.005385280132293701,
0.005430272102355957,
0.00536575984954834,
0.005422080039978027,
0.005336063861846924,
0.005286911964416504,
0.005326848030090332,
0.005303296089172363,
0.005328896045684814
]
},
"throughput": {
"unit": "samples/s",
"value": 184.8345353941845
},
"energy": {
"unit": "kWh",
"cpu": 6.375774883597272e-08,
"ram": 3.4824475856698523e-08,
"gpu": 1.3742991878494678e-07,
"total": 2.3601214347761803e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4237070.115397829
}
}
}
}