IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
39cc079 verified
raw
history blame
11.4 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "519f5ad32b6cd1fea2bd501503e24d19a1e23c22",
"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": "1.0.3",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1821.753344,
"max_global_vram": 2166.964224,
"max_process_vram": 99736.154112,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 162,
"total": 0.99669562625885,
"mean": 0.006152442137400309,
"stdev": 0.0003458798814338072,
"p50": 0.006072623014450073,
"p90": 0.006538765096664428,
"p95": 0.006562364840507507,
"p99": 0.006832638874053947,
"values": [
0.006343183040618897,
0.0063524627685546875,
0.0063319821357727055,
0.006342862129211426,
0.006192623138427734,
0.006253101825714111,
0.006201743125915527,
0.006188942909240723,
0.006157583236694336,
0.006139342784881592,
0.0060748629570007324,
0.006034702777862549,
0.00601966381072998,
0.006030863761901856,
0.005999503135681153,
0.0060009431838989255,
0.006000143051147461,
0.005977263927459717,
0.005930543899536133,
0.006115822792053222,
0.005957262992858887,
0.005970862865447998,
0.006232943058013916,
0.005933262825012207,
0.0061641430854797365,
0.00595870304107666,
0.0059332637786865235,
0.00595982313156128,
0.0059639840126037595,
0.005943984031677246,
0.0059702229499816895,
0.005950064182281494,
0.005912303924560547,
0.005957582950592041,
0.0059425439834594725,
0.006173582077026367,
0.0061268630027770995,
0.006208302974700927,
0.006588941097259522,
0.006598701953887939,
0.008399017333984375,
0.007198540210723877,
0.006562380790710449,
0.006516302108764648,
0.006518062114715576,
0.0065246219635009765,
0.0065046210289001465,
0.006563662052154541,
0.006550221920013428,
0.006551661014556885,
0.006584142208099365,
0.006563501834869385,
0.006519021987915039,
0.0065313420295715335,
0.006562061786651611,
0.006539021015167236,
0.006529741764068604,
0.006518861770629883,
0.00653646183013916,
0.006500620841979981,
0.006501902103424073,
0.006534701824188233,
0.006502542018890381,
0.0065196619033813475,
0.00648350191116333,
0.006563982009887695,
0.006513741970062256,
0.006558540821075439,
0.006535342216491699,
0.006529582023620605,
0.006528781890869141,
0.00655614185333252,
0.006533421993255615,
0.006544462203979492,
0.006530381202697754,
0.00651790189743042,
0.0064695820808410645,
0.00644686222076416,
0.006519822120666504,
0.006543341159820556,
0.00640382194519043,
0.006402223110198974,
0.006211022853851319,
0.006316781997680664,
0.006179022789001465,
0.006270223140716553,
0.006386861801147461,
0.006395981788635254,
0.005800303936004639,
0.005791983127593994,
0.0058092641830444335,
0.006026863098144531,
0.005757904052734375,
0.005708784103393555,
0.0058030238151550294,
0.005788784027099609,
0.005802864074707031,
0.005797904014587402,
0.005800464153289795,
0.005787504196166992,
0.005780303955078125,
0.005839182853698731,
0.005903183937072754,
0.0058355040550231935,
0.0056654238700866695,
0.00581054401397705,
0.005820623874664307,
0.005796463012695313,
0.005895984172821045,
0.005745903968811035,
0.005816463947296143,
0.005793744087219238,
0.005797264099121094,
0.005796624183654785,
0.0058287839889526365,
0.0057907037734985355,
0.005822224140167236,
0.0058166241645812985,
0.005853743076324463,
0.005795504093170166,
0.005820943832397461,
0.005934382915496826,
0.005808303833007813,
0.005832784175872803,
0.00616798210144043,
0.006503022193908691,
0.006364942073822022,
0.00597870397567749,
0.006228462219238281,
0.00593614387512207,
0.006102703094482422,
0.005980783939361572,
0.006251182079315186,
0.006039022922515869,
0.00617598295211792,
0.006070383071899414,
0.006027663230895996,
0.006447502136230469,
0.006106702804565429,
0.00616014289855957,
0.005933743000030517,
0.0061691031455993655,
0.005937902927398681,
0.00621854305267334,
0.0060038228034973145,
0.006160623073577881,
0.006021583080291748,
0.006137262821197509,
0.006068303108215332,
0.006069102764129639,
0.005828303813934326,
0.005856303215026856,
0.005847504138946533,
0.005820623874664307,
0.005782543182373047,
0.005805103778839111,
0.005821904182434082,
0.0057670240402221675,
0.005809584140777588,
0.0058278231620788575,
0.005791823863983154,
0.005789423942565918
]
},
"throughput": {
"unit": "samples/s",
"value": 162.53708326992023
},
"energy": null,
"efficiency": null
}
}
}