IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
42596b0 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.2",
"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.393408,
"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.4834931640625,
"mean": 7.4834931640625,
"stdev": 0.0,
"p50": 7.4834931640625,
"p90": 7.4834931640625,
"p95": 7.4834931640625,
"p99": 7.4834931640625,
"values": [
7.4834931640625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.288874897691939e-06,
"ram": 2.334384496476029e-06,
"gpu": 4.76333714399986e-06,
"total": 1.1386596538167827e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 977.18272,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 143,
"total": 1.000078211307525,
"mean": 0.006993553925227454,
"stdev": 0.00019517989579347122,
"p50": 0.007064576148986816,
"p90": 0.007222067165374756,
"p95": 0.007238655853271485,
"p99": 0.007310622596740723,
"values": [
0.007001088142395019,
0.006987775802612305,
0.007004159927368164,
0.0070348801612854,
0.006961152076721191,
0.0069253120422363285,
0.006960127830505371,
0.007301119804382325,
0.007269408226013184,
0.007071743965148926,
0.007166944026947022,
0.00719155216217041,
0.007073791980743408,
0.0069928960800170895,
0.007048192024230957,
0.007129087924957276,
0.0072130560874938965,
0.007460864067077637,
0.007226367950439453,
0.007109632015228271,
0.007122943878173828,
0.007098368167877197,
0.007194623947143554,
0.00725708818435669,
0.00722431993484497,
0.007176191806793213,
0.007187520027160645,
0.007195648193359375,
0.007208960056304932,
0.007134208202362061,
0.0071792640686035155,
0.007145472049713135,
0.007064576148986816,
0.007106560230255127,
0.007131135940551757,
0.00709222412109375,
0.007111680030822754,
0.0073175039291381834,
0.007180287837982178,
0.007146495819091797,
0.00723967981338501,
0.007229440212249756,
0.007229440212249756,
0.00719155216217041,
0.007117824077606201,
0.007062528133392334,
0.007189504146575928,
0.007172095775604248,
0.007226367950439453,
0.0071198720932006835,
0.007130112171173096,
0.007070720195770264,
0.007117824077606201,
0.007069695949554444,
0.007204864025115967,
0.007282688140869141,
0.007077888011932373,
0.007147583961486816,
0.007143424034118652,
0.007070720195770264,
0.007106560230255127,
0.0071495680809020995,
0.007227392196655274,
0.0072499198913574215,
0.007145472049713135,
0.007227392196655274,
0.007201791763305664,
0.007154687881469727,
0.0071823358535766605,
0.007150591850280762,
0.007124991893768311,
0.007138304233551026,
0.007073791980743408,
0.007041088104248047,
0.006818784236907959,
0.00714137601852417,
0.007096320152282715,
0.006939616203308106,
0.006706111907958985,
0.006754303932189941,
0.006800384044647217,
0.007090176105499267,
0.007171072006225586,
0.007077888011932373,
0.007113728046417236,
0.007211967945098877,
0.007181312084197998,
0.006986752033233643,
0.006892543792724609,
0.0068618240356445315,
0.0067758078575134275,
0.006872064113616944,
0.006849535942077637,
0.006724607944488525,
0.006803455829620361,
0.006755328178405762,
0.006751232147216797,
0.0066979842185974124,
0.006727712154388428,
0.0069918718338012695,
0.006719488143920899,
0.006799359798431396,
0.006773759841918945,
0.006713312149047851,
0.006725632190704346,
0.006723584175109864,
0.006740992069244385,
0.006689792156219483,
0.006739967823028564,
0.006814720153808594,
0.006715424060821533,
0.006714367866516113,
0.006725632190704346,
0.006759424209594727,
0.006754303932189941,
0.006747136116027832,
0.006794271945953369,
0.006746111869812011,
0.006777823925018311,
0.006748159885406494,
0.006742976188659668,
0.006743040084838867,
0.006759424209594727,
0.0066979842185974124,
0.006752255916595459,
0.0067645440101623535,
0.006815743923187256,
0.006812672138214112,
0.006890495777130127,
0.006781888008117676,
0.006871039867401123,
0.007193600177764893,
0.007046144008636474,
0.006858751773834228,
0.00673689603805542,
0.006849535942077637,
0.006773759841918945,
0.006739967823028564,
0.006781951904296875,
0.00688431978225708,
0.006726655960083008,
0.006706175804138184,
0.006759424209594727
]
},
"throughput": {
"unit": "samples/s",
"value": 142.9888166576876
},
"energy": {
"unit": "kWh",
"cpu": 7.932013383618107e-08,
"ram": 4.336674203636777e-08,
"gpu": 1.6940013551999811e-07,
"total": 2.9208701139254696e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3423637.3443393605
}
}
}
}