IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3e5a374 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 880.340992,
"max_global_vram": 674.758656,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.3615395812988281
],
"count": 1,
"total": 0.3615395812988281,
"mean": 0.3615395812988281,
"p50": 0.3615395812988281,
"p90": 0.3615395812988281,
"p95": 0.3615395812988281,
"p99": 0.3615395812988281,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010053572627361113,
"ram": 5.508274030903516e-05,
"gpu": 0.00013758761007000124,
"total": 0.0002932060766526475
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1123.524608,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 133.139968
},
"latency": {
"unit": "s",
"values": [
0.007683072090148926,
0.007259136199951172,
0.007747583866119385,
0.007658495903015137,
0.007645247936248779,
0.0076277761459350585,
0.007688191890716553,
0.007748640060424804,
0.007737343788146973,
0.007713791847229004,
0.007675903797149658,
0.007650303840637207,
0.007571455955505371,
0.007678976058959961,
0.007689216136932373,
0.007655424118041992,
0.007632832050323487,
0.00760319995880127,
0.007577600002288819,
0.007624703884124756,
0.007613440036773681,
0.00757862377166748,
0.007670783996582031,
0.007726079940795898,
0.0075980801582336424,
0.007549952030181885,
0.007577600002288819,
0.007555071830749512,
0.007556096076965332,
0.007557184219360352,
0.007611423969268799,
0.007582719802856445,
0.007582719802856445,
0.007613440036773681,
0.007806975841522217,
0.007723072052001953,
0.0076912641525268555,
0.007689216136932373,
0.007650303840637207,
0.007642111778259277,
0.007584767818450928,
0.007570432186126709,
0.0076277761459350585,
0.007584735870361328,
0.007590911865234375,
0.007455743789672851,
0.007485439777374267,
0.007628799915313721,
0.007406655788421631,
0.007256063938140869,
0.007522336006164551,
0.007400447845458984,
0.007375872135162354,
0.007456768035888672,
0.007396351814270019,
0.007550911903381348,
0.007614528179168701,
0.007733248233795166,
0.007322624206542969,
0.007417856216430664,
0.0073697280883789065,
0.0073359360694885255,
0.0073359360694885255,
0.007373824119567871,
0.007236608028411865,
0.007608255863189697,
0.007307263851165771,
0.007435264110565186,
0.00723967981338501,
0.007236608028411865,
0.007177216053009033,
0.007209983825683594,
0.007230463981628418,
0.007154687881469727,
0.007156735897064209,
0.007126016139984131,
0.007138304233551026,
0.007169023990631103,
0.007164927959442138,
0.0072724480628967286,
0.007143424034118652,
0.0071526398658752445,
0.007201791763305664,
0.007222335815429687,
0.007185408115386963,
0.007150591850280762,
0.007167007923126221,
0.007107583999633789,
0.007120895862579346,
0.007150591850280762,
0.007150591850280762,
0.007159808158874512,
0.0071578240394592286,
0.007263232231140137,
0.007244800090789795,
0.007165984153747558,
0.007455743789672851,
0.007548927783966064,
0.007349247932434082,
0.00723967981338501,
0.007218175888061523,
0.007682047843933106,
0.007204864025115967,
0.007195648193359375,
0.0071751360893249514,
0.007171072006225586,
0.0072837119102478025,
0.007146495819091797,
0.007192575931549072,
0.007230463981628418,
0.007187456130981445,
0.007414783954620361,
0.007275519847869873,
0.007196671962738037,
0.007175168037414551,
0.007177216053009033,
0.0071833600997924804,
0.007209983825683594,
0.007157760143280029,
0.007157760143280029,
0.0072540159225463864,
0.007166975975036621,
0.0071823358535766605,
0.00713318395614624,
0.007155712127685547,
0.007176191806793213,
0.007184415817260742,
0.007177216053009033,
0.007154687881469727,
0.007218175888061523,
0.007192512035369873,
0.007663616180419922,
0.007280640125274658,
0.007274496078491211,
0.007221248149871826
],
"count": 135,
"total": 0.99811564540863,
"mean": 0.007393449225249114,
"p50": 0.0073359360694885255,
"p90": 0.0076808191299438475,
"p95": 0.0077165759086608885,
"p99": 0.0077482809543609615,
"stdev": 0.0002121001091296717,
"stdev_": 2.86875722910676
},
"throughput": {
"unit": "samples/s",
"value": 270.50973626353834
},
"energy": {
"unit": "kWh",
"cpu": 8.810962373456939e-08,
"ram": 4.814595560141514e-08,
"gpu": 2.12195643007389e-07,
"total": 3.4845122234337346e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 5739684.27072741
}
}
}
}