IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
67d733a verified
raw
history blame
12 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-212.873.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.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": 852.7872,
"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.661896484375,
"mean": 7.661896484375,
"stdev": 0.0,
"p50": 7.661896484375,
"p90": 7.661896484375,
"p95": 7.661896484375,
"p99": 7.661896484375,
"values": [
7.661896484375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.312435982638935e-06,
"ram": 2.347787988570942e-06,
"gpu": 7.191116864000173e-06,
"total": 1.385134083521005e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1092.296704,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.9983211188316344,
"mean": 0.006981266565256186,
"stdev": 0.0002592107127118737,
"p50": 0.00683622407913208,
"p90": 0.007276134490966797,
"p95": 0.0074930174827575685,
"p99": 0.007721451549530032,
"values": [
0.0074997758865356446,
0.007432191848754883,
0.007599103927612305,
0.007541759967803955,
0.007845888137817383,
0.0075970559120178225,
0.007320576190948487,
0.00781004810333252,
0.006956031799316406,
0.006779903888702392,
0.006807551860809326,
0.006833151817321777,
0.006760447978973389,
0.006834176063537598,
0.00713318395614624,
0.0067686400413513184,
0.00673689603805542,
0.006770688056945801,
0.006746111869812011,
0.00667955207824707,
0.006683648109436035,
0.006703104019165039,
0.006719488143920899,
0.00684441614151001,
0.006837247848510742,
0.0067717118263244626,
0.0067358717918396,
0.006762495994567871,
0.006781951904296875,
0.0070553598403930665,
0.006781951904296875,
0.006776832103729248,
0.006746111869812011,
0.006799359798431396,
0.006752255916595459,
0.006788095951080322,
0.006771743774414063,
0.006804480075836182,
0.006774784088134766,
0.006930431842803955,
0.006804480075836182,
0.006883327960968018,
0.006866943836212158,
0.006773759841918945,
0.006968319892883301,
0.006779903888702392,
0.006767615795135498,
0.006919167995452881,
0.006770688056945801,
0.006781951904296875,
0.006829055786132812,
0.006783967971801758,
0.006806528091430664,
0.006688767910003662,
0.006754303932189941,
0.006774784088134766,
0.006761536121368408,
0.006808576107025147,
0.006789120197296142,
0.006783999919891357,
0.006816768169403077,
0.006968319892883301,
0.006982656002044678,
0.00683622407913208,
0.006778880119323731,
0.00677785587310791,
0.006789120197296142,
0.006801375865936279,
0.006809599876403808,
0.006848512172698974,
0.006848512172698974,
0.006900735855102539,
0.00682700777053833,
0.006873087882995605,
0.006781951904296875,
0.006767615795135498,
0.006933504104614257,
0.006931456089019775,
0.006819839954376221,
0.0067758078575134275,
0.0068249602317810056,
0.006807551860809326,
0.006800384044647217,
0.006813695907592773,
0.006790143966674805,
0.00683622407913208,
0.006817791938781738,
0.006816768169403077,
0.006806528091430664,
0.006808576107025147,
0.006815743923187256,
0.006914048194885254,
0.006916096210479736,
0.00672051191329956,
0.00674508810043335,
0.006739903926849365,
0.006840320110321045,
0.0068392958641052244,
0.00676966381072998,
0.006813695907592773,
0.006793216228485107,
0.006793216228485107,
0.007007232189178467,
0.007219200134277344,
0.0072765440940856935,
0.007267327785491944,
0.00759500789642334,
0.007219200134277344,
0.007274496078491211,
0.00724889612197876,
0.007262207984924316,
0.007265279769897461,
0.007268288135528564,
0.007198719978332519,
0.007223296165466309,
0.007238656044006348,
0.007286784172058106,
0.007217184066772461,
0.007201791763305664,
0.007237599849700928,
0.007398399829864502,
0.0073994240760803225,
0.0072427520751953125,
0.007195648193359375,
0.007209983825683594,
0.007235583782196045,
0.007188479900360107,
0.007200767993927002,
0.007188479900360107,
0.0071833600997924804,
0.007266304016113281,
0.007225344181060791,
0.007236608028411865,
0.007250944137573242,
0.007541759967803955,
0.007170080184936523,
0.007239712238311768,
0.0073175039291381834,
0.00724070405960083,
0.007234560012817383,
0.007188479900360107,
0.007188479900360107,
0.007206912040710449
]
},
"throughput": {
"unit": "samples/s",
"value": 143.24048375071663
},
"energy": {
"unit": "kWh",
"cpu": 8.419556785362391e-08,
"ram": 4.6033339909336844e-08,
"gpu": 1.899016491631219e-07,
"total": 3.201305569260826e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3123725.5499820895
}
}
}
}