How to generate a sequence using inputs_embeds instead of input_ids?

For BART, you can use encoder_outputs, which you should get from the encoder part of BART model.