IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
57c0572 verified
raw
history blame
11.3 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": {},
"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": "a7a97473b632c48148612a312a4eb89b241c78ba",
"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": 982.89664,
"max_global_vram": 2695.733248,
"max_process_vram": 45875.449856,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.4304736328125,
"mean": 7.4304736328125,
"stdev": 0.0,
"p50": 7.4304736328125,
"p90": 7.4304736328125,
"p95": 7.4304736328125,
"p99": 7.4304736328125,
"values": [
7.4304736328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1834.049536,
"max_global_vram": 2801.09056,
"max_process_vram": 282257.952768,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.9980753321647644,
"mean": 0.00723242994322293,
"stdev": 0.0005504770779941904,
"p50": 0.006976861953735352,
"p90": 0.0077895000457763675,
"p95": 0.008182034873962404,
"p99": 0.008635853042602538,
"values": [
0.008364779472351074,
0.008260137557983398,
0.008647337913513183,
0.00861325740814209,
0.008616297721862794,
0.008239018440246581,
0.008171978950500489,
0.007958539009094238,
0.00789054012298584,
0.0076460599899291996,
0.007933419227600097,
0.007491661071777344,
0.007411180973052978,
0.007353421211242676,
0.01058957290649414,
0.00806429958343506,
0.007803659915924072,
0.0077487797737121585,
0.007669099807739258,
0.007446701049804687,
0.007394060134887696,
0.007589100837707519,
0.007260140895843506,
0.007570539951324463,
0.007463181018829345,
0.007414539813995361,
0.007775179862976074,
0.007716139793395996,
0.007740940093994141,
0.007720459938049316,
0.007721419811248779,
0.007745259761810302,
0.007712299823760986,
0.007696619987487793,
0.007743659973144531,
0.007720940113067627,
0.007762219905853272,
0.007712460041046142,
0.007726860046386719,
0.00772077989578247,
0.007130702018737793,
0.007250861167907715,
0.007030382156372071,
0.007078701019287109,
0.006978221893310547,
0.006828301906585693,
0.0068113431930541994,
0.006812302112579346,
0.006815822124481201,
0.0069723019599914554,
0.00683550214767456,
0.006821422100067138,
0.006818862915039062,
0.0068303818702697755,
0.007066542148590088,
0.006808143138885498,
0.006866541862487793,
0.006854382038116455,
0.0068041419982910155,
0.006816623210906983,
0.006818702220916748,
0.006813101768493653,
0.006795503139495849,
0.006842223167419434,
0.00680830192565918,
0.006836301803588867,
0.006807501792907715,
0.00682062292098999,
0.006808142185211182,
0.006792141914367676,
0.006821903228759765,
0.00681358289718628,
0.006781102180480957,
0.006797101974487305,
0.0068046231269836424,
0.006787981986999512,
0.006975502014160156,
0.006975502014160156,
0.0068327817916870115,
0.006789902210235596,
0.006766222953796387,
0.006837582111358643,
0.006794221878051758,
0.006823502063751221,
0.006806222915649414,
0.0068414220809936525,
0.0068113417625427245,
0.006815982818603516,
0.006807662963867187,
0.0068041419982910155,
0.006779181957244873,
0.0068094229698181154,
0.00680062198638916,
0.006785741806030273,
0.006842542171478272,
0.0068063831329345705,
0.006809422016143799,
0.007696459770202637,
0.0077628598213195805,
0.0075946998596191405,
0.007280780792236328,
0.007208780765533447,
0.007292140960693359,
0.007169742107391358,
0.007240622043609619,
0.007248140811920166,
0.006843822002410889,
0.007458381175994873,
0.007801259994506836,
0.007784460067749023,
0.007503980159759521,
0.007283660888671875,
0.00733518123626709,
0.00733358097076416,
0.007295341014862061,
0.007288300991058349,
0.007282381057739258,
0.007311340808868408,
0.007380461215972901,
0.007368300914764404,
0.007122701168060303,
0.00681358289718628,
0.0068108620643615725,
0.0068182220458984375,
0.00680206298828125,
0.006812142848968506,
0.006837582111358643,
0.0068206219673156735,
0.006822062015533447,
0.006798542976379394,
0.006811340808868408,
0.006819662094116211,
0.0067953429222106934,
0.006820941925048828,
0.006817262172698974,
0.006819662094116211,
0.006803183078765869,
0.006842701911926269
]
},
"throughput": {
"unit": "samples/s",
"value": 138.2661163468357
},
"energy": null,
"efficiency": null
}
}
}