heapwolf
heapwolf
This PR will add JavaScript bindings for llama.cpp ```js import { Model, Context, Grammar } from 'socket:llm' // include a model file in your project const model = new Model('./mistral-7b-openorca.Q4_0.gguf')...
- [ ] Mac - [ ] Windows - [ ] Linux
Im collecting data about Socket CLI build performance and how it compares to other platforms. Please feel free to add your data here. In all cases tests include complete packaging...
Linux launches with a super tiny window with the default values in the ini file, but I changed that to 400x400 and the window showed up fine. KDE on Arch...
I noticed that [`_end`](https://github.com/socketsupply/ltp/blob/afacbc667afaf4c9e6c1df396e5be1861e19f7e7/any.js#L27) is never used. I also noticed that [`bytes`](https://github.com/socketsupply/ltp/blob/afacbc667afaf4c9e6c1df396e5be1861e19f7e7/any.js#L8) is not used, but it is incremented [here](https://github.com/socketsupply/ltp/blob/afacbc667afaf4c9e6c1df396e5be1861e19f7e7/any.js#L17) which could be a bug? Similarly [here](https://github.com/socketsupply/ltp/blob/afacbc667afaf4c9e6c1df396e5be1861e19f7e7/object.js#L8) with `fields`.
on MacOS, `VERBOSE=1 DEBUG=1 NO_ANDROID=1 ./bin/install.sh` complained that cmake was missing, but offered `apt-install` solution.
Resizing the window makes the toolbar a bit laggy. https://github.com/user-attachments/assets/ceb3b658-76bf-4732-9f13-557e9dc99472 [DXOS-124](https://linear.app/dxos/issue/DXOS-124/resize-in-full-screen-mode)
Heads up, @EventEmitter2/maintainers i'm the original author. I had a use for this recently and i saw it still gets a lot of downloads; with all the npm mischief lately...