Skip to content

[Feature] Add loading spinner during interactive inference #1519

@wizeng23

Description

@wizeng23

Feature request

Since we don't support streaming yet, there is no visual indication that progress is being made for inference, especially for outputs that take multiple seconds to minutes to generate. Adding a loading spinner can help alleviate this.

Motivation / references

Could use this existing _print_and_wait() fn from the job launcher:

def _print_and_wait(
. It would need to be modified so that the result of the function call is piped through and returned.

Your contribution

I'm happy to consult and provide help for whoever takes this on

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions