intel-extension-for-pytorch
Our great sponsors
intel-extension-for-pytorch | intel-graphics-compiler | |
---|---|---|
14 | 10 | |
1,342 | 565 | |
9.6% | 1.6% | |
9.7 | 10.0 | |
3 days ago | 1 day ago | |
Python | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
intel-extension-for-pytorch
-
Efficient LLM inference solution on Intel GPU
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'
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
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
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?
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?
-
PyTorch Intel HD Graphics 4600 card compatibility?
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
Nonetheless, this issue might be relevant for your case.
- Does anyone uses Intel Arc A770 GPU for machine learning? [D]
-
Will ROCm finally get some love?
I'm not sure where the disdain for ROCm is coming from, but tensorflow-rocm and the rocm pytorch container were fairly easy to setup and use from scratch once I got the correct Linux kernel installed along with the rest of the necessary ROCm components needed to use tensorflow and pytorch for rocm. TBF Intel Extension for Tensorflow wasn't too bad to setup either (except for the lack of float16 mixed precision training support, that was definitely a pain point to not be able to have), but Intel Extension for Pytorch for Intel GPUs (a.k.a. IPEX-GPU) however, has been a PITA to use for my i5 11400H iGPU NOT because the iGPU itself is slow, BUT because the current i915 driver in the mainline linux kernel simply doesn't work with IPEX-GPU (every script that I've ran ends up freezing when using even the i915 drivers as recent as Kernel version 6), and when I ended up installing drivers that were meant for the Arc GPUs that finally got IPEX-GPUs to work, I ended up with even more issues such as sh*tty FP64 emulation support that basically meant I had to do some really janky workarounds for things to not break while FP64 emulation was enabled (disabling was simply not an option for me, long story short). And yea unlike Intel, both Nvidia AND AMD actually do support FP64 instructions AND FLOAT16 mixed precision training natively on their GPUs so that one doesn't have to worry about running into "unsupported FP64 instructions" and "unsupported training modes" no matter what software they're running on those GPUs.
intel-graphics-compiler
-
Stable Diffusion Web UI for Intel Arc
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12504.5/intel-igc-core_1.0.12504.5_amd64.deb
-
Fedora 37 drop time?
(I am intel-igc maintainer, it's quite unfortunate, but there isn't much to do until https://github.com/intel/intel-graphics-compiler/issues/258 gets fixed).
-
Broken dependencies for intel-opencl on Fedora 37 Beta?
Oops, I was looking at the wrong package. If you haven't seen it, this is the upstream issue: https://github.com/intel/intel-graphics-compiler/issues/258
-
Intel Mesa Vulkan Driver
Part of the Intel Graphics Compiler is open sourced here. IGC is a component of the driver which is used to compile shader code down to hardware specific ISA. There is a closed source half of it that is used on on the windows side, so in that way it is reused on both the open and closed source sides. I don't know if Mesa uses this, I'd kinda be surprised if it doesn't.
-
PVE LXC - Plex HW transcoding not working 100%
apt update && apt upgrade -y echo deb [signed-by=/usr/share/keyrings/plex.gpg] https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list sudo wget -O- https://downloads.plex.tv/plex-keys/PlexSign.key | gpg --dearmor | sudo tee /usr/share/keyrings/plex.gpg mkdir ~/neo wget https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-gmmlib_21.3.3_amd64.deb -P ~/neo wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb -P ~/neo wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb -P ~/neo wget https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb -P ~/neo dpkg -i ~/neo/intel-gmmlib_21.3.3_amd64.deb dpkg -i ~/neo/intel-igc-core_1.0.9441_amd64.deb dpkg -i ~/neo/intel-igc-opencl_1.0.9441_amd64.deb dpkg -i ~/neo/intel-opencl-icd_21.49.21786_amd64.deb
- Outdated llvm packages
-
Anyone else's Plex LXC's Quicksync break after 7.1/7.2 upgrade?
PlexMediaServer install: Intel i915 Hardware: Found PlexMediaServer install: Nvidia GPU card: Not Found PlexMediaServer install: PlexMediaServer install: OpenCL: Installed PlexMediaServer install: Intel Gmmlib: Not Installed PlexMediaServer install: Intel IGC Core: Not Installed PlexMediaServer install: Intel IGC OpenCL: Not Installed PlexMediaServer install: Intel OpenCL: Not Installed PlexMediaServer install: PlexMediaServer install: WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-gmmlib' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-gmmlib_21.3.3_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-igc-core' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-igc-opencl' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-opencl' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb PlexMediaServer install: Intel Compute Runtime packages are available from: https://github.com/intel/compute-runtime/releases PlexMediaServer install: Please be certain to install them in the listed order.
-
Another (?) Plex & Intel Compute Runtime Thread
PlexMediaServer install: Pre-installation Validation. PlexMediaServer install: Pre-installation Validation complete. Unpacking plexmediaserver (1.26.2.5797-5bd057d2b) over (1.26.2.5797-5bd057d2b) ... Setting up plexmediaserver (1.26.2.5797-5bd057d2b) ... PlexMediaServer install: PlexMediaServer-1.26.2.5797-5bd057d2b - Installation starting. PlexMediaServer install: PlexMediaServer install: Now installing based on: PlexMediaServer install: Installation Type: Update PlexMediaServer install: Process Control: systemd PlexMediaServer install: Plex User: XXXXXX PlexMediaServer install: Plex Group: XXXXXX PlexMediaServer install: Video Group: video PlexMediaServer install: Metadata Dir: XXXXXXX PlexMediaServer install: Temp Directory: /mnt/ramdisk (set in Preferences.xml) PlexMediaServer install: Lang Encoding: en_US.UTF-8 PlexMediaServer install: Config file used: /etc/systemd/system/plexmediaserver.service.d/override.conf PlexMediaServer install: Intel i915 Hardware: Found PlexMediaServer install: Nvidia GPU card: Not Found PlexMediaServer install: PlexMediaServer install: OpenCL: Installed PlexMediaServer install: Intel Gmmlib: Not Installed PlexMediaServer install: Intel IGC Core: Not Installed PlexMediaServer install: Intel IGC OpenCL: Not Installed PlexMediaServer install: Intel OpenCL: Not Installed PlexMediaServer install: PlexMediaServer install: WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-gmmlib' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-gmmlib_21.3.3_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-igc-core' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-core_1.0.9441_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-igc-opencl' from https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.9441/intel-igc-opencl_1.0.9441_amd64.deb PlexMediaServer install: PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing. PlexMediaServer install: Please install package: 'intel-opencl' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb PlexMediaServer install: Intel Compute Runtime packages are available from: https://github.com/intel/compute-runtime/releases PlexMediaServer install: Please be certain to install them in the listed order. PlexMediaServer install: PlexMediaServer install: Completing final configuration. PlexMediaServer install: Starting Plex Media Server. PlexMediaServer install: PlexMediaServer-1.26.2.5797-5bd057d2b - Installation successful. Errors: 0, Warnings: 4
-
Analyzing the Assembly code
It's a bit tricky right now to figure out which registers store which variables, especially for pre-initialized registers. We're looking to improve this. The biggest complications are "implicit arguments" that need to be passed to the kernel but that aren't explicit arguments in your kernel signature. You can get a feel for the types of information that are passed to a kernel by looking at the Intel Graphics Compiler source.
- Intel's Ponte Vecchio Xe-HPC GPU Boasts 100B Transistors
What are some alternatives?
llama-cpp-python - Python bindings for llama.cpp
stable-diffusion-webui-ipex-arc - A guide to Intel Arc-enabled (maybe) version of @AUTOMATIC1111/stable-diffusion-webui
openai-whisper-cpu - Improving transcription performance of OpenAI Whisper for CPU based deployment
compute-runtime - Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
FastChat - An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.
opencl-intercept-layer - Intercept Layer for Debugging and Analyzing OpenCL Applications
ROCm - AMD ROCm™ Software - GitHub Home [Moved to: https://github.com/ROCm/ROCm]
grcuda - Polyglot CUDA integration for the GraalVM
bitsandbytes - Accessible large language models via k-bit quantization for PyTorch.
PhysX-3.4 - NVIDIA PhysX SDK 3.4
rocm-examples
linux - Linux kernel source tree