Ggml v1.0.0

(github.com)

242 points | by cobychapple 6 hours ago

12 comments

  • jacquesm 4 hours ago
    What is really impressive about this project and llama.cpp as well is that they keep finding new ways to speed up the code on the same hardware. Every time I upgrade (once a month or so) there is usually a 5 to 10% speed boost.

    edit: Just to verify: I had planned to upgrade today, ran my usual benchmark prior and after and the runtime went from 4:22 to 3:59. That's a really long prompt (50K tokens) so prefill is a good chunk of that and the rest is spent on token generation.

    • dust42 1 hour ago
      While I think that llama.cpp is an outstanding project - a one-stop-shop to get almost any model to run on almost any hardware, you get a lot more speed from specialised inference engines with kernels made for your hardware.

      But if you don't have time to evaluate other engines and you simply want a rock solid inference engine, then llama.cpp is one of the best ones to go to.

      • jacquesm 57 minutes ago
        > you get a lot more speed from specialised inference engines with kernels made for your hardware.

        Of course you will. But that's not the point. The point is that Llama runs just about every model on just about every hardware. You can always improve on any metric by dropping that constraint. But there are a lot of such metrics:

        - ease of use

        - range of hardware

        - accuracy of results

        - range of models

        Probably others. Llama.cpp may not be best at any one of those. But across all of them it has been consistently good. They've shown they're willing to stay the course as well. This is a foundation level project much like Linux or Apache.

    • gabucino 2 hours ago
      [dead]
  • evilelectron 5 hours ago
    Awesome! ggml and llama.cpp are the Linux of the AI world. Driving local inference one bit at a time.

    Wishing you unlimited power and may you never see a day of low battery. Respect and Love. Keep it up.

  • kodoman 4 hours ago
    Long time llama.cpp user (and user of other ggml based AI programs) running on my crappy AMD card that only supports vulkan and it's usable thanks to GGML and llama.cpp, great program great project.
  • palad1n 5 hours ago
    I prefer this entry point: https://github.com/ggml-org/ggml
  • hizlikovboy27 3 hours ago
    In my opinion, this is a genuine engineering product. LLM.cpp, the savior of our difficult times...
  • snvzz 3 hours ago
    Not just legacy hardware, but also ready for the immediate future, with RISC-V support.

    Congrats for 1.0.0.

  • owlmem 1 hour ago
    [flagged]
  • perdy 1 hour ago
    [flagged]
  • no1guangming 3 hours ago
    [flagged]
  • minimaxa 3 hours ago
    You are not serious with this landing page?

    Please put a little more effort in for FFS, you have seed money?

    Let your design show through; your product can still be professional, and you don't have over index on bland to over compensate.

    https://ggml.ai/

    • _kb 40 minutes ago
      Loads instantly as a single 1.33 KB request. No excess crud. Readable, accessible, and provides exact information on what the project is about.

      That seems borderline perfect to me.

    • nvme0n1p1 2 hours ago
      > The ggml way

      > Minimal

      > We like simplicity and aim to keep the codebase as small and as simple as possible

      I'm glad their philosophy extends to the website as well. Genuinely refreshing.

      • trilogic 1 hour ago
        > We like simplicity and aim to keep the codebase as small and as simple as possible

        Spawning the cli to server routing everything to http it complicates it instead of keeping it simple. This is pure telemetry or in plain english Spying on users. Rip LLama.cpp.

    • sureglymop 33 minutes ago
      I disagree. This landing page is perfectly simple and minimal. What your landing page has to look like just depends on your target audience.

      Besides, some fancy AI generated landing page would signal even lower effort.

    • dataking 3 hours ago
      I think the minimalism is the point. Compare with https://ssi.inc
    • ducktective 2 hours ago
      > Claude, design a landing page with beige background color in a gradient, 3 fonts in UI, a blinking led at top right, and enough animation and javascript that makes laptops built before 2025 stutter in scrolling.
      • nvme0n1p1 2 hours ago
        And don't give any clues about what the project actually does, Just repeat how amazing and fast and modern it is, rephrased in 10 different ways.
        • phkx 1 hour ago
          Why is this getting downvoted? That’s my grief with most landing pages, including popular ones which I simply get in contact with for the first time. Most of them somehow expect that you know the domain already. And even then, it wouldn’t hurt to simply state once in which context you want to provide what kind of solution.
    • BoingBoomTschak 47 minutes ago
      Or maybe they learned from little success stories like https://www.berkshirehathaway.com/ ?
    • utopiah 2 hours ago
      They're part of NVIDIA.
      • trvz 1 hour ago
        Hugging Face, and Nvidia hasn’t bought that yet.
    • thejoeosborne 3 hours ago
      tbh I much prefer this than another claude slop landing page. Not saying it couldn't be better but its kinda refreshing, the whole thing fits on my phone screen
  • om8 4 hours ago
    Imagine naming a library after yourself.

    > GGML is a C library for machine learning (ML) - the "GG" refers to the initials of its originator (Georgi Gerganov).

    https://github.com/rustformers/llm/blob/main/crates/ggml/REA...

    • Iron_Ninja5 4 hours ago
      Every single .exe file begins with the two letters MZ because Mark Zbikowski needed a "magic number" to begin the PE format.
    • cldellow 4 hours ago
      There's ample precedent for this. When you're building something to scratch an itch, the name is secondary. You cast about for one. Ah, you have a name. That'll do.

      For example, DJ Delorie's djgpp project, built in 1989, was how I got into "real" programming on MS DOS.

      • magicalhippo 4 hours ago
        > DJ Delorie's djgpp project

        Fun story time. I started programming on Turbo Pascal. I had read some C code from those demo scene guides, so felt I understood it fairly well by the time I got my hands on a copy of djgpp. I decided to port a relatively simple program I had written in Turbo Pascal, about 300 LOC, line-by-line. It was a small demo just doing a simple rotating, texture-mapped triangle.

        I carefully converted it, and went over it several time one line at a time, fixing it until I had read over it three times and was happy.

        I then ran the djgpp compiler...

        Now, what I hadn't realized at the time was the difference between C and C++. The examples I had seen was C, and I didn't really know what C++ was.

        The compiler churned on my code and spit out about 3500 errors and warnings (it counted for me).

        I was shocked. How did my 300 line C program manage to produce over 10 errors and warnings per line, on average?!

        I spent a long time trying to figure this one out. The first error was inside the first function, and the error made no sense to me.

        After several days of carefully going over each line and banging my head against the table, I suddenly saw it. There, at the very start of the program, before the line the first error or warning pointed to.

        In Turbo Pascal I had used const to define things like screen width and height. So I'd have

          const SCREEN_WIDTH = 320;
          const SCREEN_HEIGHT = 240;
        
        Well, C doesn't have const, but I had picked up it had #define. However, my Turbo Pascal habits had kicked in, and so I had written

          #define SCREEN_WIDTH 320;
          #define SCREEN_HEIGHT 240;
        
        I removed the two semi-colons and the program compiled and ran just fine...

        I ended up staying in Turbo Pascal, I preferred a compiler that gave me sensible errors and quickly. I did pick up C++ much later, and I guess ironically came to appreciate its const correctness.

    • loeg 4 hours ago
      For example, Debian. AWK. PKZIP. ARJ. Korn shell. Bourne shell. jemalloc, dlmalloc. djbdns.
    • satvikpendem 3 hours ago
      I don't have to imagine.
    • _kb 39 minutes ago
      "Linux".
    • arcanemachiner 4 hours ago
      Hey, it worked for Carnegie!
      • musicale 4 hours ago
        This is the winning response.

        And we can only hope that our modern robber barons will use their ill-gotten gains to create something as beneficial as Carnegie libraries.

    • cherioo 4 hours ago
      Par for course for being Linux of AI
      • om8 4 hours ago
        Historically, Linus didn't name linux. Other people did it for him.

        > During the start of his work on the system, he stored the files under the name "Freax" for about half of a year. Torvalds had already considered the name "Linux", but initially dismissed it as too egotistical.

        https://en.wikipedia.org/wiki/History_of_Linux#Naming

    • jacquesm 4 hours ago
      I'm biased (see: pianojacq.com)

      Imagine trying to name a file format for yourself even if it wasn't yours to begin with...

    • newswasboring 4 hours ago
      They wrote a large portion (and all of the initial version I think), they can name it whatever tf they want.
    • CodingJeebus 4 hours ago
      What do you think Linux is named after?
      • om8 4 hours ago
        Answered in another thread
    • monster_truck 3 hours ago
      jealous?
  • toolssogood 5 hours ago
    [flagged]