“The race left Sepang in 2017.”
4 sources: autosport.com, bbc.com, foxsports.com.au, wikipedia.org. The 2017 Malaysian Grand Prix was the final Formula 1 race at Sepang; the race left the F1 calendar from 2018. BBC and Formula 1 coverage confirm this.
checked on the web by Perplexity
Malaysian Grand Prix dropped from F1 calendar for 2018Malaysian Grand Prix: Sepang to drop off F1 calendar after 19 ...
Malaysian Grand Prix - Wikipedia