Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui, worker): add invocation progress events to model loading #7286

Merged
merged 13 commits into from
Nov 14, 2024

Conversation

maryhipp
Copy link
Collaborator

@maryhipp maryhipp commented Nov 7, 2024

Summary

  • add invocation progress events to model loading
  • render invocation progress messages on viewer/canvas as canvas alerts
Screenshot 2024-11-06 at 8 34 40 PM Screenshot 2024-11-06 at 8 34 45 PM Screenshot 2024-11-06 at 8 33 20 PM Screenshot 2024-11-06 at 8 33 13 PM

Related Issues / Discussions

QA Instructions

Invoke to either gallery or canvas, see invocation progress details (model loading, denoising)

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files services PRs that change app services frontend PRs that change frontend files python-tests PRs that change python tests labels Nov 7, 2024
Copy link
Collaborator

@psychedelicious psychedelicious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably also want events around the download_and_cache_model

@github-actions github-actions bot added the invocations PRs that change invocations label Nov 7, 2024
maryhipp and others added 13 commits November 14, 2024 10:39
- Pass in the `UtilInterface` to the `ModelsInterface` so we can call the simple `signal_progress` method instead of the complicated `emit_invocation_progress` method.
- Only emit load events when starting to load - not after.
- Add more detail to the messages, like submodel type
- Tweak layout/styling of alerts for consistent spacing
- Add percentage to message if it has percentage
- Only show events if the destination is canvas (so workflows events are hidden for example)
- Add `invocationProgressAlert` as a disable-able feature. Hide the alert and the setting in system settings when disabled.
- Fix merge conflict
@psychedelicious psychedelicious enabled auto-merge (rebase) November 14, 2024 18:40
@psychedelicious psychedelicious merged commit 829bc1b into main Nov 14, 2024
14 checks passed
@psychedelicious psychedelicious deleted the maryhipp/invocation-progress-ui branch November 14, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files invocations PRs that change invocations python PRs that change python files python-tests PRs that change python tests services PRs that change app services
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants