IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
73fa707 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.1",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.213184,
"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.4585732421875,
"mean": 7.4585732421875,
"stdev": 0.0,
"p50": 7.4585732421875,
"p90": 7.4585732421875,
"p95": 7.4585732421875,
"p99": 7.4585732421875,
"values": [
7.4585732421875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.333065119054582e-06,
"ram": 2.349175758514927e-06,
"gpu": 6.415838466000039e-06,
"total": 1.3098079343569548e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.77312,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9977158403396608,
"mean": 0.006977033848529096,
"stdev": 0.00032994653494179503,
"p50": 0.007028704166412354,
"p90": 0.0072501183509826655,
"p95": 0.007375462532043457,
"p99": 0.008194641876220703,
"values": [
0.007264256000518799,
0.007230463981628418,
0.007275519847869873,
0.007225344181060791,
0.007213024139404297,
0.007196671962738037,
0.007163904190063477,
0.007238656044006348,
0.00719049596786499,
0.007073791980743408,
0.007114751815795899,
0.0070348801612854,
0.007028704166412354,
0.006920191764831543,
0.007019519805908203,
0.007164927959442138,
0.007112736225128174,
0.0072427201271057125,
0.007158783912658692,
0.007146495819091797,
0.007045119762420654,
0.007074816226959229,
0.007161791801452637,
0.007324672222137451,
0.007138304233551026,
0.0070830078125,
0.007137279987335205,
0.007134208202362061,
0.007070720195770264,
0.007334911823272705,
0.007113728046417236,
0.007102464199066162,
0.006999040126800537,
0.006970367908477783,
0.006994944095611572,
0.007038976192474365,
0.007037951946258545,
0.007046144008636474,
0.007093247890472412,
0.007061503887176514,
0.007205887794494629,
0.007178239822387696,
0.007114751815795899,
0.007117824077606201,
0.007073791980743408,
0.007028736114501953,
0.007060448169708252,
0.0072765440940856935,
0.00709222412109375,
0.007073791980743408,
0.007098368167877197,
0.007332863807678222,
0.00704204797744751,
0.0070225920677185055,
0.007066624164581299,
0.007156735897064209,
0.007096320152282715,
0.007080959796905518,
0.00762886381149292,
0.00841215991973877,
0.007379968166351319,
0.007251967906951904,
0.007136256217956543,
0.007138271808624267,
0.007225344181060791,
0.007150591850280762,
0.007218175888061523,
0.007181312084197998,
0.007077888011932373,
0.007138368129730225,
0.007074816226959229,
0.00698367977142334,
0.007111680030822754,
0.006967296123504638,
0.006916096210479736,
0.006802432060241699,
0.006946815967559815,
0.006929408073425293,
0.006917119979858399,
0.006732800006866455,
0.00667852783203125,
0.0067051520347595215,
0.006747136116027832,
0.006772736072540283,
0.007607295989990235,
0.008058879852294922,
0.008164352416992187,
0.008216575622558593,
0.007854080200195313,
0.006923264026641846,
0.00703385591506958,
0.0067686400413513184,
0.0066938881874084475,
0.006647808074951172,
0.006718463897705078,
0.00667852783203125,
0.0066416640281677245,
0.006681600093841553,
0.006680575847625733,
0.006648831844329834,
0.0066938881874084475,
0.006677504062652588,
0.006668223857879639,
0.006675392150878906,
0.0066499199867248535,
0.006626336097717285,
0.006666240215301514,
0.006643712043762207,
0.006638591766357422,
0.006670335769653321,
0.006652927875518798,
0.0066109437942504885,
0.006659071922302246,
0.006666240215301514,
0.006680575847625733,
0.006638591766357422,
0.006658048152923584,
0.006845439910888672,
0.00667955207824707,
0.006654975891113281,
0.0066406397819519045,
0.006656000137329102,
0.006656000137329102,
0.006659071922302246,
0.006651904106140137,
0.006677504062652588,
0.006652895927429199,
0.006621183872222901,
0.006661119937896728,
0.0066457920074462894,
0.006617087841033936,
0.006646783828735352,
0.006793216228485107,
0.0066406397819519045,
0.006663167953491211,
0.006656000137329102,
0.006619135856628418,
0.006651904106140137,
0.0066416640281677245,
0.0066406397819519045,
0.006660096168518067,
0.006636544227600098,
0.00662937593460083
]
},
"throughput": {
"unit": "samples/s",
"value": 143.32738262561546
},
"energy": {
"unit": "kWh",
"cpu": 7.663919079688287e-08,
"ram": 4.189724948446872e-08,
"gpu": 1.5974206327741967e-07,
"total": 2.782785035587712e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3593522.270716122
}
}
}
}