

TITLE
(GPT2) Running out of GPU memory(24G) on WSL2 but not on native linux.

COMMENTS
2

REACTIONS
+1: 0
-1: 0
laugh: 0
hooray: 0
heart: 0
rocket: 0
eyes: 0

BODY
## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
     Don't forget to fill out the missing fields in that output! -->
     
- `transformers` version: 
- Platform: WSL2 Debian 
- Python version: 3.7
- PyTorch version (GPU?): 1.3.1
- Tensorflow version (GPU?): 
- Using GPU in script?:
- Using distributed or parallel set-up in script?:

### Who can help
<!-- Your issue will be replied to more quickly if you can figure out the right person to tag with @
 If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**.
 Please tag fewer than 3 people.
 
 albert, bert, GPT2, XLM: @LysandreJik 
 Trainer: @sgugger
 Speed and Memory Benchmarks: @patrickvonplaten
 TextGeneration: @TevenLeScao 
 -->

## Information

Model I am using (Bert, XLNet ...): GPT2

The problem arises when using:
the official example scripts: (give details below)
I'm running the run_language_modeling.py trying to finetune GPT-2

----
On WSL2 i Run out of memory:

```RuntimeError: CUDA out of memory. Tried to allocate 384.00 MiB (GPU 0; 24.00 GiB total capacity; 22.01 GiB already allocated; 342.71 MiB free; 65.09 MiB cached)```

but if i boot a live ubuntu and run the exact same script it works fine.

I'm using all default settings just as in the example doc.

not sure what is it due to and how to fix it?
