IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
99c71a6 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.1",
"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.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.429248,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.5420703125,
"mean": 8.5420703125,
"stdev": 0.0,
"p50": 8.5420703125,
"p90": 8.5420703125,
"p95": 8.5420703125,
"p99": 8.5420703125,
"values": [
8.5420703125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.321307668749776e-06,
"ram": 2.3481633738121524e-06,
"gpu": 6.5958386100001005e-06,
"total": 1.3265309652562029e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1108.414464,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 135,
"total": 0.9988658256530761,
"mean": 0.007399006115948713,
"stdev": 0.00024208574608448652,
"p50": 0.007477248191833496,
"p90": 0.00761978874206543,
"p95": 0.007710515117645264,
"p99": 0.007879598159790039,
"values": [
0.007558144092559814,
0.007322624206542969,
0.007286784172058106,
0.007301087856292725,
0.007271423816680909,
0.007170048236846924,
0.007227392196655274,
0.00780185604095459,
0.007612415790557861,
0.007565311908721924,
0.007536640167236328,
0.0075560321807861324,
0.007609344005584716,
0.007472127914428711,
0.007393280029296875,
0.007402495861053467,
0.007512063980102539,
0.00790118408203125,
0.007684095859527588,
0.007608320236206055,
0.007666687965393066,
0.00760319995880127,
0.00748748779296875,
0.007458816051483155,
0.007502848148345947,
0.007612415790557861,
0.007539711952209473,
0.007541759967803955,
0.007584767818450928,
0.007542784214019775,
0.007632895946502686,
0.007548927783966064,
0.007559167861938477,
0.007528448104858398,
0.007542784214019775,
0.007456768035888672,
0.007435264110565186,
0.007459839820861816,
0.007458816051483155,
0.0074741759300231934,
0.007816192150115966,
0.007573503971099854,
0.007490560054779053,
0.007486464023590088,
0.007622655868530274,
0.007624703884124756,
0.007609344005584716,
0.00757862377166748,
0.007540736198425293,
0.00749567985534668,
0.007475200176239013,
0.007576576232910156,
0.007506944179534912,
0.007542784214019775,
0.007772160053253174,
0.007571455955505371,
0.007558144092559814,
0.007442431926727295,
0.00748748779296875,
0.0074997758865356446,
0.007535615921020508,
0.007577600002288819,
0.007514111995697022,
0.00758681583404541,
0.007473152160644531,
0.007478335857391358,
0.0074741759300231934,
0.007573503971099854,
0.007510975837707519,
0.007623680114746094,
0.007652416229248047,
0.007535520076751709,
0.0075939841270446775,
0.007615488052368164,
0.007592959880828858,
0.007559167861938477,
0.007558144092559814,
0.007527423858642578,
0.007461887836456299,
0.007837696075439453,
0.007474239826202393,
0.007387135982513428,
0.007335872173309326,
0.00741267204284668,
0.00753766393661499,
0.007428095817565918,
0.0071792640686035155,
0.00729702377319336,
0.007204864025115967,
0.007461887836456299,
0.007371776103973389,
0.007477248191833496,
0.007409664154052734,
0.007782400131225586,
0.007549952030181885,
0.007969791889190675,
0.007147583961486816,
0.007043136119842529,
0.007069695949554444,
0.0070553598403930665,
0.007062528133392334,
0.006991903781890869,
0.007087071895599365,
0.007238656044006348,
0.007419904232025146,
0.0070993280410766605,
0.0069928960800170895,
0.00704307222366333,
0.007019519805908203,
0.0070225920677185055,
0.006994944095611572,
0.0070256638526916505,
0.007012351989746094,
0.007608320236206055,
0.007064576148986816,
0.007041024208068848,
0.0074997758865356446,
0.007541759967803955,
0.007102464199066162,
0.007079936027526855,
0.007020544052124023,
0.00707689619064331,
0.0070481600761413575,
0.007065599918365479,
0.007041024208068848,
0.006982687950134277,
0.007028736114501953,
0.007007232189178467,
0.0070256638526916505,
0.0070256638526916505,
0.007036928176879883,
0.007032832145690918,
0.007021567821502686,
0.006949888229370117,
0.006974463939666748
]
},
"throughput": {
"unit": "samples/s",
"value": 135.15328739146182
},
"energy": {
"unit": "kWh",
"cpu": 8.331225053418696e-08,
"ram": 4.5526675031080564e-08,
"gpu": 1.760354943636377e-07,
"total": 3.0487441992890524e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3280039.0411015577
}
}
}
}