llama2.f90
bgpfeeder
llama2.f90 | bgpfeeder | |
---|---|---|
7 | 2 | |
16 | 7 | |
- | - | |
10.0 | 10.0 | |
6 months ago | over 1 year ago | |
Fortran | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llama2.f90
-
GPU Embedding with GGML
I'm mostly a python programmer, but I find a lot of the ML frameworks are overkill for what they actually do, especially for inference. Fortran is pretty close to numpy - it handles arrays natively including slicing and matmul instinsics, you don't have to worry about memory etc. But it compiles into something fast and lightweight much more easily than python. It's nothing you couldn't do in C but I think Fortran is better suited for linear algebra.
See also https://github.com/rbitr/llama2.f90 which is basically the same thing but for running llama models and has 16-bit and 4-bit options and a lot more optimization.
- GitHub - rbitr/llama2.f90: LLaMA2 model in Fortran
- LLaMA2 Model Inference in Fortran
-
Is Mojo the Fortran for AI Programming, or More? ā The Next Platform
I clicked on this because of Fortran and it had nothing to do with it. It was more an advertisement for Mojo.
If anyone is interested in Fortran for AI, I am working on a Fortran LLM project: https://github.com/rbitr/llama2.f90
- Show HN: Llama2.f90 ā Toy LLaMA2 model inference in Fortran
- Ask HN: Who wants to be hired? (September 2023)
bgpfeeder
- Ask HN: Who wants to be hired? (September 2023)
-
Tools to Explore BGP
13 years ago I wrote a nice reference implementation for BGP "client" use - I just treated it as an API onto Cisco routers: https://github.com/BytemarkHosting/bgpfeeder is 1300 lines of Ruby, one file, no dependencies, and quite verbose.
At the time I was running a hosting company & wanted to feed updates to our IP lists from a web-based database into our routers (e.g. a customer wants a new IP to their servers, or moves their VPS images between physical hosts). But I couldn't understand how to get tight control of quagga, or the Ciscos and wondered how how to speak it directly?
It took about a week poring over the RFCs and the Net::BGP Perl module, but I can go back to it now for some useful revision. It brought a lot of disparate BGP knowledge together in one place, and re-expressed it in a language I still know. So if you know Ruby and are curious about BGP it might help you see what you can do with it.
Though if you want to use BGP to control your network devices today, you'd use https://github.com/Exa-Networks/exabgp instead. It can pull every trick you could possibly want with BGP - e.g. DDoS mitigation, anycast, and generally letting you mess with BGP via JSON. There are lots of extensions to BGP, and I only cared about the ones to send v4 & v6 routes around. Also I only wanted to write it all in one file :)
What are some alternatives?
cv
exabgp - The BGP swiss army knife of networking
CutBox - CutBox makes your macOS pasteboard awesome.
drishal
mariocesar - Iām a software developer, trying to write, create and mostly being a great father
buckaroo - Buckaroo - the data wrangling assistant for pandas. Quickly explore dataframes, and run pandas commands via a GUI. Works inside the jupyter notebook.
andreigatej.dev-new - My portfolio website. Also a way to share my journey.
flexnbd-c - An NBD server written for Bytemark's bigv.io service. It was designed around use of fast Linux features such as sparse files, sendfile, splice and mmap. It can do live migration of storage. Proudly powering Bytemark's Cloud Servers
Resume - Add latex resume here in case online latex generators blow up
aword - Deploy private GPT-powered AI tools for your business docs
curriculum-vitae - My personal resume/CV