IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
523ab81
verified
{ | |
"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": "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.2.1", | |
"optimum_benchmark_commit": "d8da484bc148044dec1ba23c2d50d43cabd271ad", | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1818.738688, | |
"max_global_vram": 1521.647616, | |
"max_process_vram": 83307.986944, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 165, | |
"total": 0.9942585420608521, | |
"mean": 0.006025809345823346, | |
"stdev": 0.0003787870765782177, | |
"p50": 0.005905764102935791, | |
"p90": 0.006425027942657471, | |
"p95": 0.006439652061462403, | |
"p99": 0.007173943080902093, | |
"values": [ | |
0.007490563869476319, | |
0.0069880051612854, | |
0.0069958438873291015, | |
0.006222084045410157, | |
0.0057732839584350585, | |
0.005783203125, | |
0.0057444839477539065, | |
0.005884644031524658, | |
0.005692802906036377, | |
0.00568640422821045, | |
0.005693283081054688, | |
0.0056760039329528805, | |
0.005833923816680908, | |
0.005638082981109619, | |
0.00563184404373169, | |
0.005668162822723389, | |
0.0056569638252258305, | |
0.005723203182220459, | |
0.005693442821502685, | |
0.005718564033508301, | |
0.0057086429595947265, | |
0.005687203884124756, | |
0.005683203220367431, | |
0.005683844089508057, | |
0.0056736040115356445, | |
0.005689763069152832, | |
0.005727684020996094, | |
0.005681922912597656, | |
0.005708003997802734, | |
0.00570000410079956, | |
0.005706723213195801, | |
0.005688323974609375, | |
0.005682882785797119, | |
0.005705443859100342, | |
0.005915363788604736, | |
0.005694083213806152, | |
0.005881284236907959, | |
0.005905764102935791, | |
0.005892642974853516, | |
0.005693923950195312, | |
0.005911203861236572, | |
0.00568768310546875, | |
0.005712004184722901, | |
0.005700963973999024, | |
0.005946083068847656, | |
0.005976803779602051, | |
0.005916964054107666, | |
0.0058539237976074215, | |
0.005740962982177735, | |
0.00570112419128418, | |
0.005715202808380127, | |
0.005716164112091065, | |
0.0057182440757751465, | |
0.008216164588928222, | |
0.006420003890991211, | |
0.006072803974151612, | |
0.006044164180755616, | |
0.0060620827674865724, | |
0.005824803829193115, | |
0.005980003833770752, | |
0.005912484169006348, | |
0.005729602813720703, | |
0.0061542439460754396, | |
0.005905764102935791, | |
0.0060619239807128905, | |
0.00566912317276001, | |
0.0058681640625, | |
0.006023044109344482, | |
0.005960163116455078, | |
0.005861763954162598, | |
0.005859364032745362, | |
0.006273444175720215, | |
0.005955684185028076, | |
0.005673923015594482, | |
0.006182563781738281, | |
0.005925124168395996, | |
0.006110243797302246, | |
0.0056603231430053715, | |
0.005949284076690674, | |
0.006045924186706543, | |
0.006087043762207031, | |
0.006098883152008057, | |
0.00583600378036499, | |
0.005712163925170898, | |
0.005912483215332031, | |
0.006113122940063476, | |
0.005824324131011963, | |
0.005834723949432373, | |
0.005907523155212402, | |
0.0063622441291809086, | |
0.006339844226837158, | |
0.006331523895263672, | |
0.006348323822021484, | |
0.006352004051208496, | |
0.006356483936309815, | |
0.006338883876800537, | |
0.006325923919677735, | |
0.00634576416015625, | |
0.006373764038085938, | |
0.006356324195861816, | |
0.006394564151763916, | |
0.006373283863067627, | |
0.0064062438011169434, | |
0.006399524211883545, | |
0.006360643863677978, | |
0.006390404224395752, | |
0.0063843240737915035, | |
0.0064294438362121585, | |
0.006398563861846924, | |
0.006394244194030761, | |
0.0064105639457702635, | |
0.006436483860015869, | |
0.006409924030303955, | |
0.006437603950500488, | |
0.0064081640243530275, | |
0.006393444061279297, | |
0.006437283992767334, | |
0.006440164089202881, | |
0.006418084144592285, | |
0.006434244155883789, | |
0.006376644134521484, | |
0.006426084041595459, | |
0.006397284030914306, | |
0.0063800039291381835, | |
0.006407524108886719, | |
0.006368003845214844, | |
0.006416004180908203, | |
0.006425283908843994, | |
0.0064246439933776855, | |
0.006425283908843994, | |
0.006399203777313232, | |
0.0064512038230896, | |
0.006447844028472901, | |
0.006400643825531006, | |
0.006414403915405273, | |
0.006454083919525146, | |
0.0064222440719604494, | |
0.00613024377822876, | |
0.0057776041030883785, | |
0.005704963207244873, | |
0.0057096037864685055, | |
0.005694563865661621, | |
0.00572096300125122, | |
0.005696643829345703, | |
0.0057056031227111816, | |
0.005704323768615723, | |
0.006525924205780029, | |
0.00572352409362793, | |
0.005698402881622314, | |
0.005683524131774902, | |
0.0057449631690979, | |
0.005713764190673828, | |
0.005716164112091065, | |
0.005746882915496826, | |
0.005713603973388672, | |
0.005714243888854981, | |
0.005722883224487304, | |
0.005721603870391846, | |
0.005697762966156006, | |
0.005708962917327881, | |
0.005716804027557373, | |
0.0057270431518554685, | |
0.005715683937072754, | |
0.005731362819671631, | |
0.005735363960266113 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 165.95281108472633 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |