You could just walk away from it and in theory you should only be liable for the rent in the time it's left empty plus the costs of re-letting it. However, these may add up to a fair bit, arguing about it could take a fair bit of your time, and you could end up damaging your credit rating so it's not an option to take lightly.
Best thing is to discuss it with your landlord, see if they can get new tenants, maybe offer to forfeit some of your deposit to reflect the additional costs/work for them.
You could just walk away from it and in theory you should only be liable for the rent in the time it's left empty plus the costs of re-letting it. However, these may add up to a fair bit, arguing about it could take a fair bit of your time, and you could end up damaging your credit rating so it's not an option to take lightly.
Best thing is to discuss it with your landlord, see if they can get new tenants, maybe offer to forfeit some of your deposit to reflect the additional costs/work for them.