A partnership is a legal entity and it may file a Chapter 11 or Chapter 7 bankruptcy.  The general partners are also usually personally liable for all debts of the partnership.  Limited partners may not be liable for partnership debts unless they waived their protection by signing personal guarantees.