Try to move outputs tensor to RAM before you append it, such as,
features = []
with torch.no_grad():
    for batch_idx, (inputs, targets) in enumerate(train_loader):
         outputs = model.extract_features(inputs)
         features.append(outputs.cpu())