IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fd01ab9 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_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": "5",
"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": 2,
"sequence_length": 16,
"num_choices": 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": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082014.490624,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 1180.479488,
"max_global_vram": 68702.69952,
"max_process_vram": 7693.35296,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"values": [
0.4702275695800781
],
"count": 1,
"total": 0.4702275695800781,
"mean": 0.4702275695800781,
"p50": 0.4702275695800781,
"p90": 0.4702275695800781,
"p95": 0.4702275695800781,
"p99": 0.4702275695800781,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1254.105088,
"max_global_vram": 68702.69952,
"max_process_vram": 105787.06432,
"max_reserved": 148.897792,
"max_allocated": 124.554752
},
"latency": {
"unit": "s",
"values": [
0.007971321105957031,
0.007154843807220459,
0.00706780481338501,
0.0071049251556396485,
0.007121724128723144,
0.0071311650276184085,
0.007126523971557617,
0.007089564800262451,
0.007091004848480225,
0.007110044956207275,
0.00706124496459961,
0.0071305251121521,
0.007151323795318604,
0.007150044918060303,
0.007142044067382812,
0.007138205051422119,
0.007080605030059814,
0.007081405162811279,
0.007077245235443115,
0.007177245140075683,
0.007040286064147949,
0.00704300594329834,
0.007150845050811767,
0.007038684844970703,
0.007140123844146728,
0.007033245086669922,
0.007049884796142578,
0.007070525169372559,
0.007083324909210205,
0.007042524814605713,
0.007034365177154541,
0.007040925025939941,
0.0070657248497009275,
0.007029405117034912,
0.007025084972381592,
0.007057565212249756,
0.0070314850807189945,
0.007238043785095215,
0.007037885189056396,
0.0070302047729492185,
0.007069085121154785,
0.00703932523727417,
0.007055164813995362,
0.006995484828948974,
0.007037885189056396,
0.007057724952697754,
0.007053245067596436,
0.007042524814605713,
0.0070271649360656736,
0.007032444953918457,
0.007048285007476807,
0.007035964965820312,
0.007029085159301758,
0.007023805141448974,
0.007059165000915527,
0.007041725158691406,
0.007027484893798828,
0.007014365196228028,
0.007059804916381836,
0.007046685218811035,
0.007025245189666748,
0.006997244834899902,
0.007008925914764404,
0.007201244831085205,
0.007028124809265137,
0.007035164833068847,
0.007079965114593506,
0.007073884963989258,
0.00709228515625,
0.007061564922332763,
0.0070724449157714845,
0.007062845230102539,
0.007080444812774658,
0.007064284801483155,
0.007059484958648682,
0.007064925193786621,
0.007058205127716065,
0.007056125164031982,
0.007053724765777588,
0.007059965133666992,
0.007056924819946289,
0.007044925212860108,
0.007036446094512939,
0.007018846035003662,
0.007054524898529053,
0.007056446075439453,
0.007081884860992432,
0.0070479650497436526,
0.007434203147888184,
0.007075805187225342,
0.007070845127105713,
0.007071165084838868,
0.007046844959259033,
0.007080764770507813,
0.007082045078277588,
0.007072925090789795,
0.007099484920501709,
0.007050684928894043,
0.007064284801483155,
0.007034046173095703,
0.007039006233215332,
0.007054366111755371,
0.007027805805206299,
0.00702492618560791,
0.007097404956817627,
0.007050845146179199,
0.00706828498840332,
0.007038364887237549,
0.007079484939575195,
0.007062204837799072,
0.007061405181884766,
0.007062365055084228,
0.00705788516998291,
0.007025565147399902,
0.007025566101074219,
0.007019485950469971,
0.007068604946136475,
0.007048445224761963,
0.007024604797363282,
0.006999646186828613,
0.007047485828399658,
0.007050526142120361,
0.007031645774841309,
0.007047485828399658,
0.007032286167144775,
0.007033565998077393,
0.007021406173706055,
0.007010685920715332,
0.007034844875335693,
0.00702732515335083,
0.007055164813995362,
0.0070607647895812985,
0.007068924903869629,
0.007070845127105713,
0.007079325199127197,
0.007050045013427734,
0.007047484874725342,
0.0070871648788452144,
0.0070798048973083495,
0.007026044845581054,
0.007019804954528809
],
"count": 141,
"total": 0.9969744343757633,
"mean": 0.0070707406693316524,
"p50": 0.007056125164031982,
"p90": 0.007126523971557617,
"p95": 0.007150845050811767,
"p99": 0.007355739402770995,
"stdev": 9.097919507312623e-05,
"stdev_": 1.286699644744938
},
"throughput": {
"unit": "samples/s",
"value": 282.85579878140913
},
"energy": null,
"efficiency": null
}
}
}