IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d5aa6e2 verified
raw
history blame
12.3 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.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 789.127168,
"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.4473388671875,
"mean": 7.4473388671875,
"stdev": 0.0,
"p50": 7.4473388671875,
"p90": 7.4473388671875,
"p95": 7.4473388671875,
"p99": 7.4473388671875,
"values": [
7.4473388671875
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3041444487041905e-06,
"ram": 2.3431654584624085e-06,
"gpu": 6.3491717460003455e-06,
"total": 1.2996481653166945e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.068608,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 150,
"total": 0.9959649930000304,
"mean": 0.006639766620000203,
"stdev": 0.00019764668934703933,
"p50": 0.006646783828735352,
"p90": 0.006819123363494873,
"p95": 0.007023886299133299,
"p99": 0.007215216617584228,
"values": [
0.00733900785446167,
0.007121920108795166,
0.00714137601852417,
0.007245823860168457,
0.0071833600997924804,
0.00710041618347168,
0.007067647933959961,
0.007090176105499267,
0.006931456089019775,
0.006933504104614257,
0.006821887969970703,
0.006803455829620361,
0.006606847763061524,
0.006536191940307618,
0.006647808074951172,
0.006678431987762451,
0.006718463897705078,
0.006751232147216797,
0.006785024166107178,
0.006721536159515381,
0.006669312000274658,
0.006646783828735352,
0.006689792156219483,
0.006789120197296142,
0.006759424209594727,
0.006717440128326416,
0.006752255916595459,
0.006706175804138184,
0.006710271835327148,
0.00669382381439209,
0.0067348480224609375,
0.006723584175109864,
0.006655968189239502,
0.006564864158630371,
0.006855679988861084,
0.006639616012573242,
0.0066550722122192384,
0.006589439868927002,
0.006643712043762207,
0.006650879859924317,
0.006723584175109864,
0.006721536159515381,
0.006773759841918945,
0.006765503883361817,
0.006730751991271973,
0.006708223819732666,
0.006646783828735352,
0.006652927875518798,
0.006774784088134766,
0.006783999919891357,
0.00673689603805542,
0.006686719894409179,
0.006813695907592773,
0.006601727962493896,
0.006593535900115967,
0.006700032234191895,
0.006676479816436768,
0.00675328016281128,
0.006621183872222901,
0.006662144184112549,
0.006646783828735352,
0.006660128116607666,
0.00667955207824707,
0.006636544227600098,
0.006710271835327148,
0.0067358717918396,
0.006732800006866455,
0.006789120197296142,
0.0067758078575134275,
0.0067717118263244626,
0.006713344097137451,
0.0067276802062988285,
0.006718463897705078,
0.006645760059356689,
0.006722559928894043,
0.006696991920471192,
0.006589439868927002,
0.0065443840026855465,
0.006404096126556396,
0.006452223777770996,
0.006553599834442139,
0.0064440321922302245,
0.006346752166748047,
0.006368256092071533,
0.0063569917678833006,
0.0066416640281677245,
0.006818816184997558,
0.0066938881874084475,
0.00674508810043335,
0.006789120197296142,
0.0069550080299377445,
0.0068321280479431154,
0.006643712043762207,
0.0066119680404663084,
0.006603775978088379,
0.006656000137329102,
0.006690815925598144,
0.006653952121734619,
0.0066406078338623045,
0.006635519981384277,
0.006606847763061524,
0.0066007041931152345,
0.006585343837738037,
0.006584320068359375,
0.0065781760215759275,
0.00653004789352417,
0.006470655918121338,
0.006354944229125976,
0.006472640037536621,
0.006347775936126709,
0.006328320026397705,
0.006347775936126709,
0.006344704151153564,
0.006335487842559814,
0.006328320026397705,
0.0063272957801818845,
0.006348800182342529,
0.006336512088775635,
0.0063272957801818845,
0.0063805441856384275,
0.006358079910278321,
0.00642460823059082,
0.006403071880340576,
0.006377471923828125,
0.006358016014099121,
0.006344704151153564,
0.0069703998565673825,
0.006600768089294434,
0.00657919979095459,
0.006586368083953857,
0.0065781760215759275,
0.00657203197479248,
0.006647808074951172,
0.00657203197479248,
0.006563839912414551,
0.006554624080657959,
0.006495232105255127,
0.0066078720092773435,
0.006590464115142822,
0.006569983959197998,
0.006788095951080322,
0.006606912136077881,
0.0065136637687683106,
0.006370304107666015,
0.006354944229125976,
0.006339583873748779,
0.006372352123260498,
0.006375423908233643,
0.006364160060882569,
0.006351871967315674
]
},
"throughput": {
"unit": "samples/s",
"value": 150.60770313640472
},
"energy": {
"unit": "kWh",
"cpu": 7.433226228588158e-08,
"ram": 4.0531141427861074e-08,
"gpu": 1.5894109937500206e-07,
"total": 2.738045030887447e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3652240.88252443
}
}
}
}