.
Meet Euchambersia. It's a type of proto-mammal called a therocephalian from the late Permian of South Africa, just before the Great Dying. It's about the size of a small dog. And it's most likely venomous. There's been some debate over whether or not it was, but most research on the subject has concluded that venom at the very least the most likely hypothesis. There's another therocephalian, Ichibengops that might have been venomous as well. It's not clear if therocephalians were warm-blooded or not but they may have had intermediate metabolisms.
Solenodons get decent-sized as well, about 1.5 to 2 lbs (0.7-1.0 kg). I've seen people argue that you don't get a lot of venomous mammals because it takes time for a prey item to die with venom. A cold-blooded animal can afford to wait, a warm-blooded one can't. But, that doesn't seem to explain how shrews and moles, some of which have to eat every two hours or die, can afford to be venomous.
One could argue that venom could be useful in a warm-blooded predator because venom would cause their likely warm-blooded prey to drop faster, and their faster metabolism means it gets metabolized faster. On the other hand, it could mean you need a lot more venom to kill a larger prey item with a greater volume of flesh, and venom can be energetically expensive to produce. Komodo dragons seem to do fine with dropping their prey's blood pressure with their saliva.
There's a good chance a lot of Mesozoic mammals were venomous in the manner that a platypus is venomous. The ankle spurs you see on platypodes are present on a lot of Mesozoic mammals like multituberculates and the (carnivorous, raccoon-sized) Gobiconodon. Ankle spurs only seem to have been lost in the common ancestor of marsupials and placentals, possibly related to changes in joint posture. Whether they were poisonous like a platypus or just pointy like an echidna is unclear.