Skip to content

Is it possible to set use_batch=true in sample.py? #25

@firdota

Description

@firdota

With use_batch=false, it generates characters one by one while sampling. It seems that only cpu is used and gpu is idle, so the speed of sampling is quite slow.

Is it possible to set use_batch=true to speed up sampling?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions