IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b62c442
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": "14fc8ac8cd252f949be10158bdcefa6a3b7c596a", | |
"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.19168, | |
"max_global_vram": 1521.651712, | |
"max_process_vram": 115018.170368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9933163976669307, | |
"mean": 0.006326856036095103, | |
"stdev": 0.00021911775429368183, | |
"p50": 0.006333603858947754, | |
"p90": 0.006392868423461914, | |
"p95": 0.006406404209136963, | |
"p99": 0.007079378280639645, | |
"values": [ | |
0.006408804893493652, | |
0.006333603858947754, | |
0.00632368516921997, | |
0.006311523914337158, | |
0.006335844993591308, | |
0.006311203956604004, | |
0.00634720516204834, | |
0.0064611248970031735, | |
0.006394244194030761, | |
0.006328645229339599, | |
0.006334724903106689, | |
0.006356483936309815, | |
0.00636960506439209, | |
0.006359044075012207, | |
0.006373764991760254, | |
0.0063540849685668945, | |
0.006342884063720703, | |
0.006332005023956299, | |
0.006335204124450684, | |
0.0063131251335144046, | |
0.005918883800506592, | |
0.005931365013122559, | |
0.005955684185028076, | |
0.006033123970031739, | |
0.006036964893341065, | |
0.0058673639297485355, | |
0.005739044189453125, | |
0.005825764179229737, | |
0.005876804828643799, | |
0.005756003856658936, | |
0.005772964000701904, | |
0.006228964805603027, | |
0.00631136417388916, | |
0.006371685028076172, | |
0.006380484104156494, | |
0.006324645042419434, | |
0.006362084865570068, | |
0.0063536038398742676, | |
0.006365445137023926, | |
0.0063867239952087405, | |
0.006355844020843506, | |
0.006300485134124756, | |
0.006271684169769287, | |
0.0062880048751831055, | |
0.007866246223449707, | |
0.00793888521194458, | |
0.00633360481262207, | |
0.006302404880523682, | |
0.006276164054870605, | |
0.006343204975128174, | |
0.006392804145812989, | |
0.006399044990539551, | |
0.006370564937591553, | |
0.006336964130401611, | |
0.006336005210876465, | |
0.006326563835144043, | |
0.0063512039184570315, | |
0.006341285228729248, | |
0.006357123851776123, | |
0.006319684982299805, | |
0.006339203834533691, | |
0.006344324111938477, | |
0.006312005043029785, | |
0.006288003921508789, | |
0.006298564910888672, | |
0.006297924041748047, | |
0.0063302450180053715, | |
0.006300485134124756, | |
0.00630544376373291, | |
0.006312644958496093, | |
0.006292644023895263, | |
0.006277444839477539, | |
0.006308003902435303, | |
0.006319845199584961, | |
0.006316484928131104, | |
0.006319523811340332, | |
0.006291045188903809, | |
0.006278883934020996, | |
0.006329124927520752, | |
0.006294084072113037, | |
0.006336804866790772, | |
0.006308004856109619, | |
0.006318724155426026, | |
0.00632368516921997, | |
0.006296483993530273, | |
0.006344645023345947, | |
0.006316005229949951, | |
0.006322403907775879, | |
0.006306725025177002, | |
0.006379844188690186, | |
0.006349605083465576, | |
0.006319684982299805, | |
0.006330564022064209, | |
0.00633744478225708, | |
0.0063366441726684574, | |
0.006350725173950195, | |
0.006307684898376465, | |
0.00632720422744751, | |
0.006400965213775635, | |
0.006344004154205322, | |
0.006356804847717285, | |
0.006313604831695557, | |
0.0063323240280151365, | |
0.006360964775085449, | |
0.006291684150695801, | |
0.0063518438339233395, | |
0.006085444927215576, | |
0.006367524147033691, | |
0.006286244869232177, | |
0.006292324066162109, | |
0.006308165073394776, | |
0.00628352403640747, | |
0.006297924995422363, | |
0.006302885055541992, | |
0.006312644004821778, | |
0.006317605018615722, | |
0.006317123889923095, | |
0.006294565200805664, | |
0.006311203956604004, | |
0.006311045169830322, | |
0.006323844909667969, | |
0.006316644191741943, | |
0.006330084800720215, | |
0.00630320405960083, | |
0.006306725025177002, | |
0.006297924995422363, | |
0.006338883876800537, | |
0.0063681650161743165, | |
0.0063507242202758786, | |
0.006425765037536621, | |
0.00634944486618042, | |
0.0063726439476013185, | |
0.006392324924468994, | |
0.006385604858398438, | |
0.006371203899383545, | |
0.006355685234069824, | |
0.006377284049987793, | |
0.006398884773254394, | |
0.006406404972076416, | |
0.00640528392791748, | |
0.0063664050102233884, | |
0.006391524791717529, | |
0.006411364078521728, | |
0.006386404991149903, | |
0.006387845039367675, | |
0.006383043766021728, | |
0.006410405158996582, | |
0.006395204067230225, | |
0.006356645107269287, | |
0.006386085033416748, | |
0.006385444164276123, | |
0.006381284236907959, | |
0.006392964839935303, | |
0.006385764122009277, | |
0.00639088487625122, | |
0.006379205226898194, | |
0.006406404018402099 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.0563860304294 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |