Sometimes caching can actually be slower for certain functions, because just performing that operation is faster than pickle.load/pickle.dump.
340 karma · joined November 13, 2022
Sometimes caching can actually be slower for certain functions, because just performing that operation is faster than pickle.load/pickle.dump.
I think it could help if you forget to save the output of a function within a single cell like this:
1. print(f(x)) # -> check what happened 2. out = f(x) # -> turns out we want to save this, so we have to wait again
Even when they are, it'll still be a while before you can run such a powerful model on your laptop. Thanks for the feedback!
Check out our discord for help! There's a couple of people trying it now :D. Happy to answer questions when we have the time, and I'll point you to the person who set it up themselves.
Sweep’s logic is fully open and it’s self hostable, but we’ve been focusing on the capabilities of Sweep(not on self hosting) so we haven’t provided docs.
Because Sweep runs entirely in GitHub, it’s easy to install but annoying to self host. You’d need to setup modal and create a new github app.
Definitely doable, some of our community members were able to do it.
I’m personally a fan of letting users insert their own instructions per repository, and Sweep can use that for each PR.
We have had users in our discord set it up themselves, so it's possible. If you go through us we retain your repo in a hashed redis cache (no plaintext code stored) and store some (~50 line) snippets in our logs for debugging. We don't train on any of your code. You can find our privacy policy here: https://docs.sweep.dev/privacy
There's also an interesting discussion here about how it works: https://news.ycombinator.com/reply?id=36990160
One thing we also do is match any files mentioned in the issue. So if you mention sweepai/api.py, we'll find that and add it to the fetched files. There's still more work to be done here, so look out for those!
Likely file name based scoring, and other rules + finetuned retrieval models (opt-in of course)
We have this (to some degree) with issue templates, where you can pre-populate some text and fill in the rest. We're also thinking about good ways to offload that work to Sweep.
The developer experience is also great, so we highly recommend it :)
You can give Sweep docs about a framework and it should help a lot.
My stance is with models ignoring long contexts(https://arxiv.org/pdf/2307.03172.pdf), we'll have this problem for a long time. I could be wrong though.
Also we did try function calling, but it doesn't allow for a chain of thought step. This made the plan/code way worse. Cool to see you found the same!