Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Mistral v3 (#514)
Daniel Hanb90d9c42c6ea
diff --git a/unsloth/__init__.py b/unsloth/__init__.pyindex c8f4ca10411..d85eca003db 100644--- a/unsloth/__init__.py+++ b/unsloth/__init__.py@@ -17,6 +17,7 @@ import importlib# Currently only supports 1 GPU, or else seg faults will occur.if "CUDA_VISIBLE_DEVICES" in os.environ:+ os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"devices = os.environ["CUDA_VISIBLE_DEVICES"]# Check if there are multiple cuda devices set in envif not devices.isdigit():diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.pyindex b4fbe573872..29896ef2bb1 100644--- a/unsloth/models/mapper.py+++ b/unsloth/models/mapper.py@@ -144,6 +144,14 @@ __INT_TO_FLOAT_MAPPER = \"unsloth/Phi-3-mini-4k-instruct","microsoft/Phi-3-mini-4k-instruct",),+ "unsloth/mistral-7b-v0.3-bnb-4bit" : (+ "unsloth/mistral-7b-v0.3",+ "mistralai/Mistral-7B-v0.3",+ ),+ "unsloth/mistral-7b-instruct-v0.3-bnb-4bit" : (+ "unsloth/mistral-7b-instruct-v0.3",+ "mistralai/Mistral-7B-Instruct-v0.3",+ ),}INT_TO_FLOAT_MAPPER = {}