IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
be31310 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": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 864.825344,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.225439453125,
"mean": 8.225439453125,
"stdev": 0.0,
"p50": 8.225439453125,
"p90": 8.225439453125,
"p95": 8.225439453125,
"p99": 8.225439453125,
"values": [
8.225439453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.279847631944259e-06,
"ram": 2.3296256451611724e-06,
"gpu": 6.895838849999914e-06,
"total": 1.3505312127105346e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1104.11776,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 0.9988762583732606,
"mean": 0.007291067579366865,
"stdev": 0.00018455166216730222,
"p50": 0.007355391979217529,
"p90": 0.007499161720275879,
"p95": 0.007519846248626709,
"p99": 0.007557365608215332,
"values": [
0.007546879768371582,
0.007506944179534912,
0.007488512039184571,
0.007443488121032715,
0.007455743789672851,
0.007516160011291504,
0.007513088226318359,
0.007508992195129394,
0.007464960098266602,
0.007396351814270019,
0.007426047801971435,
0.007452672004699707,
0.0074106879234313965,
0.007360511779785156,
0.007346176147460938,
0.007325695991516113,
0.007404543876647949,
0.007656447887420655,
0.007260159969329834,
0.0072130560874938965,
0.007188447952270508,
0.007123968124389648,
0.007200767993927002,
0.007147520065307617,
0.007170048236846924,
0.007456831932067871,
0.007486464023590088,
0.007434239864349365,
0.007475168228149414,
0.0074106879234313965,
0.00745472002029419,
0.007457791805267334,
0.007478271961212158,
0.007502848148345947,
0.007437312126159668,
0.007290880203247071,
0.007334911823272705,
0.007361536026000977,
0.007420928001403809,
0.007357439994812012,
0.007394303798675537,
0.007415808200836181,
0.007379968166351319,
0.007472127914428711,
0.007531519889831543,
0.007476223945617676,
0.0074967041015625,
0.0074926080703735356,
0.00744755220413208,
0.007333888053894043,
0.007437312126159668,
0.0074741759300231934,
0.007473152160644531,
0.007419904232025146,
0.007475200176239013,
0.007482367992401123,
0.007326720237731933,
0.007331840038299561,
0.007473152160644531,
0.007373824119567871,
0.007522304058074952,
0.007415808200836181,
0.007337920188903809,
0.007379007816314697,
0.0073697280883789065,
0.0074035201072692874,
0.007384064197540283,
0.007379968166351319,
0.007475200176239013,
0.0075632638931274416,
0.007535615921020508,
0.0075304961204528805,
0.007519231796264648,
0.007511040210723877,
0.0074700798988342285,
0.007205887794494629,
0.007288832187652588,
0.007480319976806641,
0.007493631839752197,
0.007459839820861816,
0.007386112213134765,
0.007367743968963623,
0.007250944137573242,
0.007211008071899414,
0.007420928001403809,
0.007228415966033935,
0.007035903930664063,
0.0070522880554199216,
0.007165952205657959,
0.007268352031707764,
0.007265247821807861,
0.007241727828979493,
0.007237631797790528,
0.007397408008575439,
0.007378943920135498,
0.007170048236846924,
0.00703385591506958,
0.007057407855987549,
0.007238656044006348,
0.007355391979217529,
0.007200767993927002,
0.00704307222366333,
0.007077888011932373,
0.007068640232086182,
0.007053311824798584,
0.007035903930664063,
0.007027711868286133,
0.007041024208068848,
0.007063551902770996,
0.007122943878173828,
0.007045119762420654,
0.007038976192474365,
0.007077888011932373,
0.007076863765716553,
0.007066624164581299,
0.007065599918365479,
0.00705836820602417,
0.007051296234130859,
0.0070594558715820314,
0.007017471790313721,
0.007048192024230957,
0.007020544052124023,
0.0070522880554199216,
0.006996992111206054,
0.006993919849395752,
0.007031807899475098,
0.0071198720932006835,
0.007007232189178467,
0.006994944095611572,
0.007048192024230957,
0.007031807899475098,
0.007018496036529541,
0.007046144008636474,
0.007007232189178467,
0.0070348801612854,
0.007017471790313721,
0.007027775764465332
]
},
"throughput": {
"unit": "samples/s",
"value": 137.15412580044102
},
"energy": {
"unit": "kWh",
"cpu": 8.270934239486995e-08,
"ram": 4.5079764861770945e-08,
"gpu": 1.8327175155555512e-07,
"total": 3.11060858812196e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3214804.986453642
}
}
}
}