IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e1afc65 verified
raw
history blame
12.1 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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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.573632,
"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.4968984375,
"mean": 7.4968984375,
"stdev": 0.0,
"p50": 7.4968984375,
"p90": 7.4968984375,
"p95": 7.4968984375,
"p99": 7.4968984375,
"values": [
7.4968984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.32944827609592e-06,
"ram": 2.356987914435346e-06,
"gpu": 7.205561319999958e-06,
"total": 1.3891997510531223e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.6912,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 146,
"total": 0.9968942084312439,
"mean": 0.006828042523501671,
"stdev": 0.0002418148437638544,
"p50": 0.006904831886291504,
"p90": 0.00710758399963379,
"p95": 0.007165440201759339,
"p99": 0.007249715065956116,
"values": [
0.00729702377319336,
0.007143424034118652,
0.007186431884765625,
0.007157760143280029,
0.007102464199066162,
0.007195648193359375,
0.007137279987335205,
0.006872096061706543,
0.007050240039825439,
0.006959104061126709,
0.007035999774932861,
0.007014400005340577,
0.006874112129211426,
0.006906879901885986,
0.0069027838706970214,
0.007027711868286133,
0.007041024208068848,
0.007048192024230957,
0.007112703800201416,
0.007027711868286133,
0.007069759845733643,
0.006924287796020508,
0.007016448020935059,
0.007063551902770996,
0.006980607986450196,
0.007076863765716553,
0.007014400005340577,
0.007049215793609619,
0.007053311824798584,
0.0069212160110473635,
0.007049215793609619,
0.006988800048828125,
0.007218175888061523,
0.006909952163696289,
0.006864895820617676,
0.0069847040176391605,
0.006915071964263916,
0.00692633581161499,
0.00694374418258667,
0.007013376235961914,
0.007027775764465332,
0.007018496036529541,
0.0071281280517578125,
0.007054336071014404,
0.007173120021820068,
0.007073791980743408,
0.006914048194885254,
0.007047167778015137,
0.007066624164581299,
0.007057407855987549,
0.006979584217071533,
0.0070225920677185055,
0.007072768211364746,
0.006840320110321045,
0.006970304012298584,
0.006961184024810791,
0.007275519847869873,
0.007029759883880615,
0.006864895820617676,
0.00704307222366333,
0.006973440170288086,
0.0069847040176391605,
0.0069632000923156735,
0.006979584217071533,
0.007180287837982178,
0.007049215793609619,
0.007168000221252442,
0.007085055828094483,
0.007073791980743408,
0.007087103843688965,
0.007071743965148926,
0.007120895862579346,
0.007114751815795899,
0.006907904148101806,
0.007101439952850342,
0.006951935768127441,
0.00684441614151001,
0.006804480075836182,
0.00687718391418457,
0.006907904148101806,
0.006790143966674805,
0.0065372161865234375,
0.006552608013153076,
0.006606847763061524,
0.006598720073699951,
0.006647808074951172,
0.006876224040985107,
0.0068915200233459475,
0.00693555212020874,
0.007096255779266357,
0.006836160182952881,
0.006648831844329834,
0.006639616012573242,
0.0066416640281677245,
0.00657203197479248,
0.0065177597999572755,
0.006583295822143555,
0.006586368083953857,
0.006551551818847656,
0.006589439868927002,
0.006614016056060791,
0.0065443840026855465,
0.006615039825439453,
0.006561791896820069,
0.006551551818847656,
0.006462528228759766,
0.00658841609954834,
0.006526976108551025,
0.006535168170928955,
0.006527999877929688,
0.006521920204162598,
0.006713344097137451,
0.006501376152038574,
0.006550528049468994,
0.006519807815551758,
0.006518784046173095,
0.00653107213973999,
0.0065372161865234375,
0.006499328136444092,
0.006497280120849609,
0.006502399921417237,
0.0067420158386230465,
0.006598688125610351,
0.006540287971496582,
0.00653926420211792,
0.00653107213973999,
0.006665215969085693,
0.006525951862335205,
0.0065372161865234375,
0.0065372161865234375,
0.0065484800338745115,
0.006525951862335205,
0.006540287971496582,
0.006714367866516113,
0.00653107213973999,
0.006505472183227539,
0.006536191940307618,
0.006505472183227539,
0.006540287971496582,
0.006526976108551025,
0.006510591983795166,
0.006535200119018555,
0.00652185583114624,
0.0065075201988220215,
0.00653926420211792,
0.00652288007736206
]
},
"throughput": {
"unit": "samples/s",
"value": 146.45485826399968
},
"energy": {
"unit": "kWh",
"cpu": 7.833566690920388e-08,
"ram": 4.282788398849977e-08,
"gpu": 1.765498488421066e-07,
"total": 2.977133997398103e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3358935.1398827205
}
}
}
}