IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2718bcd
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", | |
"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": "48414f58841d7ba7c7fd42d74fd524d1d23c3081", | |
"transformers_version": "4.40.2", | |
"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": 1817.296896, | |
"max_global_vram": 1796.038656, | |
"max_process_vram": 109293.305856, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 151, | |
"total": 0.9940318551063541, | |
"mean": 0.006582992417922872, | |
"stdev": 0.00026196904952041975, | |
"p50": 0.006594730854034424, | |
"p90": 0.006890090942382812, | |
"p95": 0.007015611410140991, | |
"p99": 0.007286971569061279, | |
"values": [ | |
0.006601930141448975, | |
0.006409609794616699, | |
0.006341929912567139, | |
0.006212010860443116, | |
0.006600969791412353, | |
0.006563530921936035, | |
0.006548171043395996, | |
0.006485291004180908, | |
0.006258250236511231, | |
0.006297770023345947, | |
0.006279689788818359, | |
0.0060860891342163085, | |
0.006082889080047608, | |
0.006002728939056397, | |
0.005999849796295166, | |
0.006004010200500488, | |
0.006025450229644775, | |
0.0059940900802612305, | |
0.005976650238037109, | |
0.005933448791503906, | |
0.0059542498588562014, | |
0.005927529811859131, | |
0.005944969177246094, | |
0.0059630489349365235, | |
0.0059817700386047366, | |
0.005958889961242676, | |
0.006524971008300781, | |
0.006720810890197754, | |
0.006693291187286377, | |
0.006703530788421631, | |
0.006684169769287109, | |
0.006678410053253174, | |
0.006655049800872803, | |
0.0066912112236022945, | |
0.006713931083679199, | |
0.006675051212310791, | |
0.006718571186065674, | |
0.006708651065826416, | |
0.00669809103012085, | |
0.006669291019439697, | |
0.0066008100509643555, | |
0.00660496997833252, | |
0.006569611072540283, | |
0.0065944108963012695, | |
0.006618091106414795, | |
0.006591210842132569, | |
0.006502570152282715, | |
0.006603850841522217, | |
0.006578411102294922, | |
0.006604650974273682, | |
0.0065580902099609375, | |
0.006593451023101806, | |
0.0065889711380004885, | |
0.006573770999908447, | |
0.006602731227874756, | |
0.006608489990234375, | |
0.006573451042175293, | |
0.006589770793914795, | |
0.006575850963592529, | |
0.006572650909423828, | |
0.006581130027770996, | |
0.006580650806427002, | |
0.006555850982666016, | |
0.006594251155853272, | |
0.006546249866485596, | |
0.0065926508903503414, | |
0.0066182508468627926, | |
0.0065870509147644045, | |
0.0066182508468627926, | |
0.006573610782623291, | |
0.0065635299682617184, | |
0.00658017110824585, | |
0.0065926508903503414, | |
0.006558091163635254, | |
0.006571690082550049, | |
0.0065870509147644045, | |
0.006529611110687256, | |
0.006537771224975586, | |
0.006555689811706543, | |
0.006564970970153809, | |
0.006599531173706054, | |
0.006600330829620362, | |
0.00659713077545166, | |
0.0065720100402832035, | |
0.006580811023712158, | |
0.0065889711380004885, | |
0.00661073112487793, | |
0.00661073112487793, | |
0.006588490009307862, | |
0.006588329792022705, | |
0.006617451190948486, | |
0.006587370872497559, | |
0.006569450855255127, | |
0.006578249931335449, | |
0.006576809883117676, | |
0.006594730854034424, | |
0.006579531192779541, | |
0.006595211029052734, | |
0.006590889930725098, | |
0.0066222500801086425, | |
0.006596651077270508, | |
0.006598250865936279, | |
0.006596810817718506, | |
0.0066036911010742185, | |
0.006516490936279297, | |
0.0065921697616577145, | |
0.006604011058807373, | |
0.006596170902252198, | |
0.00655393123626709, | |
0.0065540909767150875, | |
0.0066075301170349125, | |
0.006650091171264649, | |
0.006603530883789063, | |
0.006604970932006836, | |
0.006619370937347412, | |
0.006600010871887207, | |
0.0066081700325012205, | |
0.006623051166534424, | |
0.0066537709236145015, | |
0.00683233118057251, | |
0.007030251979827881, | |
0.007442091941833496, | |
0.007076972007751465, | |
0.006933290958404541, | |
0.0069385719299316405, | |
0.006906250953674317, | |
0.006893610954284668, | |
0.006905611991882324, | |
0.0068598508834838865, | |
0.007137451171875, | |
0.007246891021728516, | |
0.007102732181549072, | |
0.0073270521163940425, | |
0.007120331764221191, | |
0.007000970840454102, | |
0.006956811904907227, | |
0.006890090942382812, | |
0.006824010848999023, | |
0.0067859311103820805, | |
0.006735691070556641, | |
0.006690890789031983, | |
0.006638250827789307, | |
0.006685610771179199, | |
0.006640330791473388, | |
0.006607851028442383, | |
0.006620810985565185, | |
0.006600330829620362, | |
0.006591849803924561, | |
0.006532811164855957, | |
0.006541769981384277, | |
0.006537930965423584 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.90660060269818 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |