IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c3b3fff
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.3.1", | |
"optimum_benchmark_commit": "78f186000310f5748c0db3b53c71221ca44cb3f0", | |
"transformers_version": "4.42.3", | |
"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": 1831.99744, | |
"max_global_vram": 541.679616, | |
"max_process_vram": 80288.632832, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 116, | |
"total": 0.9984278068542479, | |
"mean": 0.008607136265984895, | |
"stdev": 0.0007408304949314202, | |
"p50": 0.00842010259628296, | |
"p90": 0.008992979526519774, | |
"p95": 0.00941737699508667, | |
"p99": 0.01233822078704833, | |
"values": [ | |
0.010161690711975098, | |
0.013890146255493164, | |
0.008842659950256347, | |
0.009398337364196777, | |
0.00875674057006836, | |
0.01257303524017334, | |
0.008666181564331054, | |
0.008301544189453124, | |
0.008226344108581543, | |
0.008667301177978516, | |
0.008468583106994628, | |
0.008419142723083497, | |
0.01100760555267334, | |
0.008982339859008788, | |
0.008787461280822754, | |
0.008611621856689454, | |
0.008504101753234863, | |
0.008710981369018555, | |
0.00856874179840088, | |
0.008590662002563476, | |
0.008634021759033203, | |
0.008814181327819824, | |
0.008287783622741698, | |
0.008302984237670898, | |
0.008284903526306153, | |
0.008946499824523925, | |
0.008576742172241211, | |
0.008743301391601562, | |
0.008592421531677247, | |
0.008409063339233398, | |
0.008425382614135743, | |
0.00869050121307373, | |
0.009003619194030761, | |
0.009574654579162598, | |
0.008697701454162597, | |
0.00852986240386963, | |
0.008389224052429199, | |
0.008384584426879883, | |
0.008322024345397949, | |
0.00922793674468994, | |
0.009085699081420899, | |
0.00851770305633545, | |
0.008734181404113769, | |
0.008762981414794922, | |
0.008467462539672852, | |
0.008553861618041992, | |
0.008463462829589844, | |
0.008543142318725586, | |
0.008608741760253906, | |
0.008585382461547851, | |
0.00860698127746582, | |
0.008547781944274902, | |
0.008328263282775878, | |
0.008185224533081055, | |
0.008161065101623535, | |
0.008038665771484375, | |
0.008291784286499024, | |
0.008058984756469727, | |
0.008006345748901368, | |
0.00803802490234375, | |
0.008069384574890136, | |
0.008068264961242676, | |
0.00938505744934082, | |
0.009295618057250977, | |
0.008500263214111329, | |
0.008182024955749512, | |
0.008284744262695312, | |
0.008289544105529786, | |
0.008315943717956542, | |
0.00847994327545166, | |
0.008327302932739257, | |
0.008160904884338379, | |
0.008181063652038575, | |
0.009474495887756347, | |
0.00861898136138916, | |
0.008298664093017579, | |
0.008450982093811035, | |
0.008297703742980956, | |
0.008367782592773437, | |
0.008312582969665527, | |
0.00822426414489746, | |
0.008280903816223144, | |
0.008570181846618652, | |
0.008905058860778808, | |
0.008484103202819825, | |
0.008440743446350098, | |
0.00842490291595459, | |
0.008417383193969726, | |
0.008365384101867676, | |
0.008402664184570313, | |
0.008561541557312011, | |
0.008390023231506347, | |
0.0082329044342041, | |
0.008249863624572754, | |
0.008288264274597168, | |
0.008441862106323242, | |
0.00823370361328125, | |
0.008300583839416504, | |
0.008339463233947754, | |
0.008384742736816407, | |
0.00828602409362793, | |
0.008189865112304687, | |
0.008265704154968261, | |
0.008274184226989747, | |
0.008415143013000488, | |
0.00832042407989502, | |
0.008378663063049317, | |
0.008402823448181152, | |
0.008412423133850098, | |
0.00832650375366211, | |
0.008373063087463379, | |
0.00832282257080078, | |
0.008404903411865235, | |
0.008347143173217773, | |
0.008428902626037597, | |
0.008421062469482422 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 116.18266158419792 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |