IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6fea760 verified
raw
history blame
11.8 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.223-212.873.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.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 854.102016,
"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.66940673828125,
"mean": 7.66940673828125,
"stdev": 0.0,
"p50": 7.66940673828125,
"p90": 7.66940673828125,
"p95": 7.66940673828125,
"p99": 7.66940673828125,
"values": [
7.66940673828125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.312105675000271e-06,
"ram": 2.3472407731060754e-06,
"gpu": 6.376949545999983e-06,
"total": 1.303629599410633e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1094.565888,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 1.0015650553703306,
"mean": 0.007205503995470007,
"stdev": 0.00011076336643266824,
"p50": 0.007204864025115967,
"p90": 0.007334707069396973,
"p95": 0.007362252807617187,
"p99": 0.007496171379089356,
"values": [
0.007617536067962646,
0.007404543876647949,
0.007493631839752197,
0.007387135982513428,
0.007352287769317627,
0.007353343963623047,
0.0073134078979492185,
0.007247871875762939,
0.007236608028411865,
0.007206912040710449,
0.007217152118682861,
0.00723967981338501,
0.007156735897064209,
0.007192575931549072,
0.0072325119972229,
0.0071792640686035155,
0.007233503818511963,
0.007269375801086426,
0.007316480159759522,
0.007269375801086426,
0.007209983825683594,
0.007138304233551026,
0.007219200134277344,
0.007294976234436036,
0.007279615879058838,
0.007353343963623047,
0.007268352031707764,
0.0072130560874938965,
0.007232448101043701,
0.007255040168762207,
0.007259136199951172,
0.00728985595703125,
0.007207935810089112,
0.007122943878173828,
0.007145472049713135,
0.007186431884765625,
0.007204864025115967,
0.007181312084197998,
0.007236608028411865,
0.007192575931549072,
0.007497727870941162,
0.007359488010406494,
0.00728985595703125,
0.007349247932434082,
0.007258111953735351,
0.007296000003814697,
0.007180287837982178,
0.007265279769897461,
0.00733081579208374,
0.007312384128570557,
0.007181312084197998,
0.007255040168762207,
0.007205887794494629,
0.00714035177230835,
0.007214079856872559,
0.007145472049713135,
0.007238656044006348,
0.007299071788787842,
0.007181312084197998,
0.007223296165466309,
0.007197696208953858,
0.00719974422454834,
0.007227392196655274,
0.007222271919250488,
0.007235583782196045,
0.007324672222137451,
0.007292928218841553,
0.007255040168762207,
0.007280640125274658,
0.007312384128570557,
0.0072427520751953125,
0.007271423816680909,
0.007264256000518799,
0.007177216053009033,
0.007266304016113281,
0.007189504146575928,
0.007332863807678222,
0.007265247821807861,
0.007016448020935059,
0.007168000221252442,
0.007164927959442138,
0.00693555212020874,
0.006879231929779053,
0.006917151927947998,
0.006955967903137207,
0.006920191764831543,
0.006967328071594238,
0.0070553598403930665,
0.0071485438346862796,
0.007067647933959961,
0.007227392196655274,
0.007434239864349365,
0.007415808200836181,
0.0072724480628967286,
0.007342080116271973,
0.007357439994812012,
0.007231488227844239,
0.00719974422454834,
0.007178239822387696,
0.007162879943847656,
0.007169023990631103,
0.007105535984039306,
0.007155712127685547,
0.007158783912658692,
0.007134208202362061,
0.007127039909362793,
0.007103487968444824,
0.007163904190063477,
0.007145472049713135,
0.007205887794494629,
0.007109632015228271,
0.007107583999633789,
0.007127039909362793,
0.007108607769012451,
0.007161856174468994,
0.007130112171173096,
0.0071198720932006835,
0.007129087924957276,
0.007128064155578613,
0.007123968124389648,
0.007117824077606201,
0.007097343921661377,
0.007139328002929687,
0.007296000003814697,
0.007137279987335205,
0.00708403205871582,
0.007093247890472412,
0.007117824077606201,
0.007162911891937256,
0.00714035177230835,
0.007103487968444824,
0.007111680030822754,
0.007137279987335205,
0.007129119873046875,
0.007098368167877197,
0.00709119987487793,
0.007165919780731201,
0.00728166389465332,
0.007134208202362061
]
},
"throughput": {
"unit": "samples/s",
"value": 138.78279723787333
},
"energy": {
"unit": "kWh",
"cpu": 8.081034815286861e-08,
"ram": 4.418188485704822e-08,
"gpu": 1.7001336352380938e-07,
"total": 2.950055965337262e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3389766.200200463
}
}
}
}