HIPIFY VS intel-extension-for-pytorch

Compare HIPIFY vs intel-extension-for-pytorch 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)

intel-extension-for-pytorch

A Python package for extending the official PyTorch that can easily obtain performance on Intel platform (by intel)
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
HIPIFY intel-extension-for-pytorch
11 16
318 1,365
- 4.9%
0.0 9.7
5 months ago 6 days ago
C++ Python
MIT License 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.

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

intel-extension-for-pytorch

Posts with mentions or reviews of intel-extension-for-pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Intel Arc A770: Arrays larger than 4GB crashes
    2 projects | news.ycombinator.com | 7 May 2024
    I have been playing around in pytorch with an a770 16GB card and hit this error. The response seems to be https://github.com/intel/intel-extension-for-pytorch/issues/... that larger than 4gb allocations aren't supported even though the card is 16gb. I haven't seen a ton of stuff on intel arc for machine learning so wanted to share my experience
  • Efficient LLM inference solution on Intel GPU
    3 projects | news.ycombinator.com | 20 Jan 2024
    OK I found it. Looks like they use SYCL (which for some reason they've rebranded to DPC++): https://github.com/intel/intel-extension-for-pytorch/tree/v2...
  • Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
    13 projects | news.ycombinator.com | 14 Dec 2023
    Just to point out it does, kind of: https://github.com/intel/intel-extension-for-pytorch

    I've asked before if they'll merge it back into PyTorch main and include it in the CI, not sure if they've done that yet.

  • Watch out AMD: Intel Arc A580 could be the next great affordable GPU
    2 projects | news.ycombinator.com | 6 Aug 2023
    Intel already has a working GPGPU stack, using oneAPI/SYCL.

    They also have arguably pretty good OpenCL support, as well as downstream support for PyTorch and Tensorflow using their custom extensions https://github.com/intel/intel-extension-for-tensorflow and https://github.com/intel/intel-extension-for-pytorch which are actively developed and just recently brought up-to-date with upstream releases.

  • How to run Llama 13B with a 6GB graphics card
    12 projects | news.ycombinator.com | 14 May 2023
    https://github.com/intel/intel-extension-for-pytorch :

    > Intel® Extension for PyTorch extends PyTorch* with up-to-date features optimizations for an extra performance boost on Intel hardware. Optimizations take advantage of AVX-512 Vector Neural Network Instructions (AVX512 VNNI) and Intel® Advanced Matrix Extensions (Intel® AMX) on Intel CPUs as well as Intel Xe Matrix Extensions (XMX) AI engines on Intel discrete GPUs. Moreover, through PyTorch* xpu device, Intel® Extension for PyTorch* provides easy GPU acceleration for Intel discrete GPUs with PyTorch*

    https://pytorch.org/blog/celebrate-pytorch-2.0/ :

    > As part of the PyTorch 2.0 compilation stack, TorchInductor CPU backend optimization brings notable performance improvements via graph compilation over the PyTorch eager mode.

    The TorchInductor CPU backend is sped up by leveraging the technologies from the Intel® Extension for PyTorch for Conv/GEMM ops with post-op fusion and weight prepacking, and PyTorch ATen CPU kernels for memory-bound ops with explicit vectorization on top of OpenMP-based thread parallelization*

    DLRS Deep Learning Reference Stack: https://intel.github.io/stacks/dlrs/index.html

  • Train Lora's on Arc GPUs?
    2 projects | /r/IntelArc | 14 Apr 2023
    Install intel extensions for pytorch using docker. https://github.com/intel/intel-extension-for-pytorch
  • Does it make sense to buy intel arc A770 16gb or AMD RX 7900 XT for machine learning?
    2 projects | /r/IntelArc | 7 Apr 2023
  • PyTorch Intel HD Graphics 4600 card compatibility?
    1 project | /r/pytorch | 4 Apr 2023
    There is: https://github.com/intel/intel-extension-for-pytorch for intel cards on GPUs, but I would assume this doesn't extend to integraded graphics
  • Stable Diffusion Web UI for Intel Arc
    7 projects | /r/IntelArc | 24 Feb 2023
    Nonetheless, this issue might be relevant for your case.
  • Does anyone uses Intel Arc A770 GPU for machine learning? [D]
    5 projects | /r/MachineLearning | 30 Nov 2022

What are some alternatives?

When comparing HIPIFY and intel-extension-for-pytorch you can also consider the following projects:

ZLUDA - CUDA on AMD GPUs

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

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

openai-whisper-cpu - Improving transcription performance of OpenAI Whisper for CPU based deployment

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

FastChat - An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.

rocm-build - build scripts for ROCm

bitsandbytes - Accessible large language models via k-bit quantization for PyTorch.

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.

rocm-examples