IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
db0a3b3
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "5", | |
"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": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1030.361088, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48172.847104, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.426849609375, | |
"mean": 8.426849609375, | |
"stdev": 0.0, | |
"p50": 8.426849609375, | |
"p90": 8.426849609375, | |
"p95": 8.426849609375, | |
"p99": 8.426849609375, | |
"values": [ | |
8.426849609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1127.788544, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 98172.465152, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.997269301176071, | |
"mean": 0.007174599289036483, | |
"stdev": 0.0011067298408954317, | |
"p50": 0.007056461811065674, | |
"p90": 0.007721611976623535, | |
"p95": 0.007762668132781982, | |
"p99": 0.007895720262527467, | |
"values": [ | |
0.007901739120483399, | |
0.007436460971832275, | |
0.007056461811065674, | |
0.007228782176971435, | |
0.0070884618759155275, | |
0.0070603017807006835, | |
0.007050382137298584, | |
0.007069421768188477, | |
0.007009102821350098, | |
0.007003663063049316, | |
0.0069796619415283204, | |
0.007023662090301514, | |
0.0069894218444824215, | |
0.007042541980743409, | |
0.0070767822265625, | |
0.006993422031402588, | |
0.006999502182006836, | |
0.0070511817932128905, | |
0.007036622047424316, | |
0.007014701843261719, | |
0.007196781158447266, | |
0.007269581794738769, | |
0.007018062114715576, | |
0.007052142143249512, | |
0.007008461952209472, | |
0.00702174186706543, | |
0.007062702178955078, | |
0.007018062114715576, | |
0.007188461780548096, | |
0.007036783218383789, | |
0.006867503166198731, | |
0.006848462104797363, | |
0.006876943111419678, | |
0.006866702079772949, | |
0.006859663009643554, | |
0.006883182048797607, | |
0.007112942218780518, | |
0.006870061874389649, | |
0.006887823104858398, | |
0.006966062068939209, | |
0.006857741832733155, | |
0.006858542919158935, | |
0.006879501819610596, | |
0.006838222980499267, | |
0.007269421100616455, | |
0.00739470100402832, | |
0.006890381813049316, | |
0.006864142894744873, | |
0.007091182231903076, | |
0.007071822166442871, | |
0.007194060802459717, | |
0.007444301128387451, | |
0.007484780788421631, | |
0.0072892608642578125, | |
0.007249102115631103, | |
0.0074972610473632816, | |
0.007527500152587891, | |
0.007456140995025635, | |
0.006994862079620362, | |
0.0069647831916809086, | |
0.006975341796875, | |
0.0070689420700073245, | |
0.007166221141815186, | |
0.006963663101196289, | |
0.007048303127288818, | |
0.006950222969055176, | |
0.007109261989593506, | |
0.007070221900939941, | |
0.007027982234954834, | |
0.007160461902618408, | |
0.007019661903381348, | |
0.007195342063903809, | |
0.0071523008346557615, | |
0.0069556632041931155, | |
0.018471311569213868, | |
0.0022390339374542237, | |
0.004423509120941162, | |
0.006946382999420166, | |
0.007157102108001709, | |
0.007234541893005371, | |
0.006942381858825683, | |
0.007172781944274903, | |
0.006925901889801025, | |
0.00715054178237915, | |
0.007124141216278076, | |
0.006876303195953369, | |
0.006926541805267334, | |
0.007102382183074951, | |
0.006897902011871338, | |
0.006922382831573487, | |
0.006917902946472168, | |
0.007031181812286377, | |
0.006721262931823731, | |
0.00692014217376709, | |
0.0071547021865844725, | |
0.006963181972503662, | |
0.007110382080078125, | |
0.007230381965637207, | |
0.006929741859436035, | |
0.00679822301864624, | |
0.007041741847991943, | |
0.006850381851196289, | |
0.007020142078399658, | |
0.006936462879180908, | |
0.006860621929168701, | |
0.006831502914428711, | |
0.0068366222381591795, | |
0.00682222318649292, | |
0.0068518218994140625, | |
0.007017101764678955, | |
0.0077137408256530765, | |
0.00775390100479126, | |
0.0077487797737121585, | |
0.007773580074310303, | |
0.007765260219573975, | |
0.007797739982604981, | |
0.007289580821990967, | |
0.007274382114410401, | |
0.007725580215454102, | |
0.0077623801231384276, | |
0.007721739768981934, | |
0.007722701072692871, | |
0.007721580028533935, | |
0.007776780128479004, | |
0.007631340980529785, | |
0.007885900020599365, | |
0.007377581119537353, | |
0.007298542022705078, | |
0.007192621231079102, | |
0.007153902053833008, | |
0.007204942226409912, | |
0.0070860619544982914, | |
0.006888143062591553, | |
0.007334860801696777, | |
0.007752140045166015, | |
0.00754430103302002, | |
0.00729262113571167, | |
0.007283660888671875, | |
0.0074303817749023435 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.3806064581337 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |