IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7479e6f
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_type": "resnet50", | |
"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, | |
"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": "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": "701e27ceb63d18a62041650e250fe65f56ad5904", | |
"transformers_version": "4.42.4", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 980.287488, | |
"max_global_vram": 411.250688, | |
"max_process_vram": 49982.099456, | |
"max_reserved": 125.82912, | |
"max_allocated": 103.077376 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.44637890625, | |
"mean": 7.44637890625, | |
"stdev": 0.0, | |
"p50": 7.44637890625, | |
"p90": 7.44637890625, | |
"p95": 7.44637890625, | |
"p99": 7.44637890625, | |
"values": [ | |
7.44637890625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.026112, | |
"max_global_vram": 516.612096, | |
"max_process_vram": 294679.359488, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.001191372394562, | |
"mean": 0.007761173429415208, | |
"stdev": 0.00025125589047698206, | |
"p50": 0.007743827819824219, | |
"p90": 0.007997843742370605, | |
"p95": 0.0081072509765625, | |
"p99": 0.008561983299255371, | |
"values": [ | |
0.008576946258544922, | |
0.008065587043762206, | |
0.007866228103637695, | |
0.00791806697845459, | |
0.007960466861724854, | |
0.00786270809173584, | |
0.007950547218322754, | |
0.007762707233428955, | |
0.008063186645507812, | |
0.00801598834991455, | |
0.007847988128662109, | |
0.00782414722442627, | |
0.007958387851715088, | |
0.00765150785446167, | |
0.007942708015441894, | |
0.007767027854919434, | |
0.007758547782897949, | |
0.007579826831817627, | |
0.007526547908782959, | |
0.007601908206939697, | |
0.007973267078399657, | |
0.007639828205108642, | |
0.008709586143493653, | |
0.008135026931762695, | |
0.008024147033691406, | |
0.007877748012542724, | |
0.00784190797805786, | |
0.00785742712020874, | |
0.00798062801361084, | |
0.007855667114257812, | |
0.007929906845092774, | |
0.007880787849426269, | |
0.007891026973724366, | |
0.008002066612243652, | |
0.007922546863555908, | |
0.007909108161926269, | |
0.007856626987457276, | |
0.007873588085174561, | |
0.007880146980285645, | |
0.007879026889801025, | |
0.007775668144226074, | |
0.007938706874847412, | |
0.007540788173675537, | |
0.0075227079391479495, | |
0.007850866794586181, | |
0.007944148063659668, | |
0.007898707866668702, | |
0.007911827087402344, | |
0.008055987358093262, | |
0.007867348194122315, | |
0.007884467124938965, | |
0.007912627220153809, | |
0.007929587841033935, | |
0.007935667037963867, | |
0.007939507007598877, | |
0.007728628158569336, | |
0.007599348068237304, | |
0.007596627235412597, | |
0.007587828159332275, | |
0.007600307941436768, | |
0.0075887880325317385, | |
0.007571348190307617, | |
0.007567828178405762, | |
0.0075774269104003904, | |
0.007473108768463135, | |
0.007603827953338623, | |
0.007510387897491455, | |
0.0075913481712341305, | |
0.007595027923583984, | |
0.007578708171844482, | |
0.00759470796585083, | |
0.0075820679664611815, | |
0.007565907955169678, | |
0.007568307876586914, | |
0.007539827823638916, | |
0.007574068069458008, | |
0.007446708202362061, | |
0.007470067977905274, | |
0.007604948043823242, | |
0.007448468208312988, | |
0.007614548206329346, | |
0.007565107822418213, | |
0.007580788135528565, | |
0.007559668064117431, | |
0.007743827819824219, | |
0.007568788051605224, | |
0.007526388168334961, | |
0.007512147903442383, | |
0.007557747840881347, | |
0.00756414794921875, | |
0.007569427967071533, | |
0.007542387962341308, | |
0.007416148185729981, | |
0.007428789138793945, | |
0.007591028213500977, | |
0.007423348903656006, | |
0.007581428050994873, | |
0.00741230821609497, | |
0.007559668064117431, | |
0.007544628143310547, | |
0.007559507846832275, | |
0.007520308017730713, | |
0.0075350279808044434, | |
0.007559348106384278, | |
0.007398707866668701, | |
0.007531188011169434, | |
0.007553108215332031, | |
0.007535347938537598, | |
0.00798414707183838, | |
0.008355666160583496, | |
0.008523507118225098, | |
0.007958066940307618, | |
0.007964947223663331, | |
0.007941428184509278, | |
0.007980147838592529, | |
0.007946866989135742, | |
0.007952627182006835, | |
0.007956627845764161, | |
0.007725748062133789, | |
0.007516627788543701, | |
0.007513107776641846, | |
0.007538228034973144, | |
0.007530387878417969, | |
0.007749748229980469, | |
0.008383187294006347, | |
0.008451827049255371, | |
0.007996788024902344, | |
0.007876307010650634, | |
0.0077951869964599605 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.84649584171817 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |