IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e09e633 verified
raw
history blame
12.9 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.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.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.1",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 951.25504,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 191,
"total": 0.9984378218650816,
"mean": 0.005227423151126082,
"stdev": 0.00035915487155887475,
"p50": 0.005131264209747314,
"p90": 0.005328896045684814,
"p95": 0.0055639040470123295,
"p99": 0.00745979504585266,
"values": [
0.007977983951568603,
0.00757862377166748,
0.007446591854095459,
0.0064143362045288085,
0.005702655792236328,
0.0055582718849182125,
0.005631999969482422,
0.005539999961853027,
0.00552345609664917,
0.005585919857025146,
0.006041600227355957,
0.005283840179443359,
0.005094431877136231,
0.005079040050506592,
0.005123072147369385,
0.005028863906860351,
0.005033984184265137,
0.004992000102996826,
0.005000192165374756,
0.004986879825592041,
0.0049909758567810054,
0.005032959938049316,
0.005021696090698242,
0.004977663993835449,
0.004969471931457519,
0.005022719860076904,
0.005079040050506592,
0.005038080215454102,
0.005071807861328125,
0.005029888153076172,
0.00502784013748169,
0.004976768016815186,
0.004971519947052002,
0.005014527797698975,
0.00506060791015625,
0.005051392078399658,
0.005274623870849609,
0.00528495979309082,
0.005249023914337158,
0.005183487892150879,
0.0052008957862854,
0.005260287761688232,
0.005258240222930908,
0.005330751895904541,
0.005287936210632324,
0.005238783836364746,
0.005343200206756592,
0.005272607803344726,
0.005272575855255127,
0.005274623870849609,
0.005272575855255127,
0.00530944013595581,
0.005272575855255127,
0.005282815933227539,
0.005201024055480957,
0.005194752216339111,
0.005226624011993408,
0.005189631938934326,
0.0052008957862854,
0.005310463905334473,
0.005313536167144775,
0.005325823783874512,
0.005431295871734619,
0.005261312007904053,
0.005273600101470947,
0.005569536209106446,
0.00530841588973999,
0.005319680213928223,
0.005277696132659912,
0.005277696132659912,
0.005320640087127686,
0.005328896045684814,
0.005275648117065429,
0.0052715520858764645,
0.005256192207336426,
0.005245952129364013,
0.00521830415725708,
0.005268479824066162,
0.005221375942230225,
0.005134335994720459,
0.0050841598510742185,
0.005079040050506592,
0.005073855876922608,
0.00505241584777832,
0.005070687770843506,
0.005044223785400391,
0.0050381760597229,
0.0050657281875610355,
0.0050728960037231445,
0.0050728960037231445,
0.005065695762634277,
0.005083136081695557,
0.005115903854370117,
0.0050432000160217285,
0.005088255882263183,
0.005083136081695557,
0.005055488109588623,
0.005035007953643799,
0.005100575923919678,
0.0051036481857299806,
0.0050544958114624025,
0.005058559894561767,
0.005100543975830078,
0.005071872234344482,
0.005030911922454834,
0.005073919773101807,
0.005061632156372071,
0.005131231784820557,
0.005041152000427246,
0.005073919773101807,
0.0050657281875610355,
0.005073919773101807,
0.005108736038208008,
0.005126143932342529,
0.005096447944641113,
0.005102591991424561,
0.005102591991424561,
0.005114880084991455,
0.005091328144073487,
0.00510969591140747,
0.005150720119476319,
0.0051138558387756345,
0.0051036162376403805,
0.005125120162963868,
0.005101568222045898,
0.005032959938049316,
0.0050768318176269535,
0.005131264209747314,
0.005114880084991455,
0.005096447944641113,
0.00506982421875,
0.005105663776397705,
0.005134335994720459,
0.005042208194732666,
0.005473279953002929,
0.005246975898742676,
0.0052111358642578124,
0.005256192207336426,
0.005213183879852295,
0.00521727991104126,
0.005299200057983398,
0.005305344104766845,
0.0052899842262268066,
0.0054917120933532714,
0.005328896045684814,
0.005281792163848877,
0.005251071929931641,
0.005253119945526123,
0.005243904113769531,
0.005255167961120606,
0.0052325439453125,
0.005256192207336426,
0.005307199954986572,
0.005278719902038574,
0.005230591773986816,
0.005208064079284668,
0.005959712028503418,
0.00530944013595581,
0.005336063861846924,
0.00530841588973999,
0.0052367358207702636,
0.005265471935272217,
0.005235712051391602,
0.005201920032501221,
0.005272575855255127,
0.005265408039093018,
0.0052367358207702636,
0.005249023914337158,
0.005204991817474365,
0.005054336071014404,
0.005038976192474365,
0.0050841598510742185,
0.005047296047210693,
0.005031936168670655,
0.005027904033660889,
0.005107647895812988,
0.005066751956939697,
0.00505241584777832,
0.005115903854370117,
0.005134335994720459,
0.005061823844909668,
0.005099520206451416,
0.0051333122253417966,
0.005107711791992187,
0.005096447944641113,
0.005090303897857666,
0.005088255882263183,
0.005039103984832764,
0.005057600021362305,
0.005066751956939697,
0.0050503678321838375
]
},
"throughput": {
"unit": "samples/s",
"value": 191.29884286956602
},
"energy": {
"unit": "kWh",
"cpu": 6.248174355044003e-08,
"ram": 3.4162408267691624e-08,
"gpu": 1.3355273842105304e-07,
"total": 2.3019689023918472e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4344107.33768365
}
}
}
}