Don't count on vertical farms solving anything yet. Someone tried it and found one bread when vertically cultivated costs $500 that can feed 1 person for 1 day.
Cost can be saved using solar energy. But then you need just as much space as conventional farming.
.
https://www.lowtechmagazine.com/2021/02/vertical-farming-ecosystem-services.html
https://www.lowtechmagazine.com/2021/02/vertical-farming-ecosystem-services.html