Skip to content

[Question] Unsloth Studio: When would you add INTEL and AMD support to the new webui? #4452

Closed

Description

@fablevi

I have read that you have decided to add INTEL and AMD support to the new webui.
2026.03.18
- I tested it out, and only my CPU work in inference, even if i installed torch+xpu.
- I checked and the studio is not available, only the inference page

Activity

  1. changed the title [-][Question] When would you add INTEL and AMD support to the new webui?[/-] [+][Question] Unsloth Studio: When would you add INTEL and AMD support to the new webui?[/+] on Mar 19, 2026
  2. shimmyshimmer commented on Mar 19, 2026

    @shimmyshimmer
    Member

    Very soon, hopefully this month. Well update you guys.

    FYI AMD and Intel is already supported in the core unsloth package, just not studio yet

  3. fablevi commented on Mar 19, 2026

    @fablevi
    Author

    Thansk for quick response.
    I tested out the Intel one and it works!

  4. savvadesogle commented on Mar 19, 2026

    @savvadesogle

    Works with Intel Arc A770

    Image Image
  5. fablevi commented on Mar 20, 2026

    @fablevi
    Author

    @savvadesogle

    Wow, this is a new update? Or how do you installed unsloth studio to activate the training website piece?

  6. fablevi commented on Mar 20, 2026

    @fablevi
    Author

    Small updated:

    I installed the nightly version.
    First problem is:

    Building llama-server for GGUF inference...
    Building CPU-only (no CUDA detected)...
    ✅ llama-server built at /home/fablevi/.unsloth/llama.cpp/build/bin/llama-server
    ✅ llama-quantize available for GGUF export

    I only use my CPU for inference

    Second problem is:

    Image

    Only the Recipe and Chat button is avaliable:

     pip list
    Package               Version
    --------------------- -----------
    accelerate            1.13.0
    aiohappyeyeballs      2.6.1
    aiohttp               3.13.3
    aiosignal             1.4.0
    annotated-doc         0.0.4
    annotated-types       0.7.0
    anyio                 4.12.1
    attrs                 26.1.0
    bitsandbytes          0.50.0.dev0
    certifi               2026.2.25
    charset-normalizer    3.4.6
    click                 8.3.1
    cut-cross-entropy     25.1.1
    datasets              4.3.0
    diffusers             0.37.0
    dill                  0.4.0
    docstring_parser      0.17.0
    dpcpp-cpp-rt          2025.2.1
    filelock              3.25.2
    frozenlist            1.8.0
    fsspec                2025.9.0
    h11                   0.16.0
    hf_transfer           0.1.9
    hf-xet                1.4.2
    httpcore              1.0.9
    httpx                 0.28.1
    huggingface_hub       1.7.1
    idna                  3.11
    impi-rt               2021.16.1
    importlib_metadata    8.8.0
    intel-cmplr-lib-rt    2025.2.1
    intel-cmplr-lib-ur    2025.2.1
    intel-cmplr-lic-rt    2025.2.1
    intel-opencl-rt       2025.2.1
    intel-openmp          2025.2.1
    intel-pti             0.13.1
    intel-sycl-rt         2025.2.1
    Jinja2                3.1.6
    joblib                1.5.3
    markdown-it-py        4.0.0
    MarkupSafe            3.0.3
    mdurl                 0.1.2
    mkl                   2025.2.0
    mpmath                1.3.0
    msgspec               0.20.0
    multidict             6.7.1
    multiprocess          0.70.16
    nest-asyncio          1.6.0
    networkx              3.6.1
    numpy                 2.4.3
    oneccl                2021.16.1
    oneccl-devel          2021.16.1
    onemkl-sycl-blas      2025.2.0
    onemkl-sycl-dft       2025.2.0
    onemkl-sycl-lapack    2025.2.0
    onemkl-sycl-rng       2025.2.0
    onemkl-sycl-sparse    2025.2.0
    packaging             26.0
    pandas                3.0.1
    peft                  0.18.1
    pillow                12.1.1
    pip                   25.1.1
    propcache             0.4.1
    protobuf              7.34.0
    psutil                7.2.2
    pyarrow               23.0.1
    pydantic              2.12.5
    pydantic_core         2.41.5
    Pygments              2.19.2
    python-dateutil       2.9.0.post0
    pytorch-triton-xpu    3.5.0
    PyYAML                6.0.3
    regex                 2026.2.28
    requests              2.32.5
    rich                  14.3.3
    safetensors           0.7.0
    scikit-learn          1.8.0
    scipy                 1.17.1
    sentence-transformers 5.3.0
    sentencepiece         0.2.1
    setuptools            82.0.1
    shellingham           1.5.4
    six                   1.17.0
    sympy                 1.14.0
    tbb                   2022.2.0
    tcmlib                1.4.0
    threadpoolctl         3.6.0
    tokenizers            0.22.2
    torch                 2.9.0+xpu
    torchao               0.16.0
    torchvision           0.24.0+xpu
    tqdm                  4.67.3
    transformers          5.3.0
    triton                3.6.0
    trl                   0.24.0
    typeguard             4.5.1
    typer                 0.24.1
    typing_extensions     4.15.0
    typing-inspection     0.4.2
    tyro                  1.0.10
    umf                   0.11.0
    unsloth               2026.3.8
    unsloth_zoo           2026.3.4
    urllib3               2.6.3
    wheel                 0.46.3
    xxhash                3.6.0
    yarl                  1.23.0
    zipp                  3.23.0
    
    
  7. savvadesogle commented on Mar 20, 2026

    @savvadesogle

    @fablevi
    I had to change the code to get other menu items to work. I also replaced llama-server with my own Vulkan build.

  8. fablevi commented on Mar 20, 2026

    @fablevi
    Author

    @savvadesogle

    Can you share what did you changed in the code?

  9. savvadesogle commented on Mar 20, 2026

    @savvadesogle

    @fablevi I think it's better to wait for the official build with support xpu..

    Or you can direct it to any agent's code. I used qwen-code.
    Sorry, I haven't documented the process and haven't tested everything thoroughly yet, so not everything works (may be).
    Moreover, I only tested it on Windows.

  10. fablevi commented on Mar 20, 2026

    @fablevi
    Author

    @savvadesogle Thanks, then i will wait:)

  11. fablevi commented on Apr 7, 2026

    @fablevi
    Author

    @shimmyshimmer any update?

  12. savvadesogle commented on Apr 7, 2026

    @savvadesogle
  13. fablevi commented on May 4, 2026

    @fablevi
    Author

    @rolandtannous @danielhanchen

    I saw you are doing the pull request. Any new update?

    (Sorry for this question but i really waiting for the UI support for intel cards)

  14. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    Studio chat now works on Intel GPUs. #5819 added the Vulkan llama.cpp backend, and the installer picks it automatically on Intel machines. Training on AMD/Intel is still through Unsloth Core.

    The catch: we don't have an Intel GPU to test on. If you do, please update, load a GGUF model, and report back whether inference runs on the GPU. We'll close this once someone confirms.

  15. savvadesogle commented on Jul 10, 2026

    @savvadesogle

    Hi, @oobabooga

    What's the current installation procedure for Unsloth Studio for Intel? Preferably for Windows)

    1. I usually create the environment myself using Conda,
      conda create -n unsloth-studio python=3.12 -y

    2. and then install PyTorch into it (Nightly Builds, https://docs.pytorch.org/docs/2.12/notes/get_start_xpu.html).
      uv pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/xpu

    3. Then uv pip install unsloth --torch-backend=xpu

    4. Then I try installing .\install.ps1 --local --no-torch.

    Image Image Image Image

    but llama.cpp is working on cpu)

    with set UNSLOTH_FORCE_VULKAN=1
    But I don't know yet, maybe this variable should have been set before the installation and assembly stage of the llama.сpp

    Image
  16. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    @savvadesogle is it possible your install doesn't have the latest main branch? Can you try git pull in your unsloth folder and reinstalling, or just running

    irm https://unsloth.ai/install.ps1 | iex
    

    which pulls the main branch automatically?

  17. savvadesogle commented on Jul 10, 2026

    @savvadesogle

    @oobabooga
    🤷‍♂Nothing new has appeared since my previous message.

    Windows 11 (23h2)

    C:\unsloth\unsloth>git pull
    remote: Enumerating objects: 205, done.
    remote: Counting objects: 100% (149/149), done.
    remote: Compressing objects: 100% (13/13), done.
    remote: Total 205 (delta 139), reused 139 (delta 136), pack-reused 56 (from 2)
    Receiving objects: 100% (205/205), 508.08 KiB | 4.93 MiB/s, done.
    Resolving deltas: 100% (167/167), completed with 24 local objects.
    From https://github.com/unslothai/unsloth
     * [new branch]          ci-harden-smoke-http-retries -> origin/ci-harden-smoke-http-retries
       c2e10298b..6cdac72b6  danielhanchen/harden-code-exec-sandbox -> origin/danielhanchen/harden-code-exec-sandbox
       ad8f6ae50..ffae8d14b  studio-auto-completion-masking -> origin/studio-auto-completion-masking
       b097d2b47..dc30b6db0  studio-dynamic-latest-transformers -> origin/studio-dynamic-latest-transformers
     * [new branch]          studio-template-marker-fix -> origin/studio-template-marker-fix
    Already up to date.
    
    C:\unsloth\unsloth>
    

    irm https://unsloth.ai/install.ps1 | iex

    Unfortunately, the installation stops at this stage (I waited 20 minutes ).

    PS C:\unsloth\unsloth> irm https://unsloth.ai/install.ps1 | iex
    PS C:\unsloth\unsloth> irm https://unsloth.ai/install.ps1 | iex
    
    🦥 Unsloth Studio Installer (Windows)
    ────────────────────────────────────────────────────
    
    winget         available
    python         Python 3.11 already installed
                   preserving existing environment for rollback...
                   previous environment preserved for rollback
    venv           creating Python 3.11 virtual environment
                   C:\Users\uuk\.unsloth\studio\unsloth_studio
    gpu            none (chat-only / GGUF)
                   Training and GPU inference require an NVIDIA or AMD ROCm GPU.
    
                   No NVIDIA GPU detected.
                   Installing CPU-only PyTorch. If you only need GGUF chat/inference,
                   re-run with --no-torch for a faster, lighter install:
                   .\install.ps1 --no-torch
    
                   installing PyTorch (https://download.pytorch.org/whl/cpu)...
                   installing unsloth (this may take a few minutes)...
    setup          running unsloth studio setup...
    
    🦥 Unsloth Studio Setup
    ────────────────────────────────────────────────────
    
    gpu            none (chat-only / GGUF)
                   Training and GPU inference require an NVIDIA or AMD ROCm GPU.
    
    long paths     enabled
    git            git version 2.46.2.windows.1
    vcredist       present
    cmake          cmake version 4.0.3
    vs             Visual Studio 17 2022 (vswhere) (only used if a source build is needed)
                   Node v25.2.1 and npm 11.14.1 already meet requirements (system).
                   Python 3.11.9
    
    system         prerequisites ready
    
    frontend       up to date
    node           v25.2.1 | npm 11.14.1 (system)
                   installing OXC validator runtime...
    oxc runtime    installed
    
                   setting up Python environment...
                   Python found: C:\Users\uuk\.unsloth\studio\unsloth_studio\Scripts\python.exe
                   reusing existing virtual environment at C:\Users\uuk\.unsloth\studio\unsloth_studio
                   Python 3.11.9
                   TORCHINDUCTOR_CACHE_DIR set to C:\Users\uuk\.unsloth\studio\TORCHINDUCTOR_CACHE_DIR
    (avoids MAX_PATH issues)
                   installing PyTorch (CPU-only)...
                   running ordered dependency installation...
    deps           [=========-----------]  5/11  dependency overrides   torch 2.10.0+cpu detected -- installing torchao==0.16.0
    deps           [====================] 11/11  finalizing
    deps           installed
    
                   pre-installing transformers 5.3.0 for newer model support...
    transformers   5.3.0 pre-installed
                   pre-installing transformers 5.5.0 for Gemma 4 support...
    transformers   5.5.0 pre-installed
                   pre-installing transformers 5.10.2 for Gemma 4 Unified support...
    transformers   5.10.2 pre-installed
    
                   Existing llama.cpp install detected -- validating staged prebuilt update before
    replacement
                   installing prebuilt llama.cpp bundle (preferred path)...
    
    
    
  18. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    This looks like progress since it's installing a prebuilt this time rather than compiling from source.

    But the logs are hidden by default. Can you try running it like this, so we gain more information?

    $env:UNSLOTH_NO_TORCH=1
    $env:UNSLOTH_VERBOSE=1
    irm https://unsloth.ai/install.ps1 | iex
    

    Thanks for testing this by the way!

  19. savvadesogle commented on Jul 10, 2026

    @savvadesogle
  20. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    Can you try this, and then paste the full output of the irm run command?

      Remove-Item -Recurse -Force "$env:USERPROFILE\.unsloth\llama.cpp"
      $env:UNSLOTH_NO_TORCH=1
      $env:UNSLOTH_VERBOSE=1
      irm https://unsloth.ai/install.ps1 | iex
    
  21. savvadesogle commented on Jul 10, 2026

    @savvadesogle

    @oobabooga
    After deleting the directory, I re-ran the remove command to confirm it was gone (you can ignore its absence)
    After deleting the directory, I re-ran the remove command to confirm it was gone (you can ignore its absence Remove-Item : Cannot find path 'C:\Users\uuk\.unsloth\llama.cpp' because it does not exist.)

    🤷‍♂
    published_selection: selected app-b9923-mix-53618c5-windows-x64-cpu.zip install_kind=windows-cpu

    log_unsloth_v2.txt

    ps I also switched my internet connection, then started downloading the pre-built llama.cpp binary.

  22. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    I sent a PR that I think should make the intel GPU detection more reliable and resolve this. Could you try running the following commands and pasting the output?

      cd C:\unsloth\unsloth
      git fetch https://github.com/oobabooga/unsloth intel-vulkan-registry-probe
      git checkout FETCH_HEAD
      $env:UNSLOTH_NO_TORCH=1
      $env:UNSLOTH_VERBOSE=1
      .\install.ps1 --local --no-torch
    

    after running, you can restore to the main branch with

      git checkout main
    
  23. savvadesogle commented on Jul 10, 2026

    @savvadesogle

    @oobabooga Thank you ❤️

    And thank you very much for guiding me all day.

    The model was launched on a Vulkan0 device (GPU)
    Image

    {"timestamp": "2026-07-10T20:18:59.650102Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/inference/load-progress", "status_code": 200, "process_time_ms": 106.51}
    {"timestamp": "2026-07-10T20:19:00.420078Z", "level": "info", "event": "Vulkan GPU memory detected: VK0=15488MiB, VK1=15488MiB"}
    {"timestamp": "2026-07-10T20:19:00.421641Z", "level": "info", "event": "GGUF size: 2.6 GB, est. KV cache: 2.7 GB, context: 131072, GPUs free: [(0, 15488), (1, 15488)], selected: [0], fit: False"}
    {"timestamp": "2026-07-10T20:19:00.423170Z", "level": "info", "event": "Starting llama-server: C:\\Users\\uuk\\.unsloth\\llama.cpp\\build\\bin\\Release\\llama-server.exe -m T:\\models\\unsloth\\gemma-3-4b-it-GGUF\\gemma-3-4b-it-Q5_K_S.gguf --port 61542 -c 131072 --parallel 1 --flash-attn on --no-context-shift --alias gemma-3-4b-it-GGUF -ngl -1 --fit off --metrics --threads 2 --jinja --spec-default --cache-ram 0 --ctx-checkpoints 0 --no-cache-prompt --device Vulkan0"}
    

    log

    log_unsloth_v3.txt

  24. oobabooga commented on Jul 10, 2026

    @oobabooga
    Member

    Thank you @savvadesogle, you were the first to test the new vulkan feature. It was merged yesterday and someone with an actual Intel Arc to test it was just what we needed. I wouldn't have come up with that fix without your feedback.

    Please feel free to create new issues if you encounter any problems. Same to @fablevi.

  25. Deca commented on Jul 19, 2026

    @Deca

    Hi,

    I've an Intel Arc A770 16 GB on Windows 10 and i've tested both the current stable Studio installer and the v0.1.49-beta branch
    In both cases the Studio environment was initially created with:

    torch 2.10.0+cpu
    XPU available: False
    CUDA available: False

    The installer also incorrectly selected my Ryzen integrated GPU and printed:

    AMD GPU detected -- arch unknown
    Detected: AMD Radeon(TM) Graphics
    Could not determine the GPU arch -- install the HIP SDK or set
    UNSLOTH_ROCM_GFX_ARCH

    Then I eventually managed to start Studio with the A770 correctly recognized by manually replacing the CPU only Pytorch installation with the Intel XPU stack but seem very unstable with GGUF models, I can load at the default 4096 token context and when I increase the context beyond theestimated VRAM limit it crashes with this warning:

    Failed to load model: Unsloth: Failed to load model.
    Both AutoConfig and PeftConfig loading failed.
    PeftConfig error: Can't find 'adapter_config.json'

    The same GGUF loads successfully at 4096 tokens the adapter_config.json error appears only after exceeding the estimated VRAM/context limit

  26. nonetrix commented on Jul 22, 2026

    @nonetrix

    Has anyone managed to train a model on a 16 GB RX 6000 card? It is listed as partially supported, I assume that means no real optimization, because before I was struggling to get anything not to OOM or crash or some weird inexplicable way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions