IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
132b7ce verified
raw
history blame
11.5 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"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": 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.236096,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "43734676b09236e2ae4d7c19f90e8e23d1f2f201",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": 1832.595456,
"max_global_vram": 541.310976,
"max_process_vram": 94777.667584,
"max_reserved": 148.897792,
"max_allocated": 113.51808
},
"latency": {
"unit": "s",
"count": 162,
"total": 0.9960922856330872,
"mean": 0.006148717812549921,
"stdev": 0.00032587002305351165,
"p50": 0.005956984519958497,
"p90": 0.006715489006042481,
"p95": 0.006742153000831605,
"p99": 0.006822805857658386,
"values": [
0.007436891078948974,
0.00612218189239502,
0.006042823791503906,
0.006415780067443848,
0.006164902210235595,
0.0064962592124938965,
0.006418019771575928,
0.006345059871673584,
0.006723617076873779,
0.006741696834564209,
0.006708258152008056,
0.006712897777557373,
0.0066908178329467775,
0.006692418098449707,
0.0067637767791748045,
0.0067546567916870115,
0.006728577136993408,
0.00674217700958252,
0.006712576866149902,
0.006731297969818115,
0.006669698238372802,
0.006670817852020263,
0.006658977031707764,
0.006710176944732666,
0.006788735866546631,
0.006731777191162109,
0.006735456943511963,
0.006724096775054931,
0.006743617057800293,
0.0067055377960205075,
0.006746336936950683,
0.006715776920318603,
0.0068760948181152345,
0.006638978004455566,
0.006153061866760254,
0.006099143028259277,
0.005911785125732422,
0.006030182838439941,
0.006394020080566406,
0.005899785041809082,
0.006176742076873779,
0.0059569039344787595,
0.005890504837036133,
0.0059125847816467285,
0.005898505210876465,
0.0059145050048828125,
0.0058949851989746095,
0.005899785041809082,
0.005935783863067627,
0.00592394495010376,
0.005881704807281494,
0.005892905235290527,
0.005960103988647461,
0.005943465232849121,
0.005968743801116943,
0.005942985057830811,
0.0059306640625,
0.0059495439529418945,
0.0059330639839172365,
0.005958183765411377,
0.0059477839469909664,
0.0059689040184021,
0.005930184841156006,
0.0059500250816345215,
0.0059193048477172855,
0.005929384231567383,
0.005943143844604492,
0.0059545040130615234,
0.005923144817352295,
0.005966504096984863,
0.0059477839469909664,
0.0059217047691345216,
0.005933545112609863,
0.005948423862457275,
0.005957064151763916,
0.005924104213714599,
0.00590154504776001,
0.005886664867401123,
0.005960264205932617,
0.005942984104156494,
0.005942184925079346,
0.00596938419342041,
0.00593866491317749,
0.005939624786376953,
0.005950825214385986,
0.005939145088195801,
0.005964903831481933,
0.005945224761962891,
0.005952424049377442,
0.0059349842071533205,
0.005958183765411377,
0.005914185047149658,
0.005905065059661865,
0.00588954496383667,
0.005964264869689941,
0.005964583873748779,
0.005958024024963379,
0.00592394495010376,
0.005956904888153076,
0.005929224967956543,
0.006242500782012939,
0.006663298130035401,
0.006663777828216553,
0.006745535850524903,
0.006071784019470215,
0.006322980880737305,
0.006031942844390869,
0.0063269810676574705,
0.006087623119354248,
0.006260101795196533,
0.0065322589874267575,
0.006668097972869873,
0.006695457935333252,
0.006218982219696045,
0.006210661888122558,
0.00628970193862915,
0.006109703063964844,
0.006315781116485596,
0.006144103050231934,
0.006331779956817627,
0.006212421894073486,
0.006201382160186768,
0.0059425048828125,
0.005965225219726563,
0.0059820241928100586,
0.005976903915405274,
0.0059349842071533205,
0.005915784835815429,
0.005912105083465576,
0.0059588241577148435,
0.0060201029777526855,
0.005870184898376465,
0.005948103904724121,
0.006152902126312256,
0.0059441041946411135,
0.005917864799499512,
0.005921064853668213,
0.005903463840484619,
0.005927945137023926,
0.005936264991760254,
0.005929863929748535,
0.00594266414642334,
0.005945543766021729,
0.0059285850524902345,
0.006153542995452881,
0.005918344974517822,
0.005938983917236328,
0.005913704872131348,
0.005870025157928466,
0.005870824813842774,
0.00591866397857666,
0.005900585174560547,
0.005907144069671631,
0.0059071450233459475,
0.005935305118560791,
0.00593882417678833,
0.0059282641410827635,
0.005915144920349121,
0.005950184822082519,
0.005912105083465576,
0.005941382884979248,
0.005935624122619629
]
},
"throughput": {
"unit": "samples/s",
"value": 162.63553320969405
},
"energy": null,
"efficiency": null
}
}
}