If there is a clause in your rental agreement allowing for subleasing then you would have to find a temporary tenant at your own risk. It would be good if they would qualify for a permanent lease with the landlord. If the rental is within California, a little-known fact is that it only requires a 30 day written notice regardless of the length of the lease that you will be vacating and then you will be responsible for the rent due between when you vacate and when the new tenant takes possession. However, if you work with your landlord it may work out for the both of you to save some money and a bit of grief in the transition.
Jul 24, 2017