What kind of error and what is the reason?

You are running out of memory. How much memory does your GPU have?

Total 8gb
intel 630 UHD 4GB
NVIDIA GEFORCE GTX 4GB

The Intel GPU is not used, so you only have 4GB. This is below the 8GB that we usually recommend for training: https://opennmt.net/FAQ/#what-type-of-computer-do-i-need-to-train-with

You should reduce some parameters such as the batch size to a lower value.

I notice that that’s why i used batch-size: 32
is it enough??