If the PC attempts to Use and drink a Vial of Myr Venom, the game will consume the entire stack of Vials regardless of the amount in that stack and will only count as one dosage. It does not consume other stacks though.