cztomsik / dan Goto Github PK
View Code? Open in Web Editor NEWTransform stdin using language models.
Transform stdin using language models.
There's PR here and it should work but unfortunately, it fails during the metal compilation.
ggml_metal_init: allocating
ggml_metal_init: using MPS
ggml_metal_init: loading '/Users/cztomsik/Desktop/dan/zig-out/bin/ggml-metal.metal'
ggml_metal_init: error: Error Domain=MTLLibraryErrorDomain Code=3 "program_source:24:5: error: use of undeclared identifier 'assert'
assert(k % qk == 0);
^
program_source:44:5: error: use of undeclared identifier 'assert'
assert(k % qk == 0);
^
program_source:84:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne00,
^~~~~~~~~~~~~~~~~~~~~~~~~
program_source:84:20: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne00,
^
program_source:126:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne00,
^~~~~~~~~~~~~~~~~~~~~~~~~
program_source:126:20: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne00,
^
program_source:127:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne01,
It's super-weird because I'm using exactly the same code as the original C++ impl, and it's compiled in runtime so it should work.
I've also checked with DYLD_PRINT_LIBRARIES=1
and they are the same...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.