IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
19652f4 verified
raw
history blame
12.5 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.4.0",
"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.93408,
"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.51550341796875,
"mean": 7.51550341796875,
"stdev": 0.0,
"p50": 7.51550341796875,
"p90": 7.51550341796875,
"p95": 7.51550341796875,
"p99": 7.51550341796875,
"values": [
7.51550341796875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.36972330013911e-06,
"ram": 2.3790004841092127e-06,
"gpu": 6.4391718179999426e-06,
"total": 1.3187895602248265e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 977.69472,
"max_global_vram": 1040.71168,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 154,
"total": 0.9991036810874938,
"mean": 0.006487686240827882,
"stdev": 0.0002672594821281815,
"p50": 0.006356479883193969,
"p90": 0.006772735977172852,
"p95": 0.007103334283828735,
"p99": 0.0074636697244644164,
"values": [
0.007703551769256592,
0.007250944137573242,
0.0072130560874938965,
0.007074816226959229,
0.007188479900360107,
0.007137279987335205,
0.007085055828094483,
0.007170048236846924,
0.007170048236846924,
0.00783462381362915,
0.0067123198509216305,
0.0065669121742248536,
0.006467584133148193,
0.006345727920532227,
0.006325247764587402,
0.006322175979614258,
0.006310912132263183,
0.006363135814666748,
0.006341631889343262,
0.006322175979614258,
0.00632422399520874,
0.006323200225830078,
0.0063580479621887205,
0.006328320026397705,
0.00633241605758667,
0.006359039783477783,
0.006340608119964599,
0.006333439826965332,
0.006273024082183838,
0.006291456222534179,
0.006385663986206055,
0.006426623821258545,
0.006315008163452148,
0.006316031932830811,
0.006366208076477051,
0.0063498239517211915,
0.006351840019226074,
0.006355967998504639,
0.006281216144561768,
0.006406144142150879,
0.006360095977783203,
0.006260735988616943,
0.006308864116668702,
0.006253568172454834,
0.0062904319763183595,
0.006245376110076905,
0.00626585578918457,
0.006277120113372803,
0.006253568172454834,
0.0062975997924804685,
0.006264832019805908,
0.006268928050994873,
0.00624124813079834,
0.006276095867156982,
0.006268928050994873,
0.006313983917236328,
0.006376448154449463,
0.006326272010803223,
0.0063539199829101565,
0.00632428789138794,
0.006326272010803223,
0.0062863359451293946,
0.006315008163452148,
0.006335487842559814,
0.006309887886047363,
0.006288383960723877,
0.006281216144561768,
0.006273024082183838,
0.0062904319763183595,
0.006307839870452881,
0.0063569917678833006,
0.00632422399520874,
0.00632422399520874,
0.006346752166748047,
0.006344704151153564,
0.0064133119583129885,
0.006328320026397705,
0.0063201279640197755,
0.006352896213531494,
0.0065146880149841305,
0.006622208118438721,
0.006619135856628418,
0.006557695865631104,
0.006604800224304199,
0.0066007041931152345,
0.006589439868927002,
0.006586368083953857,
0.006596640110015869,
0.006591487884521485,
0.006606847763061524,
0.006812672138214112,
0.006594528198242187,
0.006605855941772461,
0.006583295822143555,
0.00658022403717041,
0.006575104236602783,
0.006605823993682861,
0.00658739185333252,
0.006594560146331787,
0.0065688958168029785,
0.006822912216186523,
0.0066089282035827635,
0.006619135856628418,
0.006567935943603515,
0.00673689603805542,
0.007000063896179199,
0.006949888229370117,
0.006788095951080322,
0.006814720153808594,
0.006593535900115967,
0.006665215969085693,
0.006624256134033203,
0.0066078720092773435,
0.006604800224304199,
0.006590464115142822,
0.006545407772064209,
0.006586368083953857,
0.006565887928009034,
0.006575104236602783,
0.006606847763061524,
0.006589439868927002,
0.00657203197479248,
0.00658841609954834,
0.006568960189819336,
0.006565887928009034,
0.006599679946899414,
0.006567935943603515,
0.006553599834442139,
0.00642252779006958,
0.006311935901641846,
0.00633241605758667,
0.006331391811370849,
0.006305791854858398,
0.006323200225830078,
0.006312960147857666,
0.006340640068054199,
0.006316031932830811,
0.00631609582901001,
0.006370304107666015,
0.006360064029693604,
0.006390848159790039,
0.006299647808074951,
0.006348800182342529,
0.006339583873748779,
0.006315008163452148,
0.006340608119964599,
0.006327231884002685,
0.006351871967315674,
0.0063508481979370115,
0.006319104194641113,
0.006335487842559814,
0.006307871818542481,
0.006347775936126709,
0.006329343795776367
]
},
"throughput": {
"unit": "samples/s",
"value": 154.13815694520883
},
"energy": {
"unit": "kWh",
"cpu": 7.646324648986177e-08,
"ram": 4.1692461456226826e-08,
"gpu": 1.6125369025640882e-07,
"total": 2.7940939820249744e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3578977.6808984294
}
}
}
}