IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2522943 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": {},
"hub_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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 785.215488,
"max_global_vram": 711.458816,
"max_process_vram": 0.0,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.46269384765625,
"mean": 7.46269384765625,
"stdev": 0.0,
"p50": 7.46269384765625,
"p90": 7.46269384765625,
"p95": 7.46269384765625,
"p99": 7.46269384765625,
"values": [
7.46269384765625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.285286201371087e-06,
"ram": 2.3291563376264435e-06,
"gpu": 6.473060733999973e-06,
"total": 1.3087503272997504e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 971.59168,
"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.0011279339790344,
"mean": 0.007000894643210031,
"stdev": 0.0002403281220945522,
"p50": 0.006936575889587402,
"p90": 0.007247872066497803,
"p95": 0.007306751871109009,
"p99": 0.007796838245391855,
"values": [
0.007030784130096435,
0.006998015880584717,
0.007041024208068848,
0.006966271877288818,
0.0069560642242431645,
0.006956031799316406,
0.006936575889587402,
0.006976511955261231,
0.006875135898590088,
0.006806528091430664,
0.006818816184997558,
0.0068986878395080565,
0.0067358717918396,
0.006689792156219483,
0.00675328016281128,
0.006770688056945801,
0.006864895820617676,
0.006854656219482422,
0.006896639823913574,
0.0068392958641052244,
0.007131135940551757,
0.007117824077606201,
0.007236608028411865,
0.00725708818435669,
0.007215104103088379,
0.007354368209838867,
0.007296000003814697,
0.007186431884765625,
0.007237631797790528,
0.007201791763305664,
0.007211008071899414,
0.0071833600997924804,
0.007078911781311035,
0.007077951908111572,
0.0071157760620117185,
0.00714137601852417,
0.007088128089904785,
0.007159808158874512,
0.007187456130981445,
0.007236671924591064,
0.007312384128570557,
0.0072427520751953125,
0.007302144050598145,
0.007226367950439453,
0.007307263851165771,
0.007176191806793213,
0.007279615879058838,
0.007208960056304932,
0.0072007040977478025,
0.007243775844573975,
0.007231488227844239,
0.007130112171173096,
0.0071188478469848635,
0.007145472049713135,
0.00724889612197876,
0.007134208202362061,
0.006799359798431396,
0.00679423999786377,
0.006849535942077637,
0.007218175888061523,
0.007228415966033935,
0.007320576190948487,
0.008117247581481933,
0.007274496078491211,
0.0073134078979492185,
0.007353343963623047,
0.007277567863464355,
0.007234560012817383,
0.007216127872467041,
0.007196703910827637,
0.0071157760620117185,
0.007209983825683594,
0.007142399787902832,
0.006990848064422607,
0.006918144226074219,
0.006928351879119873,
0.007023615837097168,
0.006936575889587402,
0.006822912216186523,
0.00678604793548584,
0.006851583957672119,
0.006833087921142578,
0.007045119762420654,
0.006960127830505371,
0.006977536201477051,
0.007015423774719238,
0.007076863765716553,
0.007150591850280762,
0.006912000179290771,
0.006841343879699707,
0.007000063896179199,
0.00687718391418457,
0.00690176010131836,
0.006896639823913574,
0.006846399784088135,
0.006837183952331543,
0.0068280320167541505,
0.00683622407913208,
0.006846432209014893,
0.00683513593673706,
0.00679423999786377,
0.006773759841918945,
0.00682700777053833,
0.00675222396850586,
0.006796288013458252,
0.006791168212890625,
0.0067758078575134275,
0.006750207901000976,
0.006792191982269287,
0.006804512023925781,
0.00682700777053833,
0.006782976150512696,
0.006756351947784424,
0.006761472225189209,
0.006972415924072266,
0.0067696962356567384,
0.007015423774719238,
0.006812672138214112,
0.006821887969970703,
0.007060544013977051,
0.0068915200233459475,
0.006778880119323731,
0.006831039905548095,
0.006801407814025879,
0.006833151817321777,
0.006806528091430664,
0.006800384044647217,
0.006899712085723877,
0.0067717118263244626,
0.006788095951080322,
0.006783999919891357,
0.006780960083007812,
0.0067983360290527345,
0.006790207862854004,
0.006818816184997558,
0.0067870721817016606,
0.006790143966674805,
0.0067851200103759765,
0.006744063854217529,
0.006783999919891357,
0.008415200233459473,
0.007058432102203369,
0.0068249602317810056
]
},
"throughput": {
"unit": "samples/s",
"value": 142.83888716563843
},
"energy": {
"unit": "kWh",
"cpu": 8.049738724847456e-08,
"ram": 4.388098170558087e-08,
"gpu": 1.6791680099999913e-07,
"total": 2.922951699540546e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3421199.1944895578
}
}
}
}