IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
5faa269 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.224-212.876.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.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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.881536,
"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.2506650390625,
"mean": 8.2506650390625,
"stdev": 0.0,
"p50": 8.2506650390625,
"p90": 8.2506650390625,
"p95": 8.2506650390625,
"p99": 8.2506650390625,
"values": [
8.2506650390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.759944049305412e-06,
"ram": 3.138090861921962e-06,
"gpu": 7.87500629999987e-06,
"total": 1.6773041211227244e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.51392,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9978469109535221,
"mean": 0.007283554094551253,
"stdev": 0.0001868565815036899,
"p50": 0.007208960056304932,
"p90": 0.007557119846343994,
"p95": 0.00760319995880127,
"p99": 0.007635886135101319,
"values": [
0.00733900785446167,
0.007422976016998291,
0.007301119804382325,
0.007392255783081054,
0.007331840038299561,
0.007315455913543701,
0.0072551040649414065,
0.007294976234436036,
0.007157760143280029,
0.007198719978332519,
0.007151616096496582,
0.007196671962738037,
0.007204864025115967,
0.007131135940551757,
0.007081984043121338,
0.007069695949554444,
0.007111680030822754,
0.007150591850280762,
0.007147520065307617,
0.007214079856872559,
0.007227392196655274,
0.007236608028411865,
0.007202816009521484,
0.00709119987487793,
0.007354335784912109,
0.007207935810089112,
0.007247871875762939,
0.007252992153167725,
0.007227392196655274,
0.0071792640686035155,
0.007214079856872559,
0.007187456130981445,
0.007200767993927002,
0.0071905279159545895,
0.007172095775604248,
0.007245823860168457,
0.007121920108795166,
0.007068672180175781,
0.007107583999633789,
0.007045119762420654,
0.00709939193725586,
0.007156799793243409,
0.007197696208953858,
0.007108607769012451,
0.00719049596786499,
0.007478271961212158,
0.007615488052368164,
0.007610367774963379,
0.00760319995880127,
0.007555071830749512,
0.007526400089263916,
0.007473152160644531,
0.007549952030181885,
0.007608320236206055,
0.007550975799560547,
0.007566336154937744,
0.007557119846343994,
0.007493631839752197,
0.007458816051483155,
0.007539711952209473,
0.0074967041015625,
0.007502848148345947,
0.007636991977691651,
0.007484416007995606,
0.007494656085968018,
0.007560192108154297,
0.007516160011291504,
0.007501823902130127,
0.007549920082092285,
0.007557119846343994,
0.007642111778259277,
0.00760319995880127,
0.00760319995880127,
0.007589888095855713,
0.007633920192718506,
0.007555071830749512,
0.00754585599899292,
0.007599103927612305,
0.007472127914428711,
0.007521279811859131,
0.007514111995697022,
0.0074065918922424315,
0.007445504188537597,
0.007353343963623047,
0.007407551765441895,
0.0074711041450500485,
0.007287807941436767,
0.00709939193725586,
0.007129087924957276,
0.007303167819976806,
0.007298111915588379,
0.0073359360694885255,
0.007319551944732666,
0.007337984085083008,
0.007541759967803955,
0.0074997758865356446,
0.007236608028411865,
0.007206912040710449,
0.007245823860168457,
0.007185408115386963,
0.007208960056304932,
0.007207935810089112,
0.007153664112091064,
0.007181312084197998,
0.007079936027526855,
0.007136256217956543,
0.007142399787902832,
0.007135231971740722,
0.007104512214660645,
0.0070891518592834475,
0.007120895862579346,
0.007107583999633789,
0.0071485438346862796,
0.0070563840866088865,
0.0070553598403930665,
0.00707583999633789,
0.007096320152282715,
0.007124991893768311,
0.007065599918365479,
0.007071743965148926,
0.0071198720932006835,
0.007102464199066162,
0.007122879981994629,
0.007060480117797851,
0.007117824077606201,
0.007135136127471924,
0.007094272136688232,
0.007066624164581299,
0.007105535984039306,
0.007090176105499267,
0.007088128089904785,
0.007088128089904785,
0.0070563840866088865,
0.007095295906066895,
0.007104512214660645,
0.00708403205871582,
0.007069695949554444
]
},
"throughput": {
"unit": "samples/s",
"value": 137.2956096733172
},
"energy": {
"unit": "kWh",
"cpu": 8.212229528256609e-08,
"ram": 4.487863516568493e-08,
"gpu": 1.701974541655164e-07,
"total": 2.9719838461376743e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3364755.83909912
}
}
}
}