(TMZ) - Cops swarmed the Grammy afterparty thrown by Meek Mill in the Hollywood Hills -- a party so wild it had more than a thousand celebs and actual WILD ANIMALS, reports TMZ.

[PHOTOS: Best and Worst Dressed at the Grammys]

According to TMZ, Meek rented out a mansion on Mulholland Drive and hosted Diddy, Lil Wayne, Drake, Nicki Minaj, Birdman, Nelly, Bow Wow and many more -- but the bash was still going at 5 AM ... and that's when the California Highway Patrol stepped in to shut it down.

[Jay Z's Grammy Line of the Night]

Sources inside the party tell TMZ most of the guests were shuttled up to the mansion -- but others parked illegally along Mulholland -- and cops were towing cars as the sun came up.

[PHOTOS: Who Wire it Best? A Tribute to Pharrell's Hat]

Hundreds of guests were stranded, wandering the street trying to get home.

Still ... it seems it was totally worth the hassle because TMZ reports bottles of Ace of Spades were flowing by the thousands -- and he had a camel and a LION posing for pics with guests!

Ain't no party like a Meek Mill party ...