Skip to content

Conversation

@pankajpansari
Copy link

When output_history is set to False while calling model.diffusion_generate() in demo_completion.py, the script prints the final LLM response and abruptly ends with non-zero error code. output.history is None in this case and enumerate(history) causes error. I've added checking that history is not None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant