IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
54c95e3 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_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": {},
"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": true,
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.225-213.878.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.33504,
"max_global_vram": 695.730176,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3595101623535156
],
"count": 1,
"total": 0.3595101623535156,
"mean": 0.3595101623535156,
"p50": 0.3595101623535156,
"p90": 0.3595101623535156,
"p95": 0.3595101623535156,
"p99": 0.3595101623535156,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.598208,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.0074967041015625,
0.0075304961204528805,
0.007513088226318359,
0.00739737606048584,
0.007435391902923584,
0.0074670081138610836,
0.00738099193572998,
0.007360511779785156,
0.007387135982513428,
0.007364448070526123,
0.007617536067962646,
0.007502848148345947,
0.007386112213134765,
0.007392255783081054,
0.007473152160644531,
0.007654399871826172,
0.007472127914428711,
0.007478271961212158,
0.007408639907836914,
0.007436287879943848,
0.007392255783081054,
0.007087039947509766,
0.007492544174194336,
0.007444479942321777,
0.007404543876647949,
0.007473152160644531,
0.0074967041015625,
0.0073408961296081545,
0.00754585599899292,
0.007360511779785156,
0.007478079795837402,
0.007386112213134765,
0.0074332160949707035,
0.007483391761779785,
0.007365632057189942,
0.007337984085083008,
0.007329855918884277,
0.0074711041450500485,
0.007450623989105225,
0.007417856216430664,
0.007357503890991211,
0.007418848037719726,
0.00744652795791626,
0.007478271961212158,
0.007661568164825439,
0.007650303840637207,
0.007451680183410645,
0.007510015964508057,
0.007456768035888672,
0.007452640056610107,
0.007456768035888672,
0.007442431926727295,
0.007278624057769775,
0.007386112213134765,
0.007392416000366211,
0.007278592109680176,
0.007370751857757568,
0.00738918399810791,
0.007675903797149658,
0.007473152160644531,
0.00709119987487793,
0.007112703800201416,
0.007233535766601563,
0.0072724480628967286,
0.007428095817565918,
0.0073359360694885255,
0.007308288097381592,
0.007310336112976074,
0.007568384170532226,
0.007417856216430664,
0.007655456066131592,
0.008333312034606934,
0.008259648323059083,
0.008268799781799317,
0.008386560440063476,
0.0074403839111328125,
0.006884416103363037,
0.006779903888702392,
0.006721536159515381,
0.006846464157104492,
0.0068106880187988285,
0.006838335990905762,
0.006728799819946289,
0.006669119834899902,
0.006930431842803955,
0.006878367900848389,
0.007616511821746826,
0.0070266880989074704,
0.006977536201477051,
0.006852608203887939,
0.0071526398658752445,
0.006980607986450196,
0.006949888229370117,
0.007024640083312988,
0.006915999889373779,
0.0069621758460998535,
0.006918144226074219,
0.00692633581161499,
0.006912000179290771,
0.006887423992156983,
0.007021567821502686,
0.007090176105499267,
0.006909952163696289,
0.0068986878395080565,
0.006937600135803222,
0.006972415924072266,
0.006957056045532227,
0.007080959796905518,
0.0069550080299377445,
0.007106560230255127,
0.006979584217071533,
0.006970367908477783,
0.006863872051239014,
0.006942592144012451,
0.006939648151397705,
0.006865920066833496,
0.007012351989746094,
0.006872064113616944,
0.00694374418258667,
0.006978559970855713,
0.006923264026641846,
0.006884352207183838,
0.00692633581161499,
0.007057375907897949,
0.0069868798255920414,
0.00695091199874878,
0.00694374418258667,
0.00704204797744751,
0.0069550080299377445,
0.0069253120422363285,
0.006946815967559815,
0.006914048194885254,
0.006902656078338623,
0.007037951946258545,
0.006924287796020508,
0.007045119762420654,
0.007074816226959229,
0.006931456089019775
],
"count": 138,
"total": 0.9986599702835085,
"mean": 0.0072366664513297705,
"p50": 0.007309312105178833,
"p90": 0.007518310594558716,
"p95": 0.007654558300971985,
"p99": 0.008309442501068116,
"stdev": 0.0003204962799955358,
"stdev_": 4.4287833652557405
},
"throughput": {
"unit": "samples/s",
"value": 138.18517223717635
},
"energy": {
"unit": "kWh",
"cpu": 8.40740780535874e-08,
"ram": 4.594283309259287e-08,
"gpu": 1.6825860584395816e-07,
"total": 2.9827551699013846e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3352605.034737269
}
}
}
}