IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e90c5c3
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.0", | |
"optimum_benchmark_commit": "4ec62071e1c9b9c89fb7e3c044340b391a0c4120", | |
"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": 1829.015552, | |
"max_global_vram": 1521.664, | |
"max_process_vram": 107762.712576, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.9944457907676695, | |
"mean": 0.005849681122162763, | |
"stdev": 0.00032355907132938485, | |
"p50": 0.00577336835861206, | |
"p90": 0.006320504903793335, | |
"p95": 0.006377082037925721, | |
"p99": 0.006614212465286256, | |
"values": [ | |
0.00688656997680664, | |
0.006491848945617676, | |
0.0063780899047851565, | |
0.006360808849334717, | |
0.0063331298828125, | |
0.006378889083862305, | |
0.006381770133972168, | |
0.006382248878479004, | |
0.006350729942321777, | |
0.0063961691856384275, | |
0.006375850200653076, | |
0.0062993688583374025, | |
0.006327849864959717, | |
0.0063067288398742675, | |
0.006296968936920166, | |
0.006300809860229492, | |
0.006028809070587158, | |
0.0061104087829589844, | |
0.005938088893890381, | |
0.006096168994903565, | |
0.006138729095458984, | |
0.005995209217071533, | |
0.0059435291290283205, | |
0.0057118477821350095, | |
0.0055339279174804685, | |
0.00553520917892456, | |
0.00552784776687622, | |
0.0056873679161071776, | |
0.005543848991394043, | |
0.005558728218078613, | |
0.005552487850189209, | |
0.005562248229980468, | |
0.005582249164581299, | |
0.007928971767425536, | |
0.006450728893280029, | |
0.005754569053649902, | |
0.005767208099365234, | |
0.005747529029846191, | |
0.005872808933258057, | |
0.005890408039093018, | |
0.006070569038391114, | |
0.005863687992095947, | |
0.005677608966827392, | |
0.005915208816528321, | |
0.006010889053344726, | |
0.0059795289039611815, | |
0.0059032077789306645, | |
0.0056644887924194335, | |
0.006063048839569092, | |
0.005805928230285645, | |
0.006156329154968262, | |
0.0058910479545593265, | |
0.005933769226074219, | |
0.00598128890991211, | |
0.005840649127960205, | |
0.0059201688766479495, | |
0.00580512809753418, | |
0.00597520923614502, | |
0.0055857691764831545, | |
0.005894567966461182, | |
0.005891688823699951, | |
0.006072809219360351, | |
0.005772328853607177, | |
0.006010088920593262, | |
0.00578544807434082, | |
0.005769769191741944, | |
0.006052488803863525, | |
0.005891209125518799, | |
0.006060809135437012, | |
0.006072649002075195, | |
0.005706567764282227, | |
0.005614889144897461, | |
0.005774407863616943, | |
0.005642728805541992, | |
0.005738247871398925, | |
0.00581584882736206, | |
0.005555848121643067, | |
0.0055379290580749516, | |
0.005753128051757812, | |
0.00558192777633667, | |
0.005753768920898438, | |
0.005590087890625, | |
0.0055790491104125975, | |
0.0055638480186462405, | |
0.005715047836303711, | |
0.00558928918838501, | |
0.005575687885284424, | |
0.005804809093475341, | |
0.005573927879333496, | |
0.005585608005523682, | |
0.005723208904266358, | |
0.0055926480293273925, | |
0.005668169021606446, | |
0.005564328193664551, | |
0.00556496810913086, | |
0.005635529041290283, | |
0.005665128231048584, | |
0.005701289176940918, | |
0.0055974478721618655, | |
0.005610727787017823, | |
0.005587368965148926, | |
0.0057136077880859375, | |
0.005603047847747802, | |
0.005619048118591308, | |
0.0055499281883239744, | |
0.005565449237823487, | |
0.005544167995452881, | |
0.005717607975006103, | |
0.005577768802642822, | |
0.005579527854919434, | |
0.005559207916259766, | |
0.005542727947235107, | |
0.005565127849578857, | |
0.005554567813873291, | |
0.005561448097229004, | |
0.005548489093780517, | |
0.0055553679466247554, | |
0.005548327922821045, | |
0.005544487953186035, | |
0.005559848785400391, | |
0.005545767784118652, | |
0.005540328025817871, | |
0.005548169136047363, | |
0.005551047801971435, | |
0.005547048091888428, | |
0.005535528182983398, | |
0.0055409688949584965, | |
0.006169448852539063, | |
0.006332169055938721, | |
0.006328169822692871, | |
0.00631968879699707, | |
0.006274408817291259, | |
0.006289609909057617, | |
0.005920488834381104, | |
0.006045448780059815, | |
0.005811528205871582, | |
0.005998888969421387, | |
0.005822888851165772, | |
0.005982728958129882, | |
0.005811849117279053, | |
0.006010087966918945, | |
0.005802408218383789, | |
0.005956809043884278, | |
0.005826889038085937, | |
0.005843688011169434, | |
0.005590569019317627, | |
0.005636648178100586, | |
0.0056451292037963865, | |
0.005589128017425537, | |
0.0056017680168151856, | |
0.005646409034729004, | |
0.006106089115142823, | |
0.006339529037475586, | |
0.006308489799499511, | |
0.006231529235839844, | |
0.0060009689331054685, | |
0.005794568061828613, | |
0.006064168930053711, | |
0.005882887840270996, | |
0.00601840877532959, | |
0.0058016090393066405, | |
0.005780488014221191, | |
0.005575528144836426, | |
0.0056072077751159665, | |
0.005786728858947754, | |
0.005583687782287598, | |
0.005590568065643311, | |
0.00558336877822876, | |
0.00568560791015625, | |
0.005641287803649903 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.94948923135092 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |