Trainer error when finetuning Pegasus - cannot import name 'amp' from 'apex' 
I get this error when i try to finetune Pegasus.

`ImportError: cannot import name 'amp' from 'apex' (unknown location) `

Is it possible to pun trainer without apex installed? I tried to specify, fp16=False in agruments but i still get this error.

the finetuning code is here  - https://gist.github.com/jiahao87/50cec29725824da7ff6dd9314b53c4b3

Thanks


I disabled it in trainer.py and now it works, but I do get memory error unless i freeze encoder.
if is_apex_available():
	pass
    #from apex import amp
