IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a861198 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.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.312192,
"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.2470361328125,
"mean": 8.2470361328125,
"stdev": 0.0,
"p50": 8.2470361328125,
"p90": 8.2470361328125,
"p95": 8.2470361328125,
"p99": 8.2470361328125,
"values": [
8.2470361328125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.75256831600402e-06,
"ram": 3.133957133821703e-06,
"gpu": 8.38972893402179e-06,
"total": 1.7276254383847512e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1105.809408,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 138,
"total": 1.0010632624626163,
"mean": 0.007254081612047941,
"stdev": 0.0003028134081696616,
"p50": 0.007124047994613648,
"p90": 0.007606169748306274,
"p95": 0.007815638327598571,
"p99": 0.008373586225509643,
"values": [
0.0076574721336364745,
0.00765340805053711,
0.007620607852935791,
0.007623680114746094,
0.007616511821746826,
0.00754585599899292,
0.007479231834411621,
0.007491583824157715,
0.007531519889831543,
0.007485439777374267,
0.008634367942810058,
0.007591936111450195,
0.0075304961204528805,
0.0073820161819458,
0.007842624187469482,
0.007823200225830078,
0.0075642881393432615,
0.007602176189422607,
0.007814303874969482,
0.007849984169006348,
0.00750271987915039,
0.007477248191833496,
0.007419904232025146,
0.007434239864349365,
0.0074741759300231934,
0.00786636781692505,
0.007555071830749512,
0.00758784008026123,
0.0074997758865356446,
0.007516160011291504,
0.007435264110565186,
0.007445504188537597,
0.007494656085968018,
0.007501823902130127,
0.007472127914428711,
0.007615488052368164,
0.0075632638931274416,
0.00740556812286377,
0.007050240039825439,
0.007109632015228271,
0.007085055828094483,
0.007083936214447022,
0.007030784130096435,
0.0070973758697509765,
0.007308288097381592,
0.007260128021240235,
0.007204864025115967,
0.007203839778900147,
0.007229407787322998,
0.007124127864837647,
0.007076863765716553,
0.007104512214660645,
0.007146495819091797,
0.007233535766601563,
0.007192575931549072,
0.007108736038208008,
0.007126016139984131,
0.0070256638526916505,
0.007046271800994873,
0.007049215793609619,
0.007074816226959229,
0.007109600067138672,
0.007225344181060791,
0.007116799831390381,
0.007080959796905518,
0.007114751815795899,
0.007101535797119141,
0.007071743965148926,
0.007088160037994385,
0.007067647933959961,
0.007222367763519287,
0.00724889612197876,
0.007310336112976074,
0.007267327785491944,
0.007239776134490967,
0.007221248149871826,
0.007153664112091064,
0.007172063827514648,
0.007200767993927002,
0.0070563840866088865,
0.007041024208068848,
0.007236608028411865,
0.00709222412109375,
0.007076863765716553,
0.006975488185882568,
0.006860799789428711,
0.00704307222366333,
0.007041183948516846,
0.006706175804138184,
0.0067348480224609375,
0.0067573761940002445,
0.007218175888061523,
0.00743833589553833,
0.0073994240760803225,
0.007336959838867187,
0.007407616138458252,
0.007444479942321777,
0.007541759967803955,
0.008445952415466309,
0.008250368118286134,
0.007201791763305664,
0.007096320152282715,
0.007046144008636474,
0.007023615837097168,
0.007036928176879883,
0.007044095993041993,
0.0069847040176391605,
0.007058239936828613,
0.0070594558715820314,
0.007116767883300781,
0.007076863765716553,
0.007069695949554444,
0.007005184173583984,
0.006997951984405518,
0.006978559970855713,
0.006999040126800537,
0.006985599994659424,
0.0070267200469970705,
0.007005023956298828,
0.007080959796905518,
0.007123968124389648,
0.007047167778015137,
0.006996863842010498,
0.0069959678649902345,
0.007045119762420654,
0.007016448020935059,
0.007006207942962647,
0.007023615837097168,
0.007073791980743408,
0.00708403205871582,
0.007066751956939697,
0.006958111763000489,
0.0069816322326660156,
0.0069918718338012695,
0.007028736114501953,
0.007001088142395019,
0.0070266880989074704,
0.007003136157989502
]
},
"throughput": {
"unit": "samples/s",
"value": 137.85342562718762
},
"energy": {
"unit": "kWh",
"cpu": 8.339843580238415e-08,
"ram": 4.557483398891699e-08,
"gpu": 1.7505882549352666e-07,
"total": 3.0403209528482783e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3289126.429442146
}
}
}
}