IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7392069 verified
raw
history blame
11.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 832.815104,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.67315966796875,
"mean": 7.67315966796875,
"stdev": 0.0,
"p50": 7.67315966796875,
"p90": 7.67315966796875,
"p95": 7.67315966796875,
"p99": 7.67315966796875,
"values": [
7.67315966796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.6329019437499385e-06,
"ram": 2.4870537543888623e-06,
"gpu": 6.687505349999923e-06,
"total": 1.3807461048138725e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1024.02048,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9975871081352229,
"mean": 0.00712562220096588,
"stdev": 0.00018929607147775512,
"p50": 0.007195648193359375,
"p90": 0.007331942415237427,
"p95": 0.0073841665983200066,
"p99": 0.0074412339305877685,
"values": [
0.007458816051483155,
0.007442431926727295,
0.007368703842163086,
0.007390175819396973,
0.007386112213134765,
0.007351295948028564,
0.007360511779785156,
0.007388160228729248,
0.007226399898529053,
0.007274496078491211,
0.007277567863464355,
0.007266304016113281,
0.00743936014175415,
0.007200767993927002,
0.007209983825683594,
0.0072202558517456055,
0.007324672222137451,
0.00734822416305542,
0.007330783843994141,
0.007286784172058106,
0.007170048236846924,
0.007153664112091064,
0.007322624206542969,
0.007316448211669922,
0.007303167819976806,
0.007266304016113281,
0.007240672111511231,
0.007234560012817383,
0.0072325119972229,
0.007228415966033935,
0.00724889612197876,
0.007292928218841553,
0.007165952205657959,
0.007175168037414551,
0.007217152118682861,
0.007195648193359375,
0.0072202239036560055,
0.007218175888061523,
0.00722431993484497,
0.007434239864349365,
0.0073062400817871095,
0.00733081579208374,
0.0073051838874816895,
0.00728166389465332,
0.007245823860168457,
0.007195648193359375,
0.007262207984924316,
0.007287807941436767,
0.0072427520751953125,
0.007205887794494629,
0.007266304016113281,
0.007274464130401611,
0.007160831928253173,
0.007231488227844239,
0.007186431884765625,
0.007226367950439453,
0.007331840038299561,
0.007164927959442138,
0.007238592147827148,
0.00728985595703125,
0.007215104103088379,
0.007302144050598145,
0.007217152118682861,
0.007231488227844239,
0.007332863807678222,
0.007292992115020752,
0.007288832187652588,
0.007327807903289795,
0.007290880203247071,
0.007241727828979493,
0.007264256000518799,
0.007230463981628418,
0.00716703987121582,
0.007328767776489258,
0.007194623947143554,
0.0071526398658752445,
0.00719974422454834,
0.007021632194519043,
0.00727347183227539,
0.007155712127685547,
0.006977536201477051,
0.006882304191589355,
0.006938623905181885,
0.006958079814910889,
0.007178239822387696,
0.007192575931549072,
0.007168000221252442,
0.007293951988220215,
0.007356416225433349,
0.007384064197540283,
0.007052224159240722,
0.006882304191589355,
0.006918144226074219,
0.006959104061126709,
0.00688640022277832,
0.006909952163696289,
0.006945792198181152,
0.006958079814910889,
0.0068689918518066405,
0.006882304191589355,
0.0069407038688659665,
0.006917119979858399,
0.006837247848510742,
0.006876160144805908,
0.006918144226074219,
0.006871071815490723,
0.006852575778961182,
0.0068915200233459475,
0.006856704235076904,
0.006840320110321045,
0.007028736114501953,
0.006909952163696289,
0.006917119979858399,
0.006859776020050049,
0.006876160144805908,
0.00687718391418457,
0.007155712127685547,
0.006856704235076904,
0.006889472007751465,
0.006880256175994873,
0.006906879901885986,
0.006851583957672119,
0.006884352207183838,
0.00690176010131836,
0.006851583957672119,
0.006909952163696289,
0.006867968082427979,
0.006909984111785889,
0.00684441614151001,
0.006883359909057617,
0.0068986878395080565,
0.006814720153808594,
0.006866943836212158,
0.0068884482383728025,
0.006892543792724609,
0.006852608203887939,
0.006855711936950683,
0.006945824146270752,
0.006879231929779053,
0.007057407855987549
]
},
"throughput": {
"unit": "samples/s",
"value": 140.3386219191427
},
"energy": {
"unit": "kWh",
"cpu": 8.099569256424701e-08,
"ram": 4.428281040565647e-08,
"gpu": 1.7411011661224575e-07,
"total": 2.993886195821493e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3340140.321284356
}
}
}
}