IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
136f3b7
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "91971089040d6dac4da0f6b0a30eec8415a34544", | |
"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": 982.847488, | |
"max_global_vram": 409.157632, | |
"max_process_vram": 42517.078016, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.976130859375, | |
"mean": 6.976130859375, | |
"stdev": 0.0, | |
"p50": 6.976130859375, | |
"p90": 6.976130859375, | |
"p95": 6.976130859375, | |
"p99": 6.976130859375, | |
"values": [ | |
6.976130859375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.877504, | |
"max_global_vram": 520.531968, | |
"max_process_vram": 273377.042432, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9980187811851507, | |
"mean": 0.006930685980452432, | |
"stdev": 0.0002265098649397263, | |
"p50": 0.006899796962738037, | |
"p90": 0.007155877828598022, | |
"p95": 0.007427640008926391, | |
"p99": 0.007570468640327454, | |
"values": [ | |
0.00758243989944458, | |
0.007494279861450195, | |
0.007525800228118896, | |
0.007518600940704345, | |
0.007554599761962891, | |
0.007510600090026856, | |
0.007393640041351318, | |
0.007250598907470703, | |
0.007212038993835449, | |
0.007191237926483155, | |
0.007257798194885254, | |
0.007161637783050537, | |
0.007024998188018799, | |
0.007020358085632324, | |
0.007003236770629883, | |
0.007027877807617188, | |
0.00697475814819336, | |
0.0070515570640563964, | |
0.006950437068939209, | |
0.00700531816482544, | |
0.006999076843261719, | |
0.006969158172607422, | |
0.006980037212371826, | |
0.006960837841033935, | |
0.006988037109375, | |
0.007165478229522705, | |
0.007142437934875488, | |
0.008126442909240722, | |
0.007433640003204346, | |
0.006989798069000244, | |
0.006924356937408447, | |
0.006892837047576904, | |
0.006813957214355469, | |
0.0068856368064880375, | |
0.0070544381141662595, | |
0.007029637813568115, | |
0.00697651720046997, | |
0.006993157863616943, | |
0.00697171688079834, | |
0.006914597034454345, | |
0.006991076946258545, | |
0.007016356945037842, | |
0.0070494780540466305, | |
0.007036838054656982, | |
0.007052358150482178, | |
0.007093798160552978, | |
0.007084197998046875, | |
0.007061798095703125, | |
0.00705331802368164, | |
0.007081478118896484, | |
0.007049798011779785, | |
0.007081317901611328, | |
0.00705059814453125, | |
0.007062438011169433, | |
0.007064198017120361, | |
0.0070843582153320315, | |
0.007055397987365723, | |
0.007081637859344483, | |
0.0070629181861877445, | |
0.007086758136749268, | |
0.006951558113098145, | |
0.006905316829681396, | |
0.006910916805267334, | |
0.006985957145690918, | |
0.006871716022491455, | |
0.006868836879730225, | |
0.00693491792678833, | |
0.006818436145782471, | |
0.006873157024383545, | |
0.006868196964263916, | |
0.006899877071380615, | |
0.006821637153625488, | |
0.006781636238098144, | |
0.0067781171798706056, | |
0.006809956073760987, | |
0.0067097959518432615, | |
0.0067189159393310546, | |
0.0067237157821655276, | |
0.006716035842895508, | |
0.006724835872650147, | |
0.006735876083374024, | |
0.006712195873260498, | |
0.006719235897064209, | |
0.0067360358238220215, | |
0.00671811580657959, | |
0.006727715969085693, | |
0.006720516204833984, | |
0.006730276107788086, | |
0.006722276210784912, | |
0.0067219557762145995, | |
0.006732835769653321, | |
0.0067257962226867675, | |
0.006755715847015381, | |
0.006748355865478515, | |
0.006750755786895752, | |
0.006712356090545654, | |
0.00673443603515625, | |
0.006719396114349365, | |
0.006750436782836914, | |
0.006740196228027344, | |
0.006759555816650391, | |
0.0067470760345458985, | |
0.00674643611907959, | |
0.006730916023254395, | |
0.006727235794067383, | |
0.006934277057647705, | |
0.007023077011108398, | |
0.0068683562278747555, | |
0.007064836978912354, | |
0.00705907678604126, | |
0.007085637092590332, | |
0.007058436870574951, | |
0.0068517160415649415, | |
0.00689635705947876, | |
0.006940677165985108, | |
0.006889636993408203, | |
0.006856677055358887, | |
0.006928997039794922, | |
0.006908836841583252, | |
0.006899716854095459, | |
0.006776037216186523, | |
0.006709636211395264, | |
0.006727715969085693, | |
0.006717636108398438, | |
0.006738595962524414, | |
0.00679315710067749, | |
0.006730435848236084, | |
0.00672787618637085, | |
0.006749795913696289, | |
0.0067433958053588865, | |
0.006717475891113281, | |
0.006749636173248291, | |
0.006725955963134766, | |
0.0067310757637023926, | |
0.006724676132202148, | |
0.006744036197662354, | |
0.006735715866088867, | |
0.006717155933380127, | |
0.006718435764312744, | |
0.006712835788726806, | |
0.006729636192321777, | |
0.006757155895233154, | |
0.006717154979705811, | |
0.006734275817871093 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.28586186424226 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |