IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
60af112 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 853.364736,
"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.7274541015625,
"mean": 7.7274541015625,
"stdev": 0.0,
"p50": 7.7274541015625,
"p90": 7.7274541015625,
"p95": 7.7274541015625,
"p99": 7.7274541015625,
"values": [
7.7274541015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.313808295833808e-06,
"ram": 2.3485033765608485e-06,
"gpu": 6.342782851999915e-06,
"total": 1.300509452439457e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.472832,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 144,
"total": 0.997030848503113,
"mean": 0.006923825336827172,
"stdev": 0.00025115723542531716,
"p50": 0.006804480075836182,
"p90": 0.007062652730941772,
"p95": 0.007074662590026855,
"p99": 0.007936174020767212,
"values": [
0.008122367858886719,
0.007971839904785156,
0.007861248016357422,
0.007888895988464355,
0.007812096118927002,
0.007847936153411865,
0.007863296031951903,
0.0068915200233459475,
0.0068351998329162595,
0.006806528091430664,
0.006795263767242431,
0.00679423999786377,
0.006765567779541016,
0.0068392958641052244,
0.00677785587310791,
0.006743040084838867,
0.006788095951080322,
0.006801407814025879,
0.006825920104980469,
0.006782976150512696,
0.0067870721817016606,
0.006785024166107178,
0.006772736072540283,
0.006795263767242431,
0.0067717118263244626,
0.006780928134918213,
0.006793216228485107,
0.006788095951080322,
0.0067870721817016606,
0.006799359798431396,
0.006803455829620361,
0.006783008098602295,
0.00676966381072998,
0.006793216228485107,
0.006772672176361084,
0.006793216228485107,
0.006814720153808594,
0.006795263767242431,
0.006789120197296142,
0.00690176010131836,
0.006816768169403077,
0.006804480075836182,
0.006783999919891357,
0.006778880119323731,
0.006790143966674805,
0.006795263767242431,
0.006939648151397705,
0.006817728042602539,
0.006799359798431396,
0.006802464008331299,
0.006795263767242431,
0.006817791938781738,
0.006791200160980225,
0.006788095951080322,
0.0067983360290527345,
0.006778880119323731,
0.006781951904296875,
0.006802432060241699,
0.006788095951080322,
0.006776832103729248,
0.006837247848510742,
0.006789120197296142,
0.0068351998329162595,
0.006763519763946534,
0.006796288013458252,
0.006820864200592041,
0.006867968082427979,
0.00683622407913208,
0.006821887969970703,
0.00683622407913208,
0.006779903888702392,
0.006799359798431396,
0.006808576107025147,
0.006792255878448486,
0.006810624122619629,
0.006813695907592773,
0.006799359798431396,
0.0067686400413513184,
0.006780928134918213,
0.006841343879699707,
0.007070720195770264,
0.006791168212890625,
0.006779903888702392,
0.006776832103729248,
0.006759424209594727,
0.00677785587310791,
0.006792191982269287,
0.006788095951080322,
0.006797311782836914,
0.006804480075836182,
0.006772736072540283,
0.006783999919891357,
0.006795263767242431,
0.006800384044647217,
0.006780928134918213,
0.0067686400413513184,
0.00678604793548584,
0.006761504173278809,
0.00679423999786377,
0.006783999919891357,
0.006763519763946534,
0.00679423999786377,
0.006788095951080322,
0.007074816226959229,
0.006973440170288086,
0.0069816322326660156,
0.007049183845520019,
0.0070522880554199216,
0.0070225920677185055,
0.0070635838508605955,
0.007071743965148926,
0.0070594558715820314,
0.007039999961853028,
0.006990848064422607,
0.007044095993041993,
0.00704307222366333,
0.007044095993041993,
0.007019519805908203,
0.007051263809204102,
0.007041024208068848,
0.007073791980743408,
0.007042079925537109,
0.007065599918365479,
0.007060416221618652,
0.007051263809204102,
0.007041024208068848,
0.0070256638526916505,
0.007058432102203369,
0.007038976192474365,
0.007060480117797851,
0.0070256638526916505,
0.007068640232086182,
0.007047167778015137,
0.007041024208068848,
0.007053311824798584,
0.007050240039825439,
0.007044095993041993,
0.00703385591506958,
0.0070348801612854,
0.007058432102203369,
0.007065599918365479,
0.007054336071014404,
0.007023615837097168,
0.007039999961853028
]
},
"throughput": {
"unit": "samples/s",
"value": 144.42883107999484
},
"energy": {
"unit": "kWh",
"cpu": 8.393817482883694e-08,
"ram": 4.581323654861421e-08,
"gpu": 1.7509990533802848e-07,
"total": 3.048513167154796e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3280287.6194669963
}
}
}
}