IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2b0db0b 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": "e291e9b18cfb323457af60f15f2bb33803718668",
"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.410368,
"max_global_vram": 409.120768,
"max_process_vram": 45451.972608,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.449177734375,
"mean": 7.449177734375,
"stdev": 0.0,
"p50": 7.449177734375,
"p90": 7.449177734375,
"p95": 7.449177734375,
"p99": 7.449177734375,
"values": [
7.449177734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1839.173632,
"max_global_vram": 520.495104,
"max_process_vram": 288638.992384,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9970649452209472,
"mean": 0.0073856662608959055,
"stdev": 0.00023033220629811252,
"p50": 0.007350286960601807,
"p90": 0.007688272953033448,
"p95": 0.007820578002929688,
"p99": 0.008084452247619629,
"values": [
0.008093972206115723,
0.00783301019668579,
0.007375886917114258,
0.007440046787261963,
0.007290767192840576,
0.007256367206573486,
0.007078444957733155,
0.00712052583694458,
0.007096845149993897,
0.007426607131958008,
0.007652688980102539,
0.007367567062377929,
0.007670608997344971,
0.007307247161865234,
0.007111886024475098,
0.007201965808868408,
0.007363246917724609,
0.007389967918395996,
0.00735508680343628,
0.0072794070243835446,
0.00726436710357666,
0.007184525966644287,
0.007436206817626953,
0.007218605995178222,
0.007445807933807373,
0.007483727931976318,
0.00776101016998291,
0.007779729843139648,
0.007997490882873536,
0.007414126873016357,
0.007193325996398926,
0.007268686771392822,
0.007219406127929687,
0.007252205848693847,
0.007560529232025146,
0.007092685222625733,
0.007292047023773194,
0.007304367065429688,
0.007289967060089111,
0.007350286960601807,
0.007437967777252198,
0.007478127956390381,
0.007348687171936035,
0.007349647045135498,
0.0073814868927001955,
0.007357646942138672,
0.007626608848571777,
0.007291246891021728,
0.007393807888031006,
0.007398927211761474,
0.007402607917785645,
0.007389807224273682,
0.007449967861175537,
0.007409167766571045,
0.007561488151550293,
0.007848851203918457,
0.007531888008117675,
0.007721169948577881,
0.007287247180938721,
0.0071646862030029295,
0.0071536459922790525,
0.007159406185150146,
0.007163246154785156,
0.007196206092834473,
0.007423088073730468,
0.007149965763092041,
0.00716356611251831,
0.007177485942840576,
0.007158606052398681,
0.007138125896453858,
0.007146766185760498,
0.0071358861923217776,
0.007152845859527588,
0.00712884521484375,
0.007136364936828613,
0.0071574850082397464,
0.007285965919494629,
0.007164205074310303,
0.007365966796875,
0.007141166210174561,
0.007150125980377197,
0.007548687934875488,
0.007388847827911377,
0.00733316707611084,
0.007166766166687012,
0.007160525798797607,
0.0071517257690429685,
0.007144686222076416,
0.007154446125030517,
0.007146925926208496,
0.00717940616607666,
0.007815249919891357,
0.008116532325744628,
0.007601169109344483,
0.007656369209289551,
0.007629487991333008,
0.007705489158630371,
0.007658928871154785,
0.007715730190277099,
0.007700048923492432,
0.007506927967071533,
0.007437326908111572,
0.007388047218322754,
0.007401486873626709,
0.008055412292480468,
0.008065972328186035,
0.007533808231353759,
0.007602128982543945,
0.007562128067016602,
0.007663409233093262,
0.007629008769989014,
0.007603888988494873,
0.007631409168243408,
0.007588848114013672,
0.007508528232574463,
0.007406126976013183,
0.007300206184387207,
0.0074286870956420895,
0.007468688011169434,
0.007365647792816162,
0.00734740686416626,
0.007348046779632568,
0.007310926914215088,
0.007215246200561524,
0.007405807018280029,
0.007187565803527832,
0.007189165115356446,
0.0072550859451293945,
0.007198606014251709,
0.007167884826660156,
0.0071842060089111325,
0.007281005859375,
0.007185966014862061,
0.007303566932678223,
0.007161325931549072
]
},
"throughput": {
"unit": "samples/s",
"value": 135.3973987823675
},
"energy": null,
"efficiency": null
}
}
}