IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
07f776e verified
raw
history blame
11 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,
"latency": true,
"memory": 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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 969.043968,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9969714264869687,
"mean": 0.006875665010254958,
"stdev": 0.0002886451686770416,
"p50": 0.006762495994567871,
"p90": 0.0072265728950500485,
"p95": 0.007314636898040771,
"p99": 0.008006671581268311,
"values": [
0.007725183963775635,
0.007473152160644531,
0.007299071788787842,
0.007235583782196045,
0.007318528175354004,
0.007243775844573975,
0.007229440212249756,
0.007215104103088379,
0.007413760185241699,
0.00714137601852417,
0.007166975975036621,
0.007116799831390381,
0.0072139520645141605,
0.00725708818435669,
0.008227840423583984,
0.0072120318412780765,
0.007356416225433349,
0.007261184215545655,
0.008360960006713868,
0.007199679851531983,
0.007163040161132813,
0.007077888011932373,
0.0070266880989074704,
0.0071792640686035155,
0.007222271919250488,
0.0071545600891113285,
0.007172192096710205,
0.007130112171173096,
0.007157760143280029,
0.007124991893768311,
0.007321599960327148,
0.00713318395614624,
0.007194496154785156,
0.0067645440101623535,
0.00667955207824707,
0.006645664215087891,
0.006713344097137451,
0.00687718391418457,
0.006694911956787109,
0.00675328016281128,
0.00676966381072998,
0.0067358717918396,
0.00681056022644043,
0.006969344139099121,
0.00694374418258667,
0.006843391895294189,
0.006814720153808594,
0.006856544017791748,
0.006690976142883301,
0.006779007911682129,
0.006895616054534912,
0.006837247848510742,
0.007069695949554444,
0.006837247848510742,
0.006820864200592041,
0.0066641921997070315,
0.006686719894409179,
0.006738944053649902,
0.006740928173065186,
0.006857600212097168,
0.006755328178405762,
0.0066979842185974124,
0.0066826238632202144,
0.0067338237762451176,
0.006743040084838867,
0.006722559928894043,
0.006718463897705078,
0.006903808116912841,
0.006951935768127441,
0.007069695949554444,
0.006877344131469726,
0.006884352207183838,
0.006855648040771484,
0.006750207901000976,
0.006812672138214112,
0.006807551860809326,
0.006665215969085693,
0.006773759841918945,
0.006758399963378906,
0.0066754879951477055,
0.006603968143463135,
0.006455296039581298,
0.006601696014404297,
0.006709248065948486,
0.006653952121734619,
0.006501376152038574,
0.006347775936126709,
0.006385759830474853,
0.006633471965789795,
0.006891456127166748,
0.007038976192474365,
0.006978559970855713,
0.007080959796905518,
0.0072540159225463864,
0.0069847040176391605,
0.006726655960083008,
0.006694911956787109,
0.006762495994567871,
0.006791168212890625,
0.0069027838706970214,
0.006765439987182618,
0.006743199825286865,
0.006669312000274658,
0.006722559928894043,
0.006907904148101806,
0.006691840171813965,
0.006739967823028564,
0.006726655960083008,
0.006725632190704346,
0.006672351837158203,
0.006668288230895996,
0.006688767910003662,
0.0066826238632202144,
0.006713344097137451,
0.006718463897705078,
0.006662208080291748,
0.00668281602859497,
0.006715392112731934,
0.006811647891998291,
0.006665215969085693,
0.006690815925598144,
0.006809599876403808,
0.006688767910003662,
0.006731776237487793,
0.006657023906707763,
0.006648767948150635,
0.006683648109436035,
0.006646783828735352,
0.006666240215301514,
0.006688767910003662,
0.006659071922302246,
0.006639455795288086,
0.0066938881874084475,
0.0066979842185974124,
0.006677472114562989,
0.006692863941192627,
0.006883327960968018,
0.00669593620300293,
0.006684671878814697,
0.006710271835327148,
0.006660096168518067,
0.006883327960968018,
0.006707039833068848,
0.006646783828735352,
0.006696959972381592
]
},
"throughput": {
"unit": "samples/s",
"value": 145.44047717690057
},
"energy": {
"unit": "kWh",
"cpu": 7.748298438978785e-08,
"ram": 4.236414169495141e-08,
"gpu": 1.6787050466666626e-07,
"total": 2.877176307514055e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3475629.8993161893
}
}
}
}