IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bce026b verified
raw
history blame
10.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,
"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",
"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": "2a33a472f309c43b5bd16946ef9cec843d02f70a",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1832.464384,
"max_global_vram": 520.536064,
"max_process_vram": 108172.45184,
"max_reserved": 148.897792,
"max_allocated": 113.520128
},
"latency": {
"unit": "s",
"count": 131,
"total": 0.9955196452140811,
"mean": 0.00759938660468764,
"stdev": 0.0003344453570967453,
"p50": 0.007444798946380615,
"p90": 0.008156638145446777,
"p95": 0.008196078300476074,
"p99": 0.008325742530822753,
"values": [
0.0077819180488586425,
0.007470398902893066,
0.007488798141479492,
0.007440639019012451,
0.007522878170013428,
0.007718399047851563,
0.007770078182220459,
0.007737119197845459,
0.007732478141784668,
0.007712479114532471,
0.007723837852478027,
0.007678558826446533,
0.007619038105010987,
0.007662239074707031,
0.007679038047790528,
0.007599198818206787,
0.0076063981056213375,
0.007594879150390625,
0.0075620789527893065,
0.0075305581092834474,
0.007566719055175781,
0.007501118183135987,
0.007535519123077393,
0.009635038375854492,
0.008294717788696289,
0.0075694389343261715,
0.007675198078155518,
0.00739263916015625,
0.0074070382118225095,
0.007379518985748291,
0.00740111780166626,
0.007379038810729981,
0.007384637832641602,
0.007362238883972168,
0.007431038856506348,
0.0074081578254699704,
0.0074201588630676265,
0.007393757820129395,
0.007391199111938477,
0.007405278205871582,
0.007592479228973389,
0.007373437881469726,
0.007424318790435791,
0.007422557830810547,
0.007437119007110596,
0.007393278121948242,
0.007758718967437744,
0.007621438026428223,
0.00751055908203125,
0.007371198177337646,
0.007432639122009277,
0.00760799789428711,
0.007407518863677978,
0.007382718086242676,
0.007422719001770019,
0.007414078235626221,
0.007409119129180909,
0.007407837867736816,
0.007444798946380615,
0.007589598178863525,
0.007428159236907959,
0.007444797992706299,
0.007482398986816406,
0.007416317939758301,
0.0073057589530944825,
0.007450397968292236,
0.007406239032745361,
0.00738687801361084,
0.007392478942871094,
0.007378879070281982,
0.007407679080963135,
0.007382399082183838,
0.007420638084411621,
0.007402399063110352,
0.007392797946929932,
0.007405758857727051,
0.007309438228607178,
0.0072777590751647945,
0.007465598106384278,
0.007307999134063721,
0.007445757865905762,
0.007333118915557862,
0.007454078197479248,
0.007640159130096436,
0.007695357799530029,
0.007396159172058106,
0.008008797645568848,
0.00779167890548706,
0.007817277908325196,
0.0074220790863037105,
0.007382398128509522,
0.007620479106903076,
0.007299997806549072,
0.007295679092407226,
0.0074919981956481935,
0.00728623914718628,
0.0074167981147766114,
0.007281438827514648,
0.007451518058776856,
0.0073131189346313475,
0.00742511796951294,
0.007376638889312745,
0.007357118129730225,
0.007405919075012207,
0.007249598026275635,
0.00740415906906128,
0.007430398941040039,
0.007415358066558838,
0.007324958801269531,
0.007273598194122315,
0.007435198783874512,
0.007603678226470947,
0.008191357612609864,
0.008224159240722657,
0.008196798324584961,
0.008020479202270508,
0.008127677917480468,
0.008156638145446777,
0.008116639137268067,
0.008195358276367188,
0.008203997611999511,
0.008151679039001465,
0.008173598289489745,
0.008142719268798828,
0.008181596755981445,
0.008182718276977538,
0.008339038848876953,
0.008167037963867188,
0.008093277931213378,
0.008023999214172363,
0.008231517791748046
]
},
"throughput": {
"unit": "samples/s",
"value": 131.58956795054425
},
"energy": null,
"efficiency": null
}
}
}