IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7ce0756 verified
raw
history blame
12.2 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.5.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": "1.22.0",
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.13.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 869.515264,
"max_global_vram": 697.827328,
"max_process_vram": 0.0,
"max_reserved": 125.82912,
"max_allocated": 103.077376
},
"latency": {
"unit": "s",
"values": [
8.27532421875
],
"count": 1,
"total": 8.27532421875,
"mean": 8.27532421875,
"p50": 8.27532421875,
"p90": 8.27532421875,
"p95": 8.27532421875,
"p99": 8.27532421875,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.292661783519078e-06,
"ram": 2.333694675065853e-06,
"gpu": 6.402227343826894e-06,
"total": 1.3028583802411825e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1109.741568,
"max_global_vram": 798.490624,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 122.937344
},
"latency": {
"unit": "s",
"values": [
0.007552000045776367,
0.00703385591506958,
0.0069959678649902345,
0.007008255958557129,
0.006989823818206787,
0.00713424015045166,
0.00693452787399292,
0.00800160026550293,
0.008133631706237793,
0.007609344005584716,
0.006948863983154297,
0.006979584217071533,
0.0069928960800170895,
0.006866943836212158,
0.006975488185882568,
0.006970367908477783,
0.0069324798583984375,
0.006883359909057617,
0.006957056045532227,
0.0067348480224609375,
0.006675456047058105,
0.006758399963378906,
0.006865920066833496,
0.006917119979858399,
0.006882336139678955,
0.0069253120422363285,
0.00689356803894043,
0.006933440208435058,
0.006895616054534912,
0.006959104061126709,
0.00692633581161499,
0.0068689918518066405,
0.006723584175109864,
0.006616064071655273,
0.0066744318008422855,
0.006582272052764892,
0.006687808036804199,
0.006726655960083008,
0.00679423999786377,
0.006936575889587402,
0.006957056045532227,
0.006895711898803711,
0.006884352207183838,
0.006915071964263916,
0.006907904148101806,
0.006810624122619629,
0.00689356803894043,
0.006928224086761475,
0.0069324798583984375,
0.006875135898590088,
0.006918144226074219,
0.006942815780639648,
0.006979584217071533,
0.00694374418258667,
0.006970367908477783,
0.006971392154693603,
0.006965248107910156,
0.006903808116912841,
0.006951935768127441,
0.006979584217071533,
0.00695091199874878,
0.006941696166992187,
0.006966271877288818,
0.006750207901000976,
0.006686719894409179,
0.006690815925598144,
0.006684703826904297,
0.006843391895294189,
0.006953983783721924,
0.0068689918518066405,
0.006709248065948486,
0.006680575847625733,
0.007277632236480713,
0.007080959796905518,
0.007033664226531983,
0.006896639823913574,
0.007013376235961914,
0.006964223861694336,
0.00702243185043335,
0.006960127830505371,
0.006998976230621338,
0.006989823818206787,
0.007071743965148926,
0.007019519805908203,
0.006968319892883301,
0.006985727787017822,
0.006959104061126709,
0.006832287788391113,
0.006905695915222168,
0.007005184173583984,
0.00694271993637085,
0.006815743923187256,
0.006716415882110595,
0.0067041277885437015,
0.006664256095886231,
0.006681600093841553,
0.006673408031463623,
0.006690815925598144,
0.0069212160110473635,
0.006851583957672119,
0.006876160144805908,
0.006880256175994873,
0.006929408073425293,
0.006897664070129395,
0.006875135898590088,
0.006919167995452881,
0.006907904148101806,
0.0067041277885437015,
0.006684671878814697,
0.006726655960083008,
0.006703104019165039,
0.00660364818572998,
0.006670335769653321,
0.006798367977142334,
0.006866943836212158,
0.006876160144805908,
0.006908095836639404,
0.006876160144805908,
0.006713344097137451,
0.006844511985778809,
0.006964191913604736,
0.00688643217086792,
0.006738944053649902,
0.006669312000274658,
0.006652927875518798,
0.0066304001808166506,
0.006650879859924317,
0.006612991809844971,
0.0067348480224609375,
0.006862847805023193,
0.00676966381072998,
0.006573056221008301,
0.006663167953491211,
0.006681600093841553,
0.006648831844329834,
0.006726655960083008,
0.006833151817321777,
0.006966271877288818,
0.0066938881874084475,
0.006817759990692139,
0.006957056045532227,
0.006910975933074951,
0.006966271877288818,
0.006985727787017822,
0.006965248107910156
],
"count": 145,
"total": 0.9986048941612243,
"mean": 0.006886930304560168,
"p50": 0.006896639823913574,
"p90": 0.007002700996398926,
"p95": 0.007064166355133056,
"p99": 0.007829007511138917,
"stdev": 0.00020810369277207355,
"stdev_": 3.021719163242847
},
"throughput": {
"unit": "samples/s",
"value": 145.20257295733802
},
"energy": {
"unit": "kWh",
"cpu": 8.256261311302814e-08,
"ram": 4.512048668469095e-08,
"gpu": 1.6883115358523604e-07,
"total": 2.9651425338295516e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3372519.1574803535
}
}
}
}