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

Orchestrator: Initialize LabelResolverCache from blu files when in a new Composer Session #6481

Closed
taicchoumsft opened this issue Mar 19, 2021 · 0 comments · Fixed by #6550
Closed
Assignees
Labels
Area: Orchestrator feature-request A request for new functionality or an enhancement to an existing one. P0 Must Fix. Release-blocker
Milestone

Comments

@taicchoumsft
Copy link
Member

Orchestrator training (i.e. creating embeddings for utterances) takes a long time. To alleviate as much pain as possible, try to cache results between builds.

Describe the solution you'd like

We already cache build results between builds. We store an in-memory map of LabelResolvers so that incremental training is very quick (only different utterances will need to be recalculated).

But when we start a new Composer session, the cache is cold and recalculation happens again, even though the embeddings have essentially been cached in the .blu files.

This request is to warm up the cache with data from the .blu files, so that training Orchestrator in a new Composer session will be quick, so long as we've trained before.

@taicchoumsft taicchoumsft added P0 Must Fix. Release-blocker feature-request A request for new functionality or an enhancement to an existing one. Area: Orchestrator labels Mar 19, 2021
@taicchoumsft taicchoumsft added this to the R13 milestone Mar 19, 2021
@taicchoumsft taicchoumsft self-assigned this Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Orchestrator feature-request A request for new functionality or an enhancement to an existing one. P0 Must Fix. Release-blocker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant