IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
07dffc9 verified
raw
history blame
12.2 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": {},
"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": 789.487616,
"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.4398505859375,
"mean": 7.4398505859375,
"stdev": 0.0,
"p50": 7.4398505859375,
"p90": 7.4398505859375,
"p95": 7.4398505859375,
"p99": 7.4398505859375,
"values": [
7.4398505859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.331290847916789e-06,
"ram": 2.3406271586401017e-06,
"gpu": 6.262505010000007e-06,
"total": 1.2934423016556898e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.71168,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 148,
"total": 1.0016540164947507,
"mean": 0.006767932543883452,
"stdev": 0.00038487538822307697,
"p50": 0.006660096168518067,
"p90": 0.007008079910278321,
"p95": 0.007228621006011963,
"p99": 0.008660346803665163,
"values": [
0.007231488227844239,
0.00735536003112793,
0.007223296165466309,
0.007171072006225586,
0.0072202239036560055,
0.0071526398658752445,
0.007169023990631103,
0.007346144199371338,
0.006938623905181885,
0.007041120052337647,
0.006703104019165039,
0.006638591766357422,
0.006646783828735352,
0.0078089599609375,
0.009527296066284179,
0.009348095893859864,
0.007803904056549072,
0.006974463939666748,
0.00692633581161499,
0.006838272094726563,
0.0068280320167541505,
0.0063569917678833006,
0.0065382399559021,
0.006666240215301514,
0.0066375679969787596,
0.006660096168518067,
0.006687744140625,
0.0066078720092773435,
0.006639584064483643,
0.0067051520347595215,
0.006654975891113281,
0.006635519981384277,
0.0066406397819519045,
0.0066273918151855465,
0.006638527870178223,
0.006725664138793945,
0.006659071922302246,
0.006722559928894043,
0.006660128116607666,
0.006661119937896728,
0.006691840171813965,
0.006672383785247803,
0.006638591766357422,
0.006663167953491211,
0.0067010560035705566,
0.006668288230895996,
0.006703104019165039,
0.006665215969085693,
0.0066119680404663084,
0.006631423950195312,
0.006675456047058105,
0.006625279903411865,
0.006748159885406494,
0.006708223819732666,
0.006624256134033203,
0.006616064071655273,
0.0066344962120056155,
0.006611936092376709,
0.006626304149627686,
0.0066304001808166506,
0.006660096168518067,
0.006631423950195312,
0.006657023906707763,
0.006631423950195312,
0.006617087841033936,
0.006645760059356689,
0.006609920024871826,
0.006719488143920899,
0.006658048152923584,
0.00788479995727539,
0.006993919849395752,
0.006774720191955567,
0.006688767910003662,
0.006966271877288818,
0.007218175888061523,
0.006822912216186523,
0.006717440128326416,
0.006687744140625,
0.006703104019165039,
0.006684671878814697,
0.006667263984680176,
0.006599679946899414,
0.006686719894409179,
0.006660096168518067,
0.006597631931304931,
0.006641600131988525,
0.0066344962120056155,
0.006604800224304199,
0.006651904106140137,
0.0066416640281677245,
0.006683648109436035,
0.006665215969085693,
0.006643712043762207,
0.006718463897705078,
0.006807551860809326,
0.006756351947784424,
0.006642687797546387,
0.006793216228485107,
0.006726655960083008,
0.006640543937683105,
0.006681600093841553,
0.00667955207824707,
0.006654975891113281,
0.006650879859924317,
0.006657023906707763,
0.006750207901000976,
0.0066416640281677245,
0.006659071922302246,
0.006646783828735352,
0.006649856090545654,
0.006643712043762207,
0.00662937593460083,
0.006661056041717529,
0.0067491202354431155,
0.0066119680404663084,
0.006740992069244385,
0.0067123198509216305,
0.006665215969085693,
0.00662937593460083,
0.006690847873687744,
0.006762495994567871,
0.006633471965789795,
0.006703104019165039,
0.006703104019165039,
0.006604800224304199,
0.00657919979095459,
0.006563839912414551,
0.006642687797546387,
0.006625343799591064,
0.006586368083953857,
0.00662937593460083,
0.006667263984680176,
0.006658048152923584,
0.006624256134033203,
0.006647808074951172,
0.006667263984680176,
0.00653926420211792,
0.006594560146331787,
0.006552639961242676,
0.006543360233306885,
0.006569983959197998,
0.006562816143035889,
0.0067348480224609375,
0.0066744318008422855,
0.00662937593460083,
0.006647808074951172,
0.006658048152923584,
0.0066406078338623045
]
},
"throughput": {
"unit": "samples/s",
"value": 147.7556097842249
},
"energy": {
"unit": "kWh",
"cpu": 7.86123870842492e-08,
"ram": 4.281787283776338e-08,
"gpu": 1.5747819615789562e-07,
"total": 2.7890845607990825e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3585405.813990439
}
}
}
}