IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b805653
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": "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": 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.49216, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50206.932992, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5290244140625, | |
"mean": 8.5290244140625, | |
"stdev": 0.0, | |
"p50": 8.5290244140625, | |
"p90": 8.5290244140625, | |
"p95": 8.5290244140625, | |
"p99": 8.5290244140625, | |
"values": [ | |
8.5290244140625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1127.903232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 101661.45024, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 1.0001759881973267, | |
"mean": 0.006994237679701587, | |
"stdev": 0.00030787697039219184, | |
"p50": 0.006868657112121582, | |
"p90": 0.007434609699249267, | |
"p95": 0.00761064190864563, | |
"p99": 0.007959318304061892, | |
"values": [ | |
0.008035859107971192, | |
0.007455217838287354, | |
0.007172496795654297, | |
0.007172976970672608, | |
0.007140336990356445, | |
0.007039216041564942, | |
0.007054895877838135, | |
0.007076497077941894, | |
0.007046095848083496, | |
0.006988336086273193, | |
0.00701889705657959, | |
0.007016656875610351, | |
0.006968337059020996, | |
0.00693233585357666, | |
0.006906096935272217, | |
0.006880176067352295, | |
0.006868815898895263, | |
0.006878256797790527, | |
0.006910895824432373, | |
0.006915536880493164, | |
0.006864175796508789, | |
0.006881617069244385, | |
0.006903215885162354, | |
0.006868017196655273, | |
0.0068712158203125, | |
0.006917457103729248, | |
0.006880177021026611, | |
0.006941616058349609, | |
0.006944656848907471, | |
0.006965297222137451, | |
0.006930895805358887, | |
0.006925457000732422, | |
0.006921936988830566, | |
0.008985780715942382, | |
0.00785361909866333, | |
0.006829617023468018, | |
0.006801136016845703, | |
0.0068038558959960934, | |
0.0068078570365905765, | |
0.006930736064910889, | |
0.0067920169830322265, | |
0.006776495933532715, | |
0.0067891359329223635, | |
0.006796977043151855, | |
0.0067910561561584475, | |
0.006795216083526612, | |
0.006816176891326904, | |
0.006811535835266113, | |
0.006787856101989746, | |
0.006840016841888428, | |
0.006829775810241699, | |
0.0067947359085083, | |
0.006814577102661133, | |
0.006851056098937988, | |
0.0068275370597839355, | |
0.0068294558525085446, | |
0.006788976192474365, | |
0.0068273768424987795, | |
0.00681009578704834, | |
0.006801455974578857, | |
0.006797616958618164, | |
0.006786416053771973, | |
0.0068051362037658695, | |
0.006845777034759522, | |
0.0067059359550476075, | |
0.006809616088867187, | |
0.0068347368240356445, | |
0.006866096019744873, | |
0.0068283371925354, | |
0.006830895900726318, | |
0.006832816123962402, | |
0.006917616844177246, | |
0.006867695808410645, | |
0.00690337610244751, | |
0.006825935840606689, | |
0.006844016075134277, | |
0.006728015899658203, | |
0.006737936019897461, | |
0.006868657112121582, | |
0.006831056118011475, | |
0.006833296775817871, | |
0.006825776100158692, | |
0.006786896228790283, | |
0.006833137035369873, | |
0.006833615779876709, | |
0.006829616069793701, | |
0.006827695846557617, | |
0.006835375785827637, | |
0.00682353687286377, | |
0.0068784160614013675, | |
0.006836337089538574, | |
0.006839216232299805, | |
0.0068459358215332035, | |
0.006820176124572754, | |
0.0068809762001037595, | |
0.006776657104492188, | |
0.006860335826873779, | |
0.006841937065124512, | |
0.006850096225738525, | |
0.006875697135925293, | |
0.006828335762023926, | |
0.006827375888824463, | |
0.006809297084808349, | |
0.006884816169738769, | |
0.006758736133575439, | |
0.006850895881652832, | |
0.006840816020965576, | |
0.006844176769256592, | |
0.00679585599899292, | |
0.006785615921020508, | |
0.006748816967010498, | |
0.007565298080444336, | |
0.007580177783966064, | |
0.007624978065490722, | |
0.007609778881072998, | |
0.007168497085571289, | |
0.00700641679763794, | |
0.007009776115417481, | |
0.007164176940917969, | |
0.0076107378005981444, | |
0.0076382579803466796, | |
0.007606898784637451, | |
0.007664338111877441, | |
0.007597777843475342, | |
0.007633779048919678, | |
0.007352177143096924, | |
0.0071516971588134765, | |
0.007329458236694336, | |
0.007209617137908936, | |
0.007112017154693603, | |
0.007542898178100586, | |
0.00714337682723999, | |
0.007143537044525147, | |
0.007351857185363769, | |
0.00733073616027832, | |
0.007183856964111328, | |
0.0069094572067260746, | |
0.007138257026672363, | |
0.007119377136230468, | |
0.007099856853485107, | |
0.007047377109527588, | |
0.00685457706451416, | |
0.007020017147064209 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.97483811597687 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |