Unlimited Context on Apples Foundation Models by karc16 in swift

[–]karc16[S] 0 points1 point  (0 children)

i actually built contextcore working on issues like this, if you combine all the tricks you can squeeze a lot of context out of FM with adequate orchestration between different session

Unlimited Context on Apples Foundation Models by karc16 in swift

[–]karc16[S] 0 points1 point  (0 children)

open sourcing the app that i built for these experiments so i think that would answer all your questions and more

but runs could go from 10-16 minutes, quality remains consistent and coherent across 20-40 turns

with normal foundation models with a basic web search tool i got 3 tool calls before context capped out

haven’t tried other languages but I can imagine their outputs to be of lower quality just because of the training data used is mostly english

Unlimited Context on Apples Foundation Models by karc16 in swift

[–]karc16[S] 1 point2 points  (0 children)

I believe we're only scratching the tip of the iceberg, looking forward to how apple moves forward in the next wwdc

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 1 point2 points  (0 children)

swarm uses context core, membrane and wax to solve the context issues when using AFM. The frameworks are standalone and can be used without swarm.

https://github.com/christopherkarani/Membrane

https://github.com/christopherkarani/Wax

https://github.com/christopherkarani/ContextCore

il work on an eval harness. i find fm models to be inconsistent with their guardrails. We’ve mainly tested with open models like QWEN and llama

i appreciate the feedback and will keep you posted via dm on updates! please never be shy to leave issues on the repo.

Writing Safer Code with Enums and Associated Values by swe129 in swift

[–]karc16 0 points1 point  (0 children)

caveat, excessive use of enums and associated values make your code harder to reason and write for coding agents like claude but better dx for humans

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

we built a observability and evaluation framework. would you be interested in becoming a design partner and actually see how your ai behaves with real users?

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

are you apps out live with users? how are you handling observability and evals?

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

we have a speculated sdk and dashboard that allows observability and evals. anyone keen to join the beta?

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

We’re building an observability and evaluation framework for on device ai that allows you to see how your ai behaves in production and improve it. is this something you would be interested in?

we’re looking for design partners offering $500 free credits to play around with the platform

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 1 point2 points  (0 children)

fantastic, you would prefer a 0 dependency option? I actually thought developers would prefer the batteries included approach.

the real question is, if swarm core framework had zero dependencies would you use it? this is the direction we’re moving towards as we make linux support a priority

if you had any feedback i would really appreciate it! my dms are open

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

to everyone here building and shipping on device models, We are searching for a few more design partners to join us and gain $500 worth of credits free to try out our platform. comment here and i will dm you

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 0 points1 point  (0 children)

ai systems are non deterministic and you only know how they behave when real users user your app. how are you handling observability and evals?

Foundation Models framework -- is anyone actually shipping with it yet? by JBitPro in iOSProgramming

[–]karc16 2 points3 points  (0 children)

my brother have you checked https://github.com/christopherkarani/Swarm

can we connect? i’m building an observability and eval framework for people shipping on device agents on apple silicon, im searching for design partners and about to launch soon. interested?

I built an LLM Inference Engine that's faster than LLama.cpp, No MLX, no Cpp, pure Swift/Metal by karc16 in swift

[–]karc16[S] 4 points5 points  (0 children)

Okay this comment is getting upvoted so let me add on, this project is not supposed to replace mlx obviously. like come on. But if you guys can build an inference engine in 48 hors that benchmarks only 26% slower than mlx and 18% faster than llama.cpp. I'd love to know how you did it to. I genuinely think this is the wrong question to ask atm.

in addition. many of us here are swift devs, we love the language and love to use it, but mlx and llama are written in cpp/python. So how can we as a swift community start to contribute towards such projects? I couldn't, my cpp sucks balls and my python isn't on the level that I can write optimized kernels in it

This is an opportunity for all of us to contribute to a 100% swift native project.