IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
54506bf
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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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": "347e13ca9f7f904f55669603cfb9f0b6c7e8672c", | |
"transformers_version": "4.41.1", | |
"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": 1824.84992, | |
"max_global_vram": 1500.704768, | |
"max_process_vram": 93598.39232, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 156, | |
"total": 0.9989659008979801, | |
"mean": 0.006403627569858844, | |
"stdev": 0.0001370453761966681, | |
"p50": 0.006382889032363892, | |
"p90": 0.006482648849487305, | |
"p95": 0.006541009068489074, | |
"p99": 0.00697049746513366, | |
"values": [ | |
0.006478728771209717, | |
0.006440649032592774, | |
0.00638080883026123, | |
0.006360488891601563, | |
0.006414409160614014, | |
0.006452009201049804, | |
0.006418569087982178, | |
0.0064224090576171875, | |
0.006411530017852783, | |
0.006393768787384033, | |
0.0063208088874816895, | |
0.0063660888671875, | |
0.006359209060668945, | |
0.006369769096374512, | |
0.0063515291213989255, | |
0.006338569164276123, | |
0.006364008903503418, | |
0.006414569854736328, | |
0.006406729221343994, | |
0.006432488918304443, | |
0.0064204888343811035, | |
0.006464169025421142, | |
0.006395050048828125, | |
0.006364809036254883, | |
0.0064113688468933104, | |
0.006376809120178223, | |
0.006399368762969971, | |
0.006469608783721924, | |
0.0064252901077270505, | |
0.0064187288284301754, | |
0.006422248840332032, | |
0.006422089099884033, | |
0.00641248893737793, | |
0.006408490180969238, | |
0.0064176092147827145, | |
0.006385929107666015, | |
0.006391048908233643, | |
0.0064278488159179685, | |
0.006428648948669433, | |
0.006393610000610351, | |
0.0063851289749145505, | |
0.006383209228515625, | |
0.0064131288528442385, | |
0.006403369903564453, | |
0.00641248893737793, | |
0.006424169063568116, | |
0.0064934492111206055, | |
0.006433448791503906, | |
0.006407529830932617, | |
0.006402568817138672, | |
0.006454089164733887, | |
0.006435849189758301, | |
0.006438889026641846, | |
0.0064160099029541015, | |
0.006447848796844483, | |
0.006438088893890381, | |
0.006414888858795166, | |
0.006400649070739746, | |
0.0064233698844909665, | |
0.0063899288177490235, | |
0.006385609149932862, | |
0.006390889167785644, | |
0.006395369052886963, | |
0.0064579291343688965, | |
0.006497289180755615, | |
0.0064865689277648925, | |
0.006477609157562256, | |
0.006538730144500732, | |
0.006544969081878662, | |
0.006602409839630127, | |
0.006594089031219483, | |
0.006551689147949219, | |
0.006602089881896972, | |
0.006523209095001221, | |
0.0064958491325378415, | |
0.006539689064025879, | |
0.006492969036102295, | |
0.006419848918914795, | |
0.006421129226684571, | |
0.006472969055175781, | |
0.006417929172515869, | |
0.00640816879272461, | |
0.006364008903503418, | |
0.0063825688362121585, | |
0.006401770114898682, | |
0.00637376880645752, | |
0.0063532891273498536, | |
0.00755393123626709, | |
0.006679688930511475, | |
0.0064596891403198246, | |
0.0063635301589965824, | |
0.006360329151153564, | |
0.006315049171447754, | |
0.006289608955383301, | |
0.006345129013061524, | |
0.006326569080352783, | |
0.006324169158935547, | |
0.006301609039306641, | |
0.006311849117279052, | |
0.006336489200592041, | |
0.0063355288505554195, | |
0.006326889038085938, | |
0.006319209098815918, | |
0.006350568771362305, | |
0.006277129173278808, | |
0.00631968879699707, | |
0.006338569164276123, | |
0.006331368923187256, | |
0.0063777689933776855, | |
0.0063532891273498536, | |
0.006322089195251465, | |
0.0063561692237854, | |
0.006381128787994385, | |
0.006404169082641601, | |
0.006349928855895996, | |
0.006334568977355957, | |
0.00637152910232544, | |
0.00636768913269043, | |
0.006361289024353027, | |
0.006331048965454102, | |
0.00631040906906128, | |
0.0063140888214111325, | |
0.006323688983917236, | |
0.006352328777313233, | |
0.006357288837432861, | |
0.006336009025573731, | |
0.006444009780883789, | |
0.006328488826751709, | |
0.006343369007110596, | |
0.006319368839263916, | |
0.006319529056549073, | |
0.006331209182739258, | |
0.006312489032745361, | |
0.006320168972015381, | |
0.006332008838653564, | |
0.006309928894042968, | |
0.006325288772583008, | |
0.006322888851165771, | |
0.0063368091583251955, | |
0.00632512903213501, | |
0.0063068890571594234, | |
0.006326408863067627, | |
0.006299849033355713, | |
0.006321448802947998, | |
0.0063203291893005374, | |
0.006347208976745605, | |
0.007325930118560791, | |
0.006340488910675048, | |
0.006335848808288574, | |
0.00635456895828247, | |
0.006300327777862549, | |
0.006360488891601563, | |
0.006332808971405029, | |
0.00633936882019043, | |
0.006336168766021728, | |
0.00631264877319336 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 156.1614864529111 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |