ZLUDA VS nvidia-patch

Compare ZLUDA vs nvidia-patch and see what are their differences.

nvidia-patch

This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. (by keylase)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ZLUDA nvidia-patch
35 309
7,671 2,975
- -
7.0 8.5
5 days ago 4 days ago
Rust Python
Apache License 2.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

ZLUDA

Posts with mentions or reviews of ZLUDA. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-05.
  • Open-source project ZLUDA lets CUDA apps run on AMD GPUs
    5 projects | news.ycombinator.com | 5 Mar 2024
    It now supports AMD GPUs since 3 weeks ago, check the latest commit at the repo:

    https://github.com/vosen/ZLUDA

    The article also mentions exactly this fact.

  • Nvidia bans using translation layers for CUDA software
    1 project | news.ycombinator.com | 5 Mar 2024
    Looks like nvidia is trying to keep the lynchpin of their entire business model from crumbling underneath them. ZLUDA lets you run unmodified CUDA applications with near-native performance on AMD GPUs.

    https://github.com/vosen/ZLUDA

    With Triton looking to eclipse CUDA entirely, im not sure this prohibition does anything more than placate casual shareholders.

  • Nvidia bans using translation layers for CUDA software to run on other chips
    2 projects | news.ycombinator.com | 4 Mar 2024
    >Dark API functions are reverse-engineered and implemented by ZLUDA on a case-by-case basis once we observe an application making use of it.

    https://github.com/vosen/ZLUDA/blob/master/ARCHITECTURE.md

  • Nvidia hits $2T valuation as AI frenzy grips Wall Street
    2 projects | news.ycombinator.com | 23 Feb 2024
    > I know AMD have their competition, but their GPU software division keeps tripping over itself.

    They are actively stepping on every rake there is. Eg they just stopped supporting the drop-in-cuda project everyone is waiting for, due to there being "no business-case for CUDA on AMD GPUs" [0].

    [0] https://github.com/vosen/ZLUDA?tab=readme-ov-file#faq

  • Nvidia Is Now More Valuable Than Amazon and Google
    3 projects | news.ycombinator.com | 12 Feb 2024
    https://github.com/vosen/ZLUDA

    They still funded it and it was created.

  • Debian on Apple hardware (M1 and later)
    1 project | news.ycombinator.com | 12 Feb 2024
  • AMD Funded a Drop-In CUDA Implementation Built on ROCm: It's Open-Source
    23 projects | news.ycombinator.com | 12 Feb 2024
    From the same repo, I found this excellent, well-written architecture document: https://github.com/vosen/ZLUDA/blob/master/ARCHITECTURE.md

    I love the direct, "no bullshit" style of writing.

    Some gems:

    > Anyone familiar with C++ will instantly understand that compiling it is a complicated affair.

    > Additionally CUDA allows, to a large degree, mixing CPU code and GPU code. What does all this complexity mean for ZLUDA? Absolutely nothing

    > Since an application can dynamically link to either Driver API or Runtime API, it would seem that ZLUDA needs to provide both. In reality very few applications dynamically link to Runtime API. For the vast majority of applications it's sufficient to provide Driver API for dynamic (runtime) linking.

  • Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
    13 projects | news.ycombinator.com | 14 Dec 2023
    CUDA is huge and nvidia spent a ton in a lot of "dead end" use cases optimizing it. There have been experiments with CUDA translation layers with decent performance[1]. There are two things that most projects hit:

    1. The CUDA API is huge; I'm sure Intel/AMD will focus on what they need to implement pytorch and ignore every other use case ensuring that CUDA always has the leg up in any new frontier

    2. Nvidia actually cares about developer experience. The most prominent example is Geohotz with tinygrad - where AMD examples didn't even work or had glaring compiler bugs. You will find nvidia engineer in github issues for CUDA projects. Intel/AMD hasn't made that level of investment and thats important because GPUs tend to be more fickle than CPUs.

    [1] https://github.com/vosen/ZLUDA

  • Why Nvidia Keeps Winning: The Rise of an AI Giant
    3 projects | news.ycombinator.com | 6 Jul 2023
    > I don't think you understand just how insanely difficult it is to break into that market.

    You're right, I have no clue nor have I ever tried myself.

    > Even with apple money or something like that, it's a losing prospect because in the time it'll take you to get up and off the ground (which is FOREVER) your competition will crush you.

    This I find hard to believe, do you have a source or reference for that claim? Companies with that amount of cash are hardly going to be crushed by competition be it direct or indirect. Anyway, I'm talking more about the Intels and AMDs of this world.

    We have very lacklustre efforts from players I won't name with their Zluda library (https://github.com/vosen/ZLUDA) which I got REALLY excited about, until I read the README.txt. Four contributors, last commit early 2021.

    Why, oh why, is it this bad?

  • Intel Arc Graphics Driver Change Leads To A Big Speed-Up Under Linux
    3 projects | /r/linux | 24 Jun 2023

nvidia-patch

Posts with mentions or reviews of nvidia-patch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-30.
  • Do I need to have a beefy PC to transcode 4k? Or can I just buy my brother an Nvidia shield pro and setup a cheap server on my end?
    1 project | /r/PleX | 9 Dec 2023
    This can be patched out. https://github.com/keylase/nvidia-patch
  • Transcoding 4K HDR tone mapping
    1 project | /r/PleX | 9 Dec 2023
    NVIDIA Corporation GA106 [GeForce RTX 3060] and I applied the patch here https://github.com/keylase/nvidia-patch
  • Linux 6.6 to Protect Against Illicit Behavior of Nvidia Proprietary Driver
    5 projects | news.ycombinator.com | 30 Aug 2023
    > CUDA, and pretty much all optimization(hacks) done to run games better

    And arbitrary limitations implemented at the driver level to force you to purchase their enterprise GPUs, see https://github.com/keylase/nvidia-patch#nvenc-and-nvfbc-patc...

  • GPU Guide (For AI Use-Cases)
    1 project | news.ycombinator.com | 7 Jul 2023
    Nvidia has no motivation to make a consumer card with lots of VRAM, that's basically the only (relevant) separator between the GeForce family and the Quadro lineup.

    There are restrictions on NVENC streams with consumer cards, but that has been a solved problem for a while [0].

    If they were to make a consumer card with more VRAM, it would immediately undercut their own Quadro/Tesla lineup, which cost substantially more. I don't see a reason for them to do it.

    0: https://github.com/keylase/nvidia-patch

  • Can't hardware transcode mor than 5 at a time even after all the required changes
    3 projects | /r/PleX | 1 Jul 2023
    I have never had to do the session limit bump thing from the last link. I have a 3090 as well and simply did the initial unlock, which worked fine. I would reinstall fresh drivers from Nvidia, making sure you install the newest one that is supported by the unlock tool (536.40 as of this post, the GitHub for the patch has links to the drivers - https://github.com/keylase/nvidia-patch/tree/master/win)
  • Can you flash any consumer version Nvidia card to remove the streaming limits?
    1 project | /r/unRAID | 23 Jun 2023
  • Can my GPU transcode?
    1 project | /r/jellyfin | 9 Jun 2023
    Aren't these Quadro versions. The patch here. https://github.com/keylase/nvidia-patch supports Quadro versions of you click on the win clickable.
  • Let's have a talk - Guide to Choosing the Best Plex Server for You
    1 project | /r/PleX | 2 Jun 2023
    Second, the GPU. The GPU is probably as important as the CPU, and in some cases more important, and when we talk about GPUs we will primarily talk about Nvidia GPUs as they are officialy supported by the Plex team. NVIDIA GPUs are important for Plex hardware transcoding due to their dedicated video encoding/decoding units, superior performance, wide codec support, improved video quality, reduced CPU load, power efficiency. They offer a powerful hardware acceleration solution that can greatly enhance the transcoding capabilities of a Plex server. It's also important to note that Nvidia GPUs require a patch to unlock the number of HW transcoding streams. Dedicated GPUs are large pieces of hardware and have their place in desktop PCs. However, they can also be used with mini-PCs by using an external GPU enclosure.
  • What does this Max. 3 concurrent stream cap mean anway?
    1 project | /r/PleX | 1 Jun 2023
    As there's no NVENC patch available (yet) for the Beta driver branch - referring to this one: https://github.com/keylase/nvidia-patch - which can lift the limits of HW transcoding, I was now wondering a little, as I can see 5 (hw) streams on Plex, which actually shouldn't/cannot be the case no?
  • Is there somewhere that lists Nvidia GPUs.
    1 project | /r/jellyfin | 29 May 2023
    I haven’t done this yet but there is a patch on GitHub that removes the limitation for consumer GPUs. Makes lower end cards more attractive for this type of work

What are some alternatives?

When comparing ZLUDA and nvidia-patch you can also consider the following projects:

InvokeAI - InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.

vgpu_unlock - Unlock vGPU functionality for consumer grade GPUs.

HIPIFY - HIPIFY: Convert CUDA to Portable C++ Code [Moved to: https://github.com/ROCm/HIPIFY]

nvlax - Future-proof NvENC & NvFBC patcher (Linux/Windows)

ROCm - AMD ROCm™ Software - GitHub Home [Moved to: https://github.com/ROCm/ROCm]

Sunshine - Self-hosted game stream host for Moonlight.

HIPIFY - HIPIFY: Convert CUDA to Portable C++ Code

wlroots - A modular Wayland compositor library

HIP - HIP: C++ Heterogeneous-Compute Interface for Portability

unmanic - Unmanic - Library Optimiser

arrow - 🏹 Better dates & times for Python

Proxmox-Nvidia-LXC- - how to create an Proxmox LXC in 6.2-1