Optimizing GPT Model Memory Usage