IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
27aa0f6
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"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.2.1", | |
"optimum_benchmark_commit": "1ba65d84c92c93ea19ab2d2293c92bced987bae2", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1818.23488, | |
"max_global_vram": 1521.64352, | |
"max_process_vram": 101263.294464, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 165, | |
"total": 0.9980194911956789, | |
"mean": 0.006048602976943507, | |
"stdev": 0.000359343182533155, | |
"p50": 0.005869129180908203, | |
"p90": 0.006452010917663574, | |
"p95": 0.006484842014312744, | |
"p99": 0.006599222087860105, | |
"values": [ | |
0.006339049816131591, | |
0.005921769142150879, | |
0.006097609996795654, | |
0.005902409076690674, | |
0.0059401698112487794, | |
0.005806889057159424, | |
0.005799368858337402, | |
0.005834729194641113, | |
0.005784328937530518, | |
0.00580272912979126, | |
0.005805609226226807, | |
0.005823688983917236, | |
0.006405450820922851, | |
0.006735209941864014, | |
0.0064977707862854004, | |
0.006518730163574219, | |
0.006514729976654053, | |
0.006204010009765625, | |
0.005767368793487549, | |
0.005753769874572754, | |
0.005738568782806396, | |
0.005747848987579345, | |
0.0057392091751098636, | |
0.0059984087944030765, | |
0.00577056884765625, | |
0.005747209072113037, | |
0.005780969142913818, | |
0.005817129135131836, | |
0.005752968788146973, | |
0.005752968788146973, | |
0.005767048835754395, | |
0.00576672887802124, | |
0.00582352876663208, | |
0.005819849014282227, | |
0.005849289894104004, | |
0.005837288856506348, | |
0.005849769115447998, | |
0.00580880880355835, | |
0.005794888973236084, | |
0.005772968769073486, | |
0.005756009101867676, | |
0.005775208950042725, | |
0.005853449821472168, | |
0.005869129180908203, | |
0.006066410064697265, | |
0.007864811897277831, | |
0.006490251064300537, | |
0.006474730014801026, | |
0.006400010108947754, | |
0.006414090156555176, | |
0.006419849872589111, | |
0.006444490909576416, | |
0.006421609878540039, | |
0.006423210144042969, | |
0.006428810119628906, | |
0.006434570789337158, | |
0.006415209770202637, | |
0.0064444899559021, | |
0.006422410011291504, | |
0.006417610168457031, | |
0.006453290939331054, | |
0.006429450035095215, | |
0.0064320101737976075, | |
0.006428009986877441, | |
0.006392490863800049, | |
0.006435530185699463, | |
0.0064369702339172365, | |
0.006431049823760986, | |
0.006437129974365234, | |
0.006408490180969238, | |
0.006417610168457031, | |
0.0064233698844909665, | |
0.006407849788665772, | |
0.006404489994049072, | |
0.006416329860687256, | |
0.006433450222015381, | |
0.00637185001373291, | |
0.006368330001831055, | |
0.0064404897689819334, | |
0.006194890022277832, | |
0.0057067289352416995, | |
0.005666889190673828, | |
0.005681768894195556, | |
0.00568480920791626, | |
0.005682088851928711, | |
0.005703848838806152, | |
0.005676328182220459, | |
0.0057374491691589355, | |
0.005722249031066894, | |
0.005724489212036133, | |
0.005696969032287598, | |
0.005703369140625, | |
0.005665928840637207, | |
0.005641929149627686, | |
0.005709609031677246, | |
0.005688969135284424, | |
0.005737608909606934, | |
0.005765929222106934, | |
0.00583696985244751, | |
0.00568272876739502, | |
0.005686728954315185, | |
0.005691689014434814, | |
0.0056596889495849605, | |
0.005699849128723145, | |
0.005644649028778076, | |
0.00570288896560669, | |
0.0058726491928100585, | |
0.005686728954315185, | |
0.005657608032226562, | |
0.005656167984008789, | |
0.005690568923950195, | |
0.005702249050140381, | |
0.005688808917999268, | |
0.005669929027557373, | |
0.005683049201965332, | |
0.005672648906707763, | |
0.005677928924560547, | |
0.005694088935852051, | |
0.005671689033508301, | |
0.005699849128723145, | |
0.005686569213867188, | |
0.005716649055480957, | |
0.005697769165039062, | |
0.005688969135284424, | |
0.005693929195404053, | |
0.005655848979949951, | |
0.005868009090423584, | |
0.00570720911026001, | |
0.005692169189453125, | |
0.0063494501113891605, | |
0.0063616099357604984, | |
0.006362249851226806, | |
0.006366730213165283, | |
0.00609296989440918, | |
0.006084808826446533, | |
0.005898250102996826, | |
0.006077768802642822, | |
0.0058961701393127446, | |
0.006056328773498535, | |
0.005855370044708252, | |
0.005995368957519532, | |
0.005829929828643799, | |
0.0058652892112731935, | |
0.006015529155731201, | |
0.0061150498390197755, | |
0.006436649799346924, | |
0.0064115309715271, | |
0.006465449810028077, | |
0.006397130012512207, | |
0.006370570182800293, | |
0.0064588899612426755, | |
0.006460969924926758, | |
0.006487370014190674, | |
0.006510570049285889, | |
0.00643393087387085, | |
0.006449450016021729, | |
0.00645969009399414, | |
0.006456009864807129, | |
0.0064500908851623535, | |
0.006420650005340576, | |
0.0064563298225402835, | |
0.00652272891998291, | |
0.006438089847564697, | |
0.006437930107116699, | |
0.006348490238189697 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 165.3274324355344 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |