Click to email this to a friend (Opens in new window)

Click to share on Twitter (Opens in new window)

Click to share on Facebook (Opens in new window)

Matt Harvey was partying in LA the night before he had a wobbly time coming out of the bullpen for the Mets in San Diego, sources told Page Six.

Harvey attended the Thursday opening of hot Avra Beverly Hills, where guests included Halle Berry, Cindy Crawford, Ellen Pompeo and Selma Blair.

But a spy told us that Harvey was “out at the Avra opening stumbling around . . . He had to sit down at one point. He must have been so desperate to party, he came up from San Diego.”

Another guest said that among so many stars, “Nobody knew who Matt was,” but, “he was sober.”

Harvey — who’s been relegated to the bullpen — has gotten into hot water in the past for partying when he should’ve been prepping.

In 2017, Page Six reported that he was celebrating Cinco de Mayo at 1Oak until 4 a.m. just hours before he failed to show up at Citi Field.

This time, he won the road game but allowed a leadoff homer when he was called to the mound in the ninth inning on Friday.

He told The Post after the game: “I have to do more throughout the game to make sure I am ready.”

Avra is the LA outpost of NYC’s Avra Estiatorio.

Reps didn’t get back to us.