Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Very slow for completions in long files with vscode-fauxpilot #3

Open
ravenscroftj opened this issue Apr 12, 2023 · 0 comments
Open

Comments

@ravenscroftj
Copy link
Owner

The model can sometimes take several minutes to complete for long files. This was observed by @dabdine on mac but seems to be a general issue. I suspect that this is to do with the model having to factor in all the tokens in a really long prompt before making new predictions.

A possible technical trade-off could be to artificially limit prompt length to the last N words (this could be configurable). I imagine the model would still be able to make useful recommendations without the whole file as context.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant