IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d612e6c verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_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": "4",
"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": false,
"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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1469.267968,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.06799755859375,
"mean": 8.06799755859375,
"stdev": 0.0,
"p50": 8.06799755859375,
"p90": 8.06799755859375,
"p95": 8.06799755859375,
"p99": 8.06799755859375,
"values": [
8.06799755859375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1555.935232,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 113.516032
},
"latency": {
"unit": "s",
"count": 129,
"total": 0.9962462263107301,
"mean": 0.0077228389636490695,
"stdev": 0.0003556860318024005,
"p50": 0.0076000080108642575,
"p90": 0.008035399055480957,
"p95": 0.008093640327453614,
"p99": 0.008540603408813477,
"values": [
0.008144327163696289,
0.008134568214416504,
0.008095368385314942,
0.008049766540527343,
0.007964968204498291,
0.007887846946716308,
0.007880006790161133,
0.007874407768249513,
0.007844807147979737,
0.0077758469581604,
0.0077400078773498535,
0.007713606834411621,
0.007644327163696289,
0.007671207904815674,
0.0076380867958068845,
0.007685447216033935,
0.007649767875671387,
0.007702887058258057,
0.007699367046356201,
0.007675367832183838,
0.007695207118988037,
0.007679367065429687,
0.007681608200073242,
0.007669287204742432,
0.007742887020111084,
0.011040170669555665,
0.007770086765289307,
0.007560166835784912,
0.007580808162689209,
0.007587687015533447,
0.007554727077484131,
0.007552647113800049,
0.007554727077484131,
0.007558568000793457,
0.007586886882781982,
0.007563366889953614,
0.007603207111358643,
0.007565607070922851,
0.0075816078186035155,
0.007572166919708252,
0.0075684871673583985,
0.007578086853027344,
0.007979047775268555,
0.00809104824066162,
0.007984967231750488,
0.0078110480308532714,
0.007598086833953858,
0.007567367076873779,
0.007574727058410644,
0.007594408035278321,
0.0075916872024536135,
0.007640807151794433,
0.007553767204284668,
0.0075804882049560545,
0.007597446918487549,
0.007592166900634766,
0.007585607051849365,
0.007597607135772705,
0.007609928131103515,
0.007637607097625732,
0.007594407081604004,
0.007580966949462891,
0.007594408035278321,
0.007618727207183838,
0.007804966926574707,
0.007587048053741455,
0.0075899271965026854,
0.007584647178649902,
0.007566086769104004,
0.007580007076263428,
0.007567048072814941,
0.007602406978607178,
0.007583847045898437,
0.007556006908416748,
0.007572328090667725,
0.00757664680480957,
0.007586087226867676,
0.007576167106628418,
0.0075684871673583985,
0.007588168144226074,
0.007557287216186524,
0.007605446815490723,
0.007590726852416992,
0.0075902481079101565,
0.007571527004241943,
0.007565446853637695,
0.007599206924438476,
0.00759632682800293,
0.0076000080108642575,
0.007608646869659424,
0.007587206840515137,
0.007571687221527099,
0.007592167854309082,
0.007587687015533447,
0.007588167190551758,
0.007618247032165527,
0.007608007907867431,
0.007585766792297363,
0.007618247032165527,
0.007594727039337158,
0.0076097679138183594,
0.007600166797637939,
0.00760720682144165,
0.007617766857147217,
0.007605127811431885,
0.0076129670143127446,
0.007583847045898437,
0.0075739269256591794,
0.007597766876220703,
0.007585447788238525,
0.007598886966705323,
0.0076062469482421876,
0.007611367225646972,
0.007580167770385742,
0.007591207027435303,
0.007573606967926025,
0.00764048719406128,
0.00849728775024414,
0.008030407905578614,
0.008026887893676758,
0.008557448387145996,
0.00840512752532959,
0.008070247650146484,
0.008022727012634278,
0.008046406745910645,
0.007995687961578369,
0.008032647132873535,
0.008075847625732421,
0.008067208290100098
]
},
"throughput": {
"unit": "samples/s",
"value": 129.48606137029904
},
"energy": null,
"efficiency": null
}
}
}