-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
Description
Unsloth fails to import on Intel Arc B580 because unsloth_zoo/temporary_patches/gpt_oss.py (line 540) calls torch.xpu.memory.mem_get_info(), which is not supported on this GPU.
When I try to run the given snippet on my notebook, the above error occurs. I am running it locally on my own hardware. Due to the error I am unable to use unsloth.
from unsloth import FastLanguageModel
import torch
model_name = "F:/LocalLLM/models/Qwen3-VL-8B-Instruct"
max_seq_length = 2048 # Choose sequence length
dtype = None # Auto detection
# Load model and tokenizer
model, tokenizer = FastLanguageModel.from_pretrained(
model_name=model_name,
max_seq_length=max_seq_length,
dtype=dtype,
load_in_4bit=True,
)