GACT: Activation Compressed Training for Generic Network Architectures