IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1436bc4 verified
raw
history blame
11.2 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_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": {},
"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,
"memory": true,
"latency": 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",
"numactl": false,
"numactl_kwargs": {},
"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.3.1",
"optimum_benchmark_commit": "bc977b19adf337e8eb02985f3cceb35e1a783a1c",
"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": 980.344832,
"max_global_vram": 411.230208,
"max_process_vram": 45974.560768,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.40481396484375,
"mean": 7.40481396484375,
"stdev": 0.0,
"p50": 7.40481396484375,
"p90": 7.40481396484375,
"p95": 7.40481396484375,
"p99": 7.40481396484375,
"values": [
7.40481396484375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1831.374848,
"max_global_vram": 522.633216,
"max_process_vram": 266575.077376,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.0010290842056278,
"mean": 0.0075265344677114855,
"stdev": 0.00039184975727408024,
"p50": 0.007438573837280273,
"p90": 0.007828334903717041,
"p95": 0.008056591224670407,
"p99": 0.008447823143005372,
"values": [
0.007816174030303956,
0.007593774795532226,
0.00747697401046753,
0.0074750537872314456,
0.0074916939735412596,
0.007570734977722168,
0.007624174118041992,
0.007457133769989014,
0.007469934940338135,
0.007496334075927734,
0.007504814147949219,
0.007501773834228516,
0.007509614944458008,
0.007410254001617432,
0.007422574043273926,
0.007476334095001221,
0.007477933883666992,
0.0074630541801452635,
0.007426414012908935,
0.007610895156860351,
0.007444334030151367,
0.007421294212341309,
0.0073668937683105465,
0.007374574184417724,
0.011015860557556153,
0.007410734176635742,
0.007504494190216065,
0.007293933868408203,
0.007214734077453613,
0.007183213233947754,
0.0073921728134155274,
0.007210093021392822,
0.007219694137573242,
0.007354894161224365,
0.0071689729690551755,
0.0072019329071044925,
0.0073449740409851074,
0.007198254108428955,
0.0073798542022705076,
0.0072465729713439946,
0.0073753738403320316,
0.00744689416885376,
0.007375693798065185,
0.007480974197387695,
0.007748815059661865,
0.007371533870697022,
0.007529294013977051,
0.007366414070129394,
0.007337934017181397,
0.007477933883666992,
0.00733937406539917,
0.007344493865966797,
0.007339054107666015,
0.007345293998718262,
0.007548334121704102,
0.0073448138236999515,
0.007356813907623291,
0.007321454048156738,
0.0074372940063476565,
0.0075320138931274415,
0.007357452869415283,
0.007510094165802002,
0.00733777379989624,
0.007349614143371582,
0.007221292972564697,
0.007365933895111084,
0.007391213893890381,
0.007380653858184814,
0.00735137414932251,
0.007459693908691406,
0.007439373970031738,
0.007444173812866211,
0.007390573978424072,
0.007442254066467285,
0.007415214061737061,
0.007371374130249023,
0.00735521411895752,
0.0073168139457702635,
0.0074776139259338376,
0.0073185739517211915,
0.007467534065246582,
0.007377453804016113,
0.00746161413192749,
0.00743105411529541,
0.007452654838562012,
0.007431213855743408,
0.007401453971862793,
0.007419213771820068,
0.007468974113464356,
0.007887054920196533,
0.008419535636901855,
0.00840657615661621,
0.007831375122070312,
0.007795694828033447,
0.007931855201721192,
0.007786573886871338,
0.007843695163726806,
0.007724814891815186,
0.007743054866790771,
0.007729934215545654,
0.007685935020446778,
0.007663373947143555,
0.007455533981323243,
0.007438573837280273,
0.007301454067230225,
0.0074520139694213864,
0.007417294025421142,
0.007446253776550293,
0.007369614124298095,
0.007302894115447998,
0.0075816140174865725,
0.008461134910583496,
0.008392334938049317,
0.008307696342468262,
0.007864174842834472,
0.007494574069976807,
0.007428654193878174,
0.007448013782501221,
0.007405293941497803,
0.007404973983764648,
0.007420013904571534,
0.007271533966064453,
0.0073755340576171875,
0.007327212810516358,
0.007346571922302246,
0.0073867330551147465,
0.0073304128646850585,
0.007477614879608154,
0.008243695259094238,
0.007885934829711914,
0.007755535125732422,
0.007643214225769043,
0.007893135070800781
]
},
"throughput": {
"unit": "samples/s",
"value": 132.86327250475736
},
"energy": null,
"efficiency": null
}
}
}