Repository navigation
Closed
Description
Note: Please do not remove the questions. Answer beside them.
- Did you update?
pip install --upgrade unsloth unsloth_zoo---- no ColaborKaggleor local / cloud ----local- Number GPUs used, use
nvidia-smi----1 - Which notebook? Please link!
- Which Unsloth version, TRL version, transformers version, PyTorch version?----unsloth 2026.8.1,transformers-latest,torch-2.12+rocm7.14
- Which trainer?
SFTTrainer,GRPOTraineretc Lora
I think unsloth now officially supports my AMD Radeon RX 6600 XT(gfx1032), and when I start fine-tuning unsloth/Qwen-2B, the program crashes like this:(message.txt) Is there any way to enable fp16 training instead of bf16 ,and solve my problem?(On my GPU, Fp16 is 4x faster than bf16) thanks!
==((====))== Unsloth - 2x faster free finetuning | Num GPUs used = 1
\\ /| Num examples = 707 | Num Epochs = 20 | Total steps = 1,780
O^O/ \_/ \ Batch size per device = 2 | Gradient accumulation steps = 4
\ / Data Parallel GPUs = 1 | Total batch size (2 x 4 x 1) = 8
"-____-" Trainable parameters = 10,911,744 of 2,224,153,408 (0.49% trained)
0%| | 0/1780 [00:00<?, ?it/s]{"timestamp": "2026-08-04T12:57:19.700737Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/train/runs", "status_code": 200, "process_time_ms": 7.74}
{"timestamp": "2026-08-04T12:57:19.755737Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/models/download-progress", "status_code": 200, "process_time_ms": 8.91}
{"timestamp": "2026-08-04T12:57:19.764737Z", "level": "info", "event": "request_completed", "method": "GET", "path": "/api/datasets/download-progress", "status_code": 200, "process_time_ms": 17.89}
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.fdot2.bf16.bf16
Windows fatal exception: code 0x80000003
Thread 0x00001c30 (most recent call first):
File "E:\Program Files\Python312\Lib\threading.py", line 359 in wait
File "E:\Program Files\Python312\Lib\threading.py", line 655 in wait
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\tqdm\_monitor.py", line 69 in run
File "E:\Program Files\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "E:\Program Files\Python312\Lib\threading.py", line 1032 in _bootstrap
Thread 0x00006a74 (most recent call first):
File "E:\Program Files\Python312\Lib\threading.py", line 359 in wait
File "E:\Program Files\Python312\Lib\threading.py", line 655 in wait
File "E:\unsloth\studio\backend\core\training\worker.py", line 3145 in _monitor_tqdm
File "E:\Program Files\Python312\Lib\threading.py", line 1012 in run
File "E:\Program Files\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "E:\Program Files\Python312\Lib\threading.py", line 1032 in _bootstrap
Thread 0x000056c0 (most recent call first):
File "E:\Program Files\Python312\Lib\threading.py", line 359 in wait
File "E:\Program Files\Python312\Lib\threading.py", line 655 in wait
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\tqdm\_monitor.py", line 69 in run
File "E:\Program Files\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "E:\Program Files\Python312\Lib\threading.py", line 1032 in _bootstrap
Thread 0x00003720 (most recent call first):
File "E:\Program Files\Python312\Lib\multiprocessing\connection.py", line 1016 in _exhaustive_wait
File "E:\Program Files\Python312\Lib\multiprocessing\connection.py", line 1084 in wait
File "E:\Program Files\Python312\Lib\multiprocessing\connection.py", line 346 in _poll
File "E:\Program Files\Python312\Lib\multiprocessing\connection.py", line 257 in poll
File "E:\Program Files\Python312\Lib\multiprocessing\queues.py", line 113 in get
File "E:\unsloth\studio\backend\core\training\worker.py", line 3035 in _poll_stop
File "E:\Program Files\Python312\Lib\threading.py", line 1012 in run
File "E:\Program Files\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "E:\Program Files\Python312\Lib\threading.py", line 1032 in _bootstrap
Thread 0x00003618 (most recent call first):
File "E:\Program Files\Python312\Lib\threading.py", line 355 in wait
File "E:\Program Files\Python312\Lib\multiprocessing\queues.py", line 251 in _feed
File "E:\Program Files\Python312\Lib\threading.py", line 1012 in run
File "E:\Program Files\Python312\Lib\threading.py", line 1075 in _bootstrap_inner
File "E:\Program Files\Python312\Lib\threading.py", line 1032 in _bootstrap
Current thread 0x00003b2c (most recent call first):
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\backends\amd\compiler.py", line 491 in make_amdgcn
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\backends\amd\compiler.py", line 530 in <lambda>
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\compiler\compiler.py", line 327 in compile
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\jit.py", line 884 in _do_compile
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\jit.py", line 739 in run
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 150 in kernel_call
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\testing.py", line 149 in do_bench
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 164 in _bench
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 229 in benchmark
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 202 in check_disk_cache
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 238 in run
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\utils\cache.py", line 378 in run
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\autotuner.py", line 459 in run
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\runtime\jit.py", line 370 in <lambda>
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\gated_delta_rule\wy_fast.py", line 254 in recompute_w_u_fwd
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\gated_delta_rule\chunk_fwd.py", line 384 in chunk_gated_delta_rule_fwd_intra
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\gated_delta_rule\chunk.py", line 70 in chunk_gated_delta_rule_fwd
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\gated_delta_rule\chunk.py", line 279 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\amp\autocast_mode.py", line 481 in decorate_fwd
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\utils\_decorators.py", line 152 in wrapper
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\autograd\function.py", line 596 in apply
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\_vendored\fla\ops\gated_delta_rule\chunk.py", line 546 in chunk_gated_delta_rule
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\_dynamo\eval_frame.py", line 1263 in _fn
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\unsloth_compiled_module_qwen3_5.py", line 563 in Qwen3_5GatedDeltaNet_forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\_dynamo\external_utils.py", line 227 in nonrecursive_disable_wrapper
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\unsloth_compiled_module_qwen3_5.py", line 672 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "E:\.unsloth\studio\.venv_t5_530\transformers\models\qwen3_5\modeling_qwen3_5.py", line 857 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\gradient_checkpointing.py", line 678 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\autograd\function.py", line 596 in apply
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\unsloth_zoo\gradient_checkpointing.py", line 888 in unsloth_checkpoint
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\_dynamo\eval_frame.py", line 1263 in _fn
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\_compile.py", line 54 in inner
File "E:\.unsloth\studio\.venv_t5_530\transformers\modeling_layers.py", line 92 in __call__
File "E:\.unsloth\studio\.venv_t5_530\transformers\models\qwen3_5\modeling_qwen3_5.py", line 1372 in forward
File "E:\.unsloth\studio\.venv_t5_530\transformers\utils\output_capturing.py", line 253 in wrapper
File "E:\.unsloth\studio\.venv_t5_530\transformers\utils\generic.py", line 917 in wrapper
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "E:\.unsloth\studio\.venv_t5_530\transformers\models\qwen3_5\modeling_qwen3_5.py", line 1775 in forward
File "E:\.unsloth\studio\.venv_t5_530\transformers\utils\generic.py", line 843 in wrapper
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\unsloth_compiled_module_qwen3_5.py", line 1141 in Qwen3_5ForConditionalGeneration_forward
File "E:\.unsloth\studio\.venv_t5_530\transformers\utils\generic.py", line 843 in wrapper
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\_dynamo\external_utils.py", line 227 in nonrecursive_disable_wrapper
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\unsloth_compiled_module_qwen3_5.py", line 1363 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\peft\tuners\tuners_utils.py", line 311 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\peft\peft_model.py", line 1923 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\amp\autocast_mode.py", line 44 in decorate_autocast
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\accelerate\utils\operations.py", line 931 in __call__
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\accelerate\utils\operations.py", line 943 in forward
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1790 in _call_impl
File "C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\nn\modules\module.py", line 1779 in _wrapped_call_impl
File "<string>", line 41 in compute_loss
File "E:\unsloth\unsloth\models\_utils.py", line 2959 in _unsloth_pre_compute_loss
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\UnslothSFTTrainer.py", line 1345 in compute_loss
File "<string>", line 40 in _unsloth_training_step
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\UnslothSFTTrainer.py", line 1356 in training_step
File "E:\.unsloth\studio\.venv_t5_530\transformers\trainer.py", line 1734 in _run_epoch
File "<string>", line 81 in _fast_inner_training_loop
File "E:\.unsloth\studio\.venv_t5_530\transformers\trainer.py", line 1424 in train
File "C:\Users\dianel\AppData\Local\Temp\unsloth_compiled_cache\UnslothSFTTrainer.py", line 101 in wrapper
File "E:\unsloth\unsloth\trainer.py", line 848 in _train_with_reset
File "E:\unsloth\studio\backend\core\training\trainer.py", line 3643 in _train_worker
File "E:\unsloth\studio\backend\core\training\worker.py", line 3341 in run_training_process
File "E:\unsloth\studio\backend\utils\native_path_leases.py", line 129 in run_without_native_path_secret
File "E:\Program Files\Python312\Lib\multiprocessing\process.py", line 108 in run
File "E:\Program Files\Python312\Lib\multiprocessing\process.py", line 314 in _bootstrap
File "E:\Program Files\Python312\Lib\multiprocessing\spawn.py", line 135 in _main
File "E:\Program Files\Python312\Lib\multiprocessing\spawn.py", line 122 in spawn_main
File "<string>", line 1 in <module>
Exception Code: 0x80000003
#0 0x00007ffaee006125 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x4226125)
#1 0x00007ffce5331881 (C:\WINDOWS\System32\ucrtbase.dll+0x71881)
#2 0x00007ffce5332851 (C:\WINDOWS\System32\ucrtbase.dll+0x72851)
#3 0x00007ffaedfa5a8e mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x41c5a8e)
#4 0x00007ffaec059213 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x2279213)
#5 0x00007ffaec0685f7 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x22885f7)
#6 0x00007ffaeaefe4b1 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x111e4b1)
#7 0x00007ffaeaef7797 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x1117797)
#8 0x00007ffaec05c381 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x227c381)
#9 0x00007ffaec05b227 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x227b227)
#10 0x00007ffaec062c43 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x2282c43)
#11 0x00007ffaec06fc92 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x228fc92)
#12 0x00007ffaec07157d mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x229157d)
#13 0x00007ffaec6742b0 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x28942b0)
#14 0x00007ffaedc8f345 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x3eaf345)
#15 0x00007ffaed51de16 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x373de16)
#16 0x00007ffaed51da1e mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x373da1e)
#17 0x00007ffaed51e97b mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x373e97b)
#18 0x00007ffaedc8f873 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x3eaf873)
#19 0x00007ffaedc8f018 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x3eaf018)
#20 0x00007ffaea4fef31 PyInit_libtriton (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x71ef31)
#21 0x00007ffaea4f5ba8 PyInit_libtriton (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x715ba8)
#22 0x00007ffaea4ecd43 PyInit_libtriton (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x70cd43)
#23 0x00007ffaea4f85ca PyInit_libtriton (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x7185ca)
#24 0x00007ffaea4ea9a6 PyInit_libtriton (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x70a9a6)
#25 0x00007ffaea407ef5 (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\triton\_C\libtriton.pyd+0x627ef5)
#26 0x00007ffba0328376 (E:\Program Files\Python312\python312.dll+0x68376)
#27 0x00007ffba0341a5f (E:\Program Files\Python312\python312.dll+0x81a5f)
#28 0x00007ffba03419c5 (E:\Program Files\Python312\python312.dll+0x819c5)
#29 0x00007ffba0342ea5 (E:\Program Files\Python312\python312.dll+0x82ea5)
#30 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#31 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#32 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#33 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#34 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#35 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#36 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#37 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#38 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#39 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#40 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#41 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#42 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#43 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#44 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#45 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#46 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#47 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#48 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#49 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#50 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#51 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#52 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#53 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#54 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#55 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#56 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#57 0x00007ffba02c93b7 (E:\Program Files\Python312\python312.dll+0x93b7)
#58 0x00007ffafa51cbe1 torch::autograd::THPCppFunction_Check(struct _object *) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib\torch_python.dll+0x62cbe1)
#59 0x00007ffba02f7a16 (E:\Program Files\Python312\python312.dll+0x37a16)
#60 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#61 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#62 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#63 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#64 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#65 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#66 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#67 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#68 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#69 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#70 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#71 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#72 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#73 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#74 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#75 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#76 0x00007ffba0342018 (E:\Program Files\Python312\python312.dll+0x82018)
#77 0x00007ffba03419c5 (E:\Program Files\Python312\python312.dll+0x819c5)
#78 0x00007ffba0342ea5 (E:\Program Files\Python312\python312.dll+0x82ea5)
#79 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#80 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#81 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#82 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#83 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#84 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#85 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#86 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#87 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#88 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#89 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#90 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#91 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#92 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#93 0x00007ffba03eb069 (E:\Program Files\Python312\python312.dll+0x12b069)
#94 0x00007ffba032560e (E:\Program Files\Python312\python312.dll+0x6560e)
#95 0x00007ffba03f6b65 (E:\Program Files\Python312\python312.dll+0x136b65)
#96 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#97 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#98 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#99 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#100 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#101 0x00007ffba02c93b7 (E:\Program Files\Python312\python312.dll+0x93b7)
#102 0x00007ffafa51cbe1 torch::autograd::THPCppFunction_Check(struct _object *) (C:\Users\dianel\.unsloth\studio\unsloth_studio\Lib\site-packages\torch\lib\torch_python.dll+0x62cbe1)
#103 0x00007ffba02f7a16 (E:\Program Files\Python312\python312.dll+0x37a16)
#104 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#105 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#106 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#107 0x00007ffba033bd8e (E:\Program Files\Python312\python312.dll+0x7bd8e)
#108 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#109 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#110 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#111 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#112 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#113 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#114 0x00007ffba03eb069 (E:\Program Files\Python312\python312.dll+0x12b069)
#115 0x00007ffba032560e (E:\Program Files\Python312\python312.dll+0x6560e)
#116 0x00007ffba03f6b65 (E:\Program Files\Python312\python312.dll+0x136b65)
#117 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#118 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#119 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#120 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#121 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#122 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#123 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#124 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#125 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#126 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#127 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#128 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#129 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#130 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#131 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#132 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#133 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#134 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#135 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#136 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#137 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#138 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#139 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#140 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#141 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#142 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#143 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#144 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#145 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#146 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#147 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#148 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#149 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#150 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#151 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#152 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#153 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#154 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#155 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#156 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#157 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#158 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#159 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#160 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#161 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#162 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#163 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#164 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#165 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#166 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#167 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#168 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#169 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#170 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#171 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#172 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#173 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#174 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#175 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#176 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#177 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#178 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#179 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#180 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#181 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#182 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#183 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#184 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#185 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#186 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#187 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#188 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#189 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#190 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#191 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#192 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#193 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#194 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#195 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#196 0x00007ffba0373f03 (E:\Program Files\Python312\python312.dll+0xb3f03)
#197 0x00007ffba041319b (E:\Program Files\Python312\python312.dll+0x15319b)
#198 0x00007ffba04130c6 (E:\Program Files\Python312\python312.dll+0x1530c6)
#199 0x00007ffba03727a6 (E:\Program Files\Python312\python312.dll+0xb27a6)
#200 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#201 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#202 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#203 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#204 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#205 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#206 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#207 0x00007ffba033bd8e (E:\Program Files\Python312\python312.dll+0x7bd8e)
#208 0x00007ffba0372815 (E:\Program Files\Python312\python312.dll+0xb2815)
#209 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#210 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#211 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#212 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#213 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#214 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#215 0x00007ffba03eb069 (E:\Program Files\Python312\python312.dll+0x12b069)
#216 0x00007ffba032560e (E:\Program Files\Python312\python312.dll+0x6560e)
#217 0x00007ffba03f6b65 (E:\Program Files\Python312\python312.dll+0x136b65)
#218 0x00007ffba0341a5f (E:\Program Files\Python312\python312.dll+0x81a5f)
#219 0x00007ffba03419c5 (E:\Program Files\Python312\python312.dll+0x819c5)
#220 0x00007ffba0342ea5 (E:\Program Files\Python312\python312.dll+0x82ea5)
#221 0x00007ffba034103c (E:\Program Files\Python312\python312.dll+0x8103c)
#222 0x00007ffba033be18 (E:\Program Files\Python312\python312.dll+0x7be18)
#223 0x00007ffba037286b (E:\Program Files\Python312\python312.dll+0xb286b)
#224 0x00007ffba037275f (E:\Program Files\Python312\python312.dll+0xb275f)
#225 0x00007ffba03466ee (E:\Program Files\Python312\python312.dll+0x866ee)
#226 0x00007ffba02f81e4 (E:\Program Files\Python312\python312.dll+0x381e4)
#227 0x00007ffba02f6b66 (E:\Program Files\Python312\python312.dll+0x36b66)
#228 0x00007ffba03ae838 (E:\Program Files\Python312\python312.dll+0xee838)
#229 0x00007ffba03aea70 (E:\Program Files\Python312\python312.dll+0xeea70)
#230 0x00007ffba03aebdf (E:\Program Files\Python312\python312.dll+0xeebdf)
#231 0x00007ffba0448871 (E:\Program Files\Python312\python312.dll+0x188871)
#232 0x00007ffba04487ff (E:\Program Files\Python312\python312.dll+0x1887ff)
#233 0x00007ffba02e8ee2 (E:\Program Files\Python312\python312.dll+0x28ee2)
#234 0x00007ffba02e8700 (E:\Program Files\Python312\python312.dll+0x28700)
#235 0x00007ffba02e86e3 (E:\Program Files\Python312\python312.dll+0x286e3)
#236 0x00007ff7ad201230 (E:\Program Files\Python312\python.exe+0x1230)
#237 0x00007ffce57f7374 (C:\WINDOWS\System32\KERNEL32.DLL+0x17374)
#238 0x00007ffce779cc91 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x4cc91)🦥 You can also ask via our Reddit page: https://reddit.com/r/unsloth/
Activity
LeoBorcherding commentedon Aug 31, 2026
You diagnosed this exactly right, and the fix in review does what you asked for: on RDNA 2 cards like your RX 6600 XT, Unsloth will pick fp16 automatically instead of bf16.
What is happening: PyTorch reports bf16 support on gfx1032, but the card has no native bf16 arithmetic. When Triton compiles a bf16 kernel there is nothing for LLVM to lower it to, and the process dies before Python can raise a normal error, which is the
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.fdot2.bf16.bf16in your log. Thanks for posting the full traceback, it is what pinned this to the Triton compile step rather than the trainer.The fix is #7682, with a companion change in unslothai/unsloth-zoo#1130 (already merged) covering the same problem in the gradient-checkpointing offload buffers. It gates bf16 off for gfx10 (RDNA 1 and 2) and falls back to fp16, which on your card is also the faster option, as you said. Merging it will close this issue automatically, and the fix will reach you through a normal update after that.
Nothing needed from you in the meantime. If you want to try it before it ships, installing from the PR branch works, but waiting for the release is the simpler path.
LeoBorcherding commentedon Sep 25, 2026
Reopening this: the change that closed it (#7682) was only half the fix, and the crash can still happen.
#7682 stops Unsloth choosing bf16 on RX 6000 cards, and that part works. But with gradient checkpointing on (Unsloth's default), models that Unsloth runs in float32 or float16 for stability, Qwen3.5 among them, still get their saved activations staged in bf16 and handed back that way during the backward pass. On a card with no bf16 that's the same
LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.fdot2.bf16.bf16. It only fires once a batch is long enough to be offloaded, so short test data trains fine and real data dies a few steps in.The fix is unslothai/unsloth-zoo#1316. It hands each activation back in the dtype it went out in. On an RX 6500 XT (gfx1034, same RDNA 2 family as your 6600 XT) Qwen3.5-0.8B went from an abort at step 5 to 30 of 30 steps, and Qwen3.5-2B QLoRA from an abort at step 0 to training. This issue will close when that lands.
Until then,
use_gradient_checkpointing=Trueinstead of"unsloth"avoids the offload path, at the cost of more VRAM.GPUs without bf16 (AMD RX 5000 / 6000): keep offloaded activations in…
danielhanchen commentedon Oct 11, 2026
Fixed! Sorry on the delay. On RX 5000 / 6000 cards Unsloth now trains in float16 instead of bfloat16 (#7682), and the crash itself came from gradient checkpointing handing an offloaded activation back as bfloat16, which Triton cannot compile on RDNA 2. That is fixed in unslothai/unsloth-zoo#1419 and unslothai/unsloth-zoo#1316, so Qwen3.5 now trains on these cards.
To update: Unsloth Desktop will have an update banner. For Studio, use
unsloth studio update. For Docker, usedocker exec <container> unsloth-studio-update. Reopen if it still happens.Core: decide bfloat16, compile and TMA options from every visible NVI…