IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d37ea42 verified
raw
history blame
12 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_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.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.123072,
"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.481060546875,
"mean": 7.481060546875,
"stdev": 0.0,
"p50": 7.481060546875,
"p90": 7.481060546875,
"p95": 7.481060546875,
"p99": 7.481060546875,
"values": [
7.481060546875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3363723489973285e-06,
"ram": 2.3607767483493565e-06,
"gpu": 6.221949421999942e-06,
"total": 1.2919098519346628e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.887808,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 142,
"total": 0.9977865915298462,
"mean": 0.007026666137534128,
"stdev": 0.00021551606902496642,
"p50": 0.007094272136688232,
"p90": 0.007260335826873779,
"p95": 0.00733731849193573,
"p99": 0.007461662793159485,
"values": [
0.007555071830749512,
0.00740556812286377,
0.007479296207427978,
0.007311359882354736,
0.007324672222137451,
0.007379968166351319,
0.007237631797790528,
0.007211008071899414,
0.007323647975921631,
0.007186431884765625,
0.007231488227844239,
0.007383039951324463,
0.007108607769012451,
0.007166975975036621,
0.007215104103088379,
0.0072202558517456055,
0.0072130560874938965,
0.007226367950439453,
0.0072120318412780765,
0.007124991893768311,
0.007145472049713135,
0.007261151790618896,
0.007195648193359375,
0.007192575931549072,
0.007229440212249756,
0.007178239822387696,
0.007156735897064209,
0.007214079856872559,
0.00723356819152832,
0.00724889612197876,
0.007116799831390381,
0.00707583999633789,
0.007226367950439453,
0.007173120021820068,
0.0071526398658752445,
0.007154687881469727,
0.007218175888061523,
0.007204864025115967,
0.0072427520751953125,
0.007271423816680909,
0.007235583782196045,
0.007171072006225586,
0.007173120021820068,
0.007126016139984131,
0.007337984085083008,
0.007436287879943848,
0.007153664112091064,
0.0072120318412780765,
0.007220160007476806,
0.007054336071014404,
0.00709222412109375,
0.007062528133392334,
0.0072427520751953125,
0.0071792640686035155,
0.007128064155578613,
0.0071188478469848635,
0.007096320152282715,
0.007157760143280029,
0.007114751815795899,
0.007137279987335205,
0.007352320194244385,
0.00729702377319336,
0.007252992153167725,
0.0072765440940856935,
0.007236608028411865,
0.007185408115386963,
0.007196671962738037,
0.007124991893768311,
0.007146463871002197,
0.007188479900360107,
0.007080959796905518,
0.007002111911773682,
0.0069283838272094726,
0.007048192024230957,
0.007070720195770264,
0.00683523178100586,
0.006772736072540283,
0.006818816184997558,
0.006840320110321045,
0.006925248146057129,
0.007208960056304932,
0.007114751815795899,
0.007144447803497315,
0.0071823358535766605,
0.007200767993927002,
0.0070522880554199216,
0.006977536201477051,
0.00684441614151001,
0.006788095951080322,
0.006834176063537598,
0.006821887969970703,
0.006781951904296875,
0.006825984001159668,
0.006806528091430664,
0.006842368125915528,
0.006804480075836182,
0.006812672138214112,
0.006801407814025879,
0.0067645440101623535,
0.006788095951080322,
0.006785024166107178,
0.006760447978973389,
0.006776832103729248,
0.006796288013458252,
0.006781951904296875,
0.006770688056945801,
0.006773759841918945,
0.006806528091430664,
0.006760447978973389,
0.006851583957672119,
0.006767615795135498,
0.006751232147216797,
0.006772736072540283,
0.006762495994567871,
0.0067717118263244626,
0.006748159885406494,
0.00677785587310791,
0.00678604793548584,
0.00674508810043335,
0.00676966381072998,
0.0067717118263244626,
0.006739967823028564,
0.0067870721817016606,
0.0067645440101623535,
0.006789152145385742,
0.006759424209594727,
0.006834176063537598,
0.006937600135803222,
0.0067983360290527345,
0.006804480075836182,
0.006785024166107178,
0.006765567779541016,
0.006841343879699707,
0.0068055038452148435,
0.006830080032348633,
0.006751232147216797,
0.006812672138214112,
0.0067717118263244626,
0.0067645440101623535,
0.006760479927062989,
0.00676966381072998,
0.006789120197296142
]
},
"throughput": {
"unit": "samples/s",
"value": 142.31500122915054
},
"energy": {
"unit": "kWh",
"cpu": 7.556775256580102e-08,
"ram": 4.131109492930972e-08,
"gpu": 1.5504789473885322e-07,
"total": 2.7192674223396396e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3677461.0388985085
}
}
}
}