IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7d4a011 verified
raw
history blame
11.8 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu124",
"_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.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 853.864448,
"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.8519130859375,
"mean": 7.8519130859375,
"stdev": 0.0,
"p50": 7.8519130859375,
"p90": 7.8519130859375,
"p95": 7.8519130859375,
"p99": 7.8519130859375,
"values": [
7.8519130859375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.349213251388899e-06,
"ram": 2.348259059357939e-06,
"gpu": 4.986948433999966e-06,
"total": 1.1684420744746805e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.415488,
"max_global_vram": 782.761984,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 139,
"total": 0.9980157418251039,
"mean": 0.007179969365648227,
"stdev": 0.0003482623498674232,
"p50": 0.0072501120567321775,
"p90": 0.007502431869506836,
"p95": 0.007578508996963501,
"p99": 0.008293112869262697,
"values": [
0.007419904232025146,
0.007435264110565186,
0.007437407970428467,
0.007345151901245117,
0.007759871959686279,
0.008480607986450195,
0.008565759658813477,
0.0075345921516418455,
0.007477248191833496,
0.007469056129455566,
0.007987199783325195,
0.007357408046722412,
0.007431168079376221,
0.007404543876647949,
0.007316480159759522,
0.007291007995605469,
0.007252863883972168,
0.0073339838981628415,
0.007312384128570557,
0.007368768215179443,
0.007482367992401123,
0.007266304016113281,
0.007032959938049316,
0.007114751815795899,
0.006975488185882568,
0.006935488224029541,
0.007111680030822754,
0.0071526398658752445,
0.007105535984039306,
0.007314432144165039,
0.00738099193572998,
0.0073974719047546385,
0.007388063907623291,
0.007312479972839355,
0.007328896045684814,
0.007543807983398438,
0.007575424194335938,
0.007045119762420654,
0.006929471969604493,
0.006871039867401123,
0.006957056045532227,
0.006959104061126709,
0.006993919849395752,
0.00729699182510376,
0.007371776103973389,
0.007275519847869873,
0.007294079780578613,
0.007144447803497315,
0.007184383869171143,
0.00714035177230835,
0.007335999965667725,
0.00733296012878418,
0.007105535984039306,
0.007015423774719238,
0.006986752033233643,
0.007080959796905518,
0.00710041618347168,
0.007486464023590088,
0.007309311866760254,
0.007342080116271973,
0.007360576152801513,
0.0072501120567321775,
0.007156735897064209,
0.00727347183227539,
0.007259136199951172,
0.00743123197555542,
0.007324672222137451,
0.006958079814910889,
0.006938623905181885,
0.007012351989746094,
0.007156703948974609,
0.007393280029296875,
0.007180287837982178,
0.00714035177230835,
0.00724070405960083,
0.007387135982513428,
0.007672832012176513,
0.007542784214019775,
0.007543807983398438,
0.00743609619140625,
0.007513055801391602,
0.007606272220611572,
0.007451648235321045,
0.0074997758865356446,
0.007423999786376953,
0.007326720237731933,
0.007425024032592774,
0.007352320194244385,
0.007334911823272705,
0.0070563840866088865,
0.00675328016281128,
0.006959104061126709,
0.007145440101623535,
0.0071773438453674315,
0.007483391761779785,
0.007198624134063721,
0.007005343914031983,
0.007383039951324463,
0.007413760185241699,
0.007346176147460938,
0.007336959838867187,
0.0074629120826721195,
0.007516032218933106,
0.00727347183227539,
0.007070720195770264,
0.007079936027526855,
0.007939072132110595,
0.007299935817718506,
0.007020544052124023,
0.006858751773834228,
0.006935616016387939,
0.007104512214660645,
0.007030784130096435,
0.006795263767242431,
0.007024640083312988,
0.006941855907440186,
0.00690176010131836,
0.006754303932189941,
0.0066078720092773435,
0.006681600093841553,
0.006608895778656006,
0.006670335769653321,
0.006697887897491455,
0.0066744318008422855,
0.006648831844329834,
0.006593535900115967,
0.006565951824188233,
0.006841343879699707,
0.006585343837738037,
0.006527967929840088,
0.006606847763061524,
0.006608895778656006,
0.0065669121742248536,
0.006627327919006347,
0.006619200229644775,
0.0066119680404663084,
0.006680575847625733,
0.00657919979095459,
0.0065905280113220215
]
},
"throughput": {
"unit": "samples/s",
"value": 139.2763602564086
},
"energy": {
"unit": "kWh",
"cpu": 7.788185014162818e-08,
"ram": 4.2575210620030715e-08,
"gpu": 1.6733200521052622e-07,
"total": 2.8778906597218514e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3474767.175819842
}
}
}
}