fix bug for generaion(empty response and PyTorch exception)

#8
by Natt1e - opened

This PR is the same as the https://github.com/ByteDance-Seed/Stable-DiffCoder/issues/1

It fixes two bugs:

  1. empty response

  2. PyTorch exception

ByteDance Seed org

Thanks for catching this and for the helpful fix. The changes look good, and I’ll merge them in.

Facico changed pull request status to merged

Sign up or log in to comment