The fire seems to have started accidentally in someone's apartment and spread quickly to the adjacent buildings -- the SFFD reports it was a tough fire to put out because the fire spread into the light wells of the buildings, behind metal casing. There's still some hot spots being battled this morning.
Picture from CBS 5.