The IRS has waived penalties for missed RMDs in 2021 and 2022 on inherited IRAs.
Please see this IRS document.
However, you are still required to file form 5329. I would suggest that you just prepare and mail the 2021 and 2022 Forms 5329 after filing your 2022 tax return, making sure to sign each of the Forms 5329.