ZLUDA VS HIPIFY

Compare ZLUDA vs HIPIFY and see what are their differences.

HIPIFY

HIPIFY: Convert CUDA to Portable C++ Code [Moved to: https://github.com/ROCm/HIPIFY] (by ROCm-Developer-Tools)
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 HIPIFY
35 11
7,671 318
- -
7.0 0.0
4 days ago 5 months ago
Rust C++
Apache License 2.0 MIT License
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

HIPIFY

Posts with mentions or reviews of HIPIFY. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-14.
  • AMD Hip SDK: Making CUDA Applications Run Across Consumer, Pro GPUs and APUs
    1 project | news.ycombinator.com | 5 Aug 2023
    Right. I can't speak to its correctness/completeness as I've only done a quick installation and smoke test of the ROCm/HIP/MIOpen stack, but there's even a tool that automates the translation [1].

    [1] https://github.com/ROCm-Developer-Tools/HIPIFY

  • How to run Llama 13B with a 6GB graphics card
    12 projects | news.ycombinator.com | 14 May 2023
  • How Nvidia’s CUDA Monopoly in Machine Learning Is Breaking
    2 projects | news.ycombinator.com | 16 Jan 2023
    From https://news.ycombinator.com/item?id=32904285 re: AMD Rocm, HIPIFY, :

    >> ROCm-Developer-Tools/HIPIFY https://github.com/ROCm-Developer-Tools/HIPIFY :

    >> hipify-clang is a clang-based tool for translating CUDA sources into HIP sources. It translates CUDA source into an abstract syntax tree, which is traversed by transformation matchers. After applying all the matchers, the output HIP source is produced.

    > ROCm-Developer-Tools/HIPIFY https://github.com/ROCm-Developer-Tools/HIPIFY :

    >> hipify-clang is a clang-based tool for translating CUDA sources into HIP sources. It translates CUDA source into an abstract syntax tree, which is traversed by transformation matchers. After applying all the matchers, the output HIP source is produced.

    > AMD ROcm supports Pytorch, TensorFlow, MlOpen, rocBLAS on NVIDIA and AMD GPUs: https://rocmdocs.amd.com/en/latest/Deep_learning/Deep-learni...

  • Stable Diffusion on AMD RDNA3
    5 projects | news.ycombinator.com | 21 Dec 2022
    > Thus, the idea is that through typically negligible effort porting to HiP, your code becomes vendor-independent.

    Here, the big AMD mistake was to rename those function prefixes in the first place. It's a mistake that they could have avoided...

    What a lot of SW codebases did to support AMD (see PyTorch code notably): codebase is still CUDA, have the conversion pass to HIP done at build time.

    See https://github.com/ROCm-Developer-Tools/HIPIFY/blob/amd-stag... for the Perl script to do it.

    Then comes the problem of AMD not supporting ROCm HIP on most of their hardware or user base.

    On Windows, the ROCm HIP SDK is private and only available under NDA. This means that while you can use Blender w/ HIP on Windows, the Blender builds that you compile yourself will not be able to use ROCm HIP.

    On Linux, the supported GPUs are few and far between, Vega20 onwards are supported today. APUs, RDNA1, and lower end RDNA2 w/o unsupported hacks (6700 XT and below) are excluded.

  • AI Seamless Texture Generator Built-In to Blender
    15 projects | news.ycombinator.com | 19 Sep 2022
    https://rocmdocs.amd.com/en/latest/Deep_learning/Deep-learni...

    RadeonOpenCompute/ROCm_Documentation: https://github.com/RadeonOpenCompute/ROCm_Documentation

    ROCm-Developer-Tools/HIPIFYhttps://github.com/ROCm-Developer-Tools/HIPIFY :

    > hipify-clang is a clang-based tool for translating CUDA sources into HIP sources. It translates CUDA source into an abstract syntax tree, which is traversed by transformation matchers. After applying all the matchers, the output HIP source is produced.

    ROCmSoftwarePlatform/gpufort: https://github.com/ROCmSoftwarePlatform/gpufort :

    > GPUFORT: S2S translation tool for CUDA Fortran and Fortran+X in the spirit of hipify

    ROCm-Developer-Tools/HIP https://github.com/ROCm-Developer-Tools/HIP:

    > HIP is a C++ Runtime API and Kernel Language that allows developers to create portable applications for AMD and NVIDIA GPUs from single source code. [...] Key features include:

    > - HIP is very thin and has little or no performance impact over coding directly in CUDA mode.

    > - HIP allows coding in a single-source C++ programming language including features such as templates, C++11 lambdas, classes, namespaces, and more.

    > - HIP allows developers to use the "best" development environment and tools on each target platform.

    > - The [HIPIFY] tools automatically convert source from CUDA to HIP.

    > - * Developers can specialize for the platform (CUDA or AMD) to tune for performance or handle tricky cases.*

  • 单位要求五一之后上缴旧电脑,统一换国产新电脑、新系统,由于不兼容windows软件,所以还要装个windows模拟器,导致办公效率倒退10年。主任吐槽说,这不是用落后代替先进么,我心说连他都看出来了。
    1 project | /r/CLTV | 29 Apr 2022
    并且有一个自动转换工具 https://github.com/ROCm-Developer-Tools/HIPIFY https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-porting-guide.html
  • Hipify: Convert CUDA to Portable C++ Code
    1 project | news.ycombinator.com | 31 Jul 2021
  • Hipify: Convert CUDA to Portable Hip C++ Code
    1 project | news.ycombinator.com | 2 Jun 2021
  • Deep Learning options on Radeon RX 6800
    4 projects | /r/Amd | 16 Apr 2021
    It might be worth checking out HIPIFY, which lets you automatically convert CUDA code to vendor neutral code that can be run on any GPU. Disclaimer, I have never used it and have no idea how it works.
  • Will NVIDIA's cryptocurrency limiter interfere with nouveau drivers?
    4 projects | /r/linux | 22 Feb 2021
    CUDA zu AMD HIP conversion: https://github.com/ROCm-Developer-Tools/HIPIFY

What are some alternatives?

When comparing ZLUDA and HIPIFY 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.

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

ncnn - ncnn is a high-performance neural network inference framework optimized for the mobile platform

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

llama-cpp-python - Python bindings for llama.cpp

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

rocm-build - build scripts for ROCm

arrow - 🏹 Better dates & times for Python

kompute - General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

VC4CL - OpenCL implementation running on the VideoCore IV GPU of the Raspberry Pi models