318 Can't keep fuel in filter, stalls when hot.

As well as everything else mentioned, put an insulator gasket under the carburetor if you don’t already have one. Eliminate any high spots in the line if possible. Also, have you replaced all the original rubber fuel line on the way to the pump?