IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
06c4e5c verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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": "6",
"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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1177.27232,
"max_global_vram": 68702.69952,
"max_process_vram": 7438.35648,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.49152197265625
],
"count": 1,
"total": 0.49152197265625,
"mean": 0.49152197265625,
"p50": 0.49152197265625,
"p90": 0.49152197265625,
"p95": 0.49152197265625,
"p99": 0.49152197265625,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1261.707264,
"max_global_vram": 68702.69952,
"max_process_vram": 120409.440256,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"values": [
0.0077640128135681155,
0.007113933086395264,
0.0071496119499206544,
0.007141132831573486,
0.007082732200622559,
0.007068811893463135,
0.007077773094177246,
0.007088332176208496,
0.007065773010253906,
0.007080972194671631,
0.00706849193572998,
0.00703953218460083,
0.007091852188110351,
0.0070460929870605465,
0.007076972007751465,
0.007082732200622559,
0.007059372901916504,
0.007078251838684082,
0.007062733173370361,
0.0070169720649719235,
0.007060811996459961,
0.0070459327697753905,
0.00702321195602417,
0.007032651901245118,
0.00704097318649292,
0.007047371864318848,
0.007021612167358399,
0.007028333187103272,
0.007019852161407471,
0.007025931835174561,
0.007044332981109619,
0.007072651863098144,
0.007082571983337402,
0.007238893032073974,
0.00709201192855835,
0.007075531959533692,
0.007052172183990479,
0.007068013191223145,
0.007087212085723877,
0.007086892127990723,
0.007352811813354492,
0.007507372856140137,
0.0076974530220031735,
0.007404812812805176,
0.007828814029693603,
0.0074844927787780765,
0.007530733108520508,
0.0076384139060974125,
0.007605772972106933,
0.007632812976837158,
0.00768657398223877,
0.007528333187103271,
0.007693772792816162,
0.008037774085998536,
0.008015534400939942,
0.008022093772888183,
0.0080068941116333,
0.008023373603820801,
0.008050253868103027,
0.008021614074707032,
0.007974093914031982,
0.00799057388305664,
0.007738412857055664,
0.007649133205413819,
0.00709905195236206,
0.007116013050079346,
0.0071374521255493165,
0.007117292881011963,
0.007116971969604492,
0.007061293125152588,
0.007056012153625489,
0.007064971923828125,
0.007049132823944091,
0.007023372173309326,
0.007063052177429199,
0.007073452949523926,
0.007063531875610351,
0.007058413028717041,
0.007491693019866943,
0.007485292911529541,
0.007459853172302246,
0.0074675331115722655,
0.008014253616333008,
0.007515693187713623,
0.007511853218078613,
0.007509294033050537,
0.007494253158569336,
0.007504013061523438,
0.0071892919540405276,
0.007192492008209228,
0.007070412158966064,
0.0070358519554138185,
0.007052011966705322,
0.007039533138275146,
0.007048972129821777,
0.007047852039337158,
0.007042092800140381,
0.007022891998291016,
0.007288493156433105,
0.007053132057189941,
0.007055051803588867,
0.007429293155670166,
0.008065295219421387,
0.00811185359954834,
0.007966254234313965,
0.007969133853912354,
0.008052654266357422,
0.00801185417175293,
0.007996493816375733,
0.007951374053955079,
0.007952653884887695,
0.007970253944396972,
0.007985293865203857,
0.007966733932495118,
0.007979214191436768,
0.007965933799743653,
0.007956334114074707,
0.007956014156341553,
0.007954413890838624,
0.007945613861083984,
0.008194893836975097,
0.007981614112854004,
0.007968813896179198,
0.007970734119415283,
0.007980974197387695,
0.007968974113464356,
0.007997134208679198,
0.007952013969421386,
0.007968013763427734,
0.007974093914031982,
0.008001934051513672,
0.008021292686462402,
0.007981133937835694,
0.007986093997955322
],
"count": 134,
"total": 0.9994511837959289,
"mean": 0.007458590923850216,
"p50": 0.007378812313079834,
"p90": 0.008005406093597412,
"p95": 0.008022541713714599,
"p99": 0.008096489334106446,
"stdev": 0.00041195633276393034,
"stdev_": 5.523246105998711
},
"throughput": {
"unit": "samples/s",
"value": 134.07358175420455
},
"energy": null,
"efficiency": null
}
}
}