🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning. 🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning. 🦥 Unsloth Zoo will now patch everything to make training faster! 🦥 Unsloth Zoo will now patch everything to make training faster! [unsloth_zoo.log|WARNING]Loading unsloth/Qwen3.8-27B-unsloth-bnb-4bit as text-only; vision/audio towers skipped. Use FastVisionModel for multimodal inputs. ==((====))== Unsloth 2026.8.18: Fast Qwen3_5 patching. Transformers: 5.5.0. \\ /| NVIDIA RTX A6000. Num GPUs = 2. Max memory: 44.549 GB. Platform: Linux. O^O/ \_/ \ Torch: 2.7.1+cu118. CUDA: 8.6. CUDA Toolkit: 11.8. Triton: 3.3.1 \ / Bfloat16 = TRUE. FA [Xformers = 0.0.31. FA2 = False] "-____-" Free license: http://github.com/unslothai/unsloth Unsloth: Fast downloading is enabled - ignore downloading bars which are red colored! [unsloth_zoo.log|WARNING]Loading unsloth/Qwen3.8-27B-unsloth-bnb-4bit as text-only; vision/audio towers skipped. Use FastVisionModel for multimodal inputs. ==((====))== Unsloth 2026.8.18: Fast Qwen3_5 patching. Transformers: 5.5.0. \\ /| NVIDIA RTX A6000. Num GPUs = 2. Max memory: 44.549 GB. Platform: Linux. O^O/ \_/ \ Torch: 2.7.1+cu118. CUDA: 8.6. CUDA Toolkit: 11.8. Triton: 3.3.1 \ / Bfloat16 = TRUE. FA [Xformers = 0.0.31. FA2 = False] "-____-" Free license: http://github.com/unslothai/unsloth Unsloth: Fast downloading is enabled - ignore downloading bars which are red colored! Loading weights: 0%| | 0/851 [00:00system Objective: Generate a sanskrit verse in Anuṣṭubh meter based on a given meaning or theme while strictly following the metrical (?and rhyme) rules. Rules of Chandas: Syllable Rules: LAGHU vowels: अ, इ, उ, ऋ, ऌ GURU vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ HRASVA vowels: अ, इ, उ, ऋ, ऌ DEERGHA vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ Syllable is marked laghu, guru and hrasva, deergha based on the vowel it contains. Syllable containing anusvāra("ं") or visarga("ः") is always marked as guru. Syllable that is followed by a conjunct consonant (saṁyuktākṣara) is always marked guru. The goal is to generate Sanskrit verse that follows the anushtup meter rules for the given input translation. RULES: Verse Rules: The verse contains 32 syllables/akshara and 4 padas in total. The verse is divided in 2 lines, each containing 16 syllables. Each line is divided into 2 padas (quartets),each containing exactly 8 syllables. The fifth syllable of every pada must be LAGHU or short. The sixth syllable of every pada must be GURU or long. The seventh syllable of the second and the fourth pada must be HRASVA The seventh syllable of the first and third paada must be DEERGHA Language: The generated verse must be in sanskrit in Devanagri script. The Input given is in the hindi. Do NOT include English words, transliteration, labels, or explanations. Output Format: (Output exactly 4 lines, one pada per line. Nothing else.) Example 1: Meaning: इसलिये कामनाओं या भोगोंकी वृद्धिके लिये आग्रह नहीं रखना चाहिये भोगों में जो आसक्ति होती है, वह दुःखरूप ही है धन पाकर भी उसे धर्ममें ही लगा देना चाहिये काम भोगोंको तो सर्वथा त्याग ही देना चाहिये Sanskrit Verse: न कामाननुरुद्ध्येत दुःखं कामेषु वै रतिः प्राप्यार्थमुपयुञ्जीत धर्मं कामान् विसर्जयेत् ॥ Example 2: Meaning: कारण कि यज्ञसे शेष बचे हुए अन्नको खानेवाले श्रेष्ठ पुरुष सब पापोंसे छूटते हैं और जो पापीलोग अपने शरीरपोषणके लिये ही पकाते हैं, वे तो पापको ही खाते हैं ॥ Sanskrit Verse: यज्ञशिष्टाशिनः सन्तो मुच्यन्ते सर्वकिल्बिषैः भुञ्जते ते त्वयं पापा ये पचन्त्यात्मकारणात् ॥ Example 3: Meaning: वहाँसे सेनाविन्दुकी राजधानी देवप्रश्वमें आकर चतु रंगिणी सेनाके साथ शक्तिशाली अर्जुनने यहीं पड़ाव डाला ॥ Sanskrit Verse: स देवप्रस्थमासाद्य सेनाविन्दोः पुरं प्रति बलेन चतुरङ्गेण निवेशमकरोत् प्रभुः ॥<|im_end|> <|im_start|>user Meaning: दिन और रात्रि उनके नेत्र हैं, वे दिव्यस्वरूप हैं वेद उनका अड्ग और श्रुतियाँ आभूषण हैं हविष्य नासिका, खुवा थूथन और सामवेदका गम्भीर घोष ही उनका स्वर है वे महान्‌ हैं ॥ Generate the Sanskrit verse.<|im_end|> <|im_start|>assistant अहोरात्रेक्षणो दिव्यो वेदाड़ः श्रुतिभूषण: आज्यनास: स्त्रुवातुण्डः सामघोषस्वनो महान्‌॥<|im_end|> -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- warmup_ratio is deprecated and will be removed in v5.2. Use `warmup_steps` instead. `logging_dir` is deprecated and will be removed in v5.2. Please set `TENSORBOARD_LOGGING_DIR` instead. -------------------------------------------------------------------------------------- sa अहोरात्रेक्षणो दिव्यो वेदाड़ः श्रुतिभूषण: आज्यनास: स्त्रुवातुण्डः सामघोषस्वनो महान्‌॥ -------------------------------------------------------------------------------------- hi दिन और रात्रि उनके नेत्र हैं, वे दिव्यस्वरूप हैं वेद उनका अड्ग और श्रुतियाँ आभूषण हैं हविष्य नासिका, खुवा थूथन और सामवेदका गम्भीर घोष ही उनका स्वर है वे महान्‌ हैं ॥ -------------------------------------------------------------------------------------- skr_out anuṣṭubh (1,2: pathyā; 3,4: pathyā) -------------------------------------------------------------------------------------- syllable_count 32 -------------------------------------------------------------------------------------- skr_meter Anuṣṭubh -------------------------------------------------------------------------------------- meter_cd Anuṣṭubh -------------------------------------------------------------------------------------- comments None -------------------------------------------------------------------------------------- prompt Objective: Generate a sanskrit verse in Anuṣṭubh meter based on a given meaning or theme while strictly following the metrical (?and rhyme) rules. Rules of Chandas: Syllable Rules: LAGHU vowels: अ, इ, उ, ऋ, ऌ GURU vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ HRASVA vowels: अ, इ, उ, ऋ, ऌ DEERGHA vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ Syllable is marked laghu, guru and hrasva, deergha based on the vowel it contains. Syllable containing anusvāra("ं") or visarga("ः") is always marked as guru. Syllable that is followed by a conjunct consonant (saṁyuktākṣara) is always marked guru. The goal is to generate Sanskrit verse that follows the anushtup meter rules for the given input translation. RULES: Verse Rules: The verse contains 32 syllables/akshara and 4 padas in total. The verse is divided in 2 lines, each containing 16 syllables. Each line is divided into 2 padas (quartets),each containing exactly 8 syllables. The fifth syllable of every pada must be LAGHU or short. The sixth syllable of every pada must be GURU or long. The seventh syllable of the second and the fourth pada must be HRASVA The seventh syllable of the first and third paada must be DEERGHA Language: The generated verse must be in sanskrit in Devanagri script. The Input given is in the hindi. Do NOT include English words, transliteration, labels, or explanations. Output Format: (Output exactly 4 lines, one pada per line. Nothing else.) Example 1: Meaning: इसलिये कामनाओं या भोगोंकी वृद्धिके लिये आग्रह नहीं रखना चाहिये भोगों में जो आसक्ति होती है, वह दुःखरूप ही है धन पाकर भी उसे धर्ममें ही लगा देना चाहिये काम भोगोंको तो सर्वथा त्याग ही देना चाहिये Sanskrit Verse: न कामाननुरुद्ध्येत दुःखं कामेषु वै रतिः प्राप्यार्थमुपयुञ्जीत धर्मं कामान् विसर्जयेत् ॥ Example 2: Meaning: कारण कि यज्ञसे शेष बचे हुए अन्नको खानेवाले श्रेष्ठ पुरुष सब पापोंसे छूटते हैं और जो पापीलोग अपने शरीरपोषणके लिये ही पकाते हैं, वे तो पापको ही खाते हैं ॥ Sanskrit Verse: यज्ञशिष्टाशिनः सन्तो मुच्यन्ते सर्वकिल्बिषैः भुञ्जते ते त्वयं पापा ये पचन्त्यात्मकारणात् ॥ Example 3: Meaning: वहाँसे सेनाविन्दुकी राजधानी देवप्रश्वमें आकर चतु रंगिणी सेनाके साथ शक्तिशाली अर्जुनने यहीं पड़ाव डाला ॥ Sanskrit Verse: स देवप्रस्थमासाद्य सेनाविन्दोः पुरं प्रति बलेन चतुरङ्गेण निवेशमकरोत् प्रभुः ॥ -------------------------------------------------------------------------------------- split train -------------------------------------------------------------------------------------- text <|im_start|>system Objective: Generate a sanskrit verse in Anuṣṭubh meter based on a given meaning or theme while strictly following the metrical (?and rhyme) rules. Rules of Chandas: Syllable Rules: LAGHU vowels: अ, इ, उ, ऋ, ऌ GURU vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ HRASVA vowels: अ, इ, उ, ऋ, ऌ DEERGHA vowels: आ, ई, ऊ, ॠ, ॡ, ए, ऐ, ओ, औ Syllable is marked laghu, guru and hrasva, deergha based on the vowel it contains. Syllable containing anusvāra("ं") or visarga("ः") is always marked as guru. Syllable that is followed by a conjunct consonant (saṁyuktākṣara) is always marked guru. The goal is to generate Sanskrit verse that follows the anushtup meter rules for the given input translation. RULES: Verse Rules: The verse contains 32 syllables/akshara and 4 padas in total. The verse is divided in 2 lines, each containing 16 syllables. Each line is divided into 2 padas (quartets),each containing exactly 8 syllables. The fifth syllable of every pada must be LAGHU or short. The sixth syllable of every pada must be GURU or long. The seventh syllable of the second and the fourth pada must be HRASVA The seventh syllable of the first and third paada must be DEERGHA Language: The generated verse must be in sanskrit in Devanagri script. The Input given is in the hindi. Do NOT include English words, transliteration, labels, or explanations. Output Format: (Output exactly 4 lines, one pada per line. Nothing else.) Example 1: Meaning: इसलिये कामनाओं या भोगोंकी वृद्धिके लिये आग्रह नहीं रखना चाहिये भोगों में जो आसक्ति होती है, वह दुःखरूप ही है धन पाकर भी उसे धर्ममें ही लगा देना चाहिये काम भोगोंको तो सर्वथा त्याग ही देना चाहिये Sanskrit Verse: न कामाननुरुद्ध्येत दुःखं कामेषु वै रतिः प्राप्यार्थमुपयुञ्जीत धर्मं कामान् विसर्जयेत् ॥ Example 2: Meaning: कारण कि यज्ञसे शेष बचे हुए अन्नको खानेवाले श्रेष्ठ पुरुष सब पापोंसे छूटते हैं और जो पापीलोग अपने शरीरपोषणके लिये ही पकाते हैं, वे तो पापको ही खाते हैं ॥ Sanskrit Verse: यज्ञशिष्टाशिनः सन्तो मुच्यन्ते सर्वकिल्बिषैः भुञ्जते ते त्वयं पापा ये पचन्त्यात्मकारणात् ॥ Example 3: Meaning: वहाँसे सेनाविन्दुकी राजधानी देवप्रश्वमें आकर चतु रंगिणी सेनाके साथ शक्तिशाली अर्जुनने यहीं पड़ाव डाला ॥ Sanskrit Verse: स देवप्रस्थमासाद्य सेनाविन्दोः पुरं प्रति बलेन चतुरङ्गेण निवेशमकरोत् प्रभुः ॥<|im_end|> <|im_start|>user Meaning: दिन और रात्रि उनके नेत्र हैं, वे दिव्यस्वरूप हैं वेद उनका अड्ग और श्रुतियाँ आभूषण हैं हविष्य नासिका, खुवा थूथन और सामवेदका गम्भीर घोष ही उनका स्वर है वे महान्‌ हैं ॥ Generate the Sanskrit verse.<|im_end|> <|im_start|>assistant अहोरात्रेक्षणो दिव्यो वेदाड़ः श्रुतिभूषण: आज्यनास: स्त्रुवातुण्डः सामघोषस्वनो महान्‌॥<|im_end|> -------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------- warmup_ratio is deprecated and will be removed in v5.2. Use `warmup_steps` instead. `logging_dir` is deprecated and will be removed in v5.2. Please set `TENSORBOARD_LOGGING_DIR` instead. Unsloth: Tokenizing ["text"]: 0%| | 0/23316 [00:00 [rank0]: trainer.train(resume_from_checkpoint=os.environ.get("TRAIN_RESUME_CHECKPOINT") or None) [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/unsloth/trainer.py", line 977, in _train_with_reset [rank0]: return _orig_train(*train_args, **train_kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/unsloth_compiled_cache/UnslothSFTTrainer.py", line 110, in wrapper [rank0]: output = f(self, *args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/transformers/trainer.py", line 1424, in train [rank0]: return inner_training_loop( [rank0]: ^^^^^^^^^^^^^^^^^^^^ [rank0]: File "", line 81, in _fast_inner_training_loop [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/transformers/trainer.py", line 1734, in _run_epoch [rank0]: tr_loss_step = self.training_step(model, inputs, num_items_in_batch) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/unsloth_compiled_cache/UnslothSFTTrainer.py", line 1423, in training_step [rank0]: return super().training_step(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/unsloth/models/_utils.py", line 3313, in _unsloth_training_step_settling_fallbacks [rank0]: return _training_step_before_settle(self, *args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "", line 68, in _unsloth_training_step [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/accelerate/accelerator.py", line 2454, in backward [rank0]: loss.backward(**kwargs) [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/_tensor.py", line 648, in backward [rank0]: torch.autograd.backward( [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/autograd/__init__.py", line 353, in backward [rank0]: _engine_run_backward( [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/autograd/graph.py", line 824, in _engine_run_backward [rank0]: return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/utils/checkpoint.py", line 1124, in unpack_hook [rank0]: frame.recompute_fn(*args) [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/utils/checkpoint.py", line 1518, in recompute_fn [rank0]: fn(*args, **kwargs) [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl [rank0]: return self._call_impl(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl [rank0]: return forward_call(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/miniconda3/envs/geocoding/lib/python3.11/site-packages/transformers/models/qwen3_5/modeling_qwen3_5.py", line 780, in forward [rank0]: hidden_states = self.mlp(hidden_states) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl [rank0]: return self._call_impl(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl [rank0]: return forward_call(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/unsloth_compiled_cache/unsloth_compiled_module_qwen3_5.py", line 871, in forward [rank0]: return Qwen3_5MLP_forward(self, x=x) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/_dynamo/eval_frame.py", line 655, in _fn [rank0]: return fn(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/unsloth_compiled_cache/unsloth_compiled_module_qwen3_5.py", line 856, in Qwen3_5MLP_forward [rank0]: down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x)) [rank0]: ^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1751, in _wrapped_call_impl [rank0]: return self._call_impl(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1762, in _call_impl [rank0]: return forward_call(*args, **kwargs) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: File "/home/priya/qwen_unsloth/unsloth_compiled_cache/Linear4bit_peft_forward.py", line 110, in unsloth_forward [rank0]: return lora_forward(result, lora_A, lora_B, dropout, x, scaling).to(result.dtype) [rank0]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 928.00 MiB. GPU 0 has a total capacity of 44.55 GiB of which 476.94 MiB is free. Including non-PyTorch memory, this process has 43.77 GiB memory in use. Process 398512 has 304.00 MiB memory in use. Of the allocated memory 43.09 GiB is allocated by PyTorch, and 206.31 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) [rank0]:[W1105 03:19:52.390566523 ProcessGroupNCCL.cpp:1479] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator()) W1105 03:19:53.423000 398479 .venv/lib/python3.11/site-packages/torch/distributed/elastic/multiprocessing/api.py:900] Sending process 398512 closing signal SIGTERM E1105 03:19:53.938000 398479 .venv/lib/python3.11/site-packages/torch/distributed/elastic/multiprocessing/api.py:874] failed (exitcode: 1) local_rank: 0 (pid: 398511) of binary: /home/priya/qwen_unsloth/.venv/bin/python Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/run.py", line 896, in main() File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/run.py", line 892, in main run(args) File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/run.py", line 883, in run elastic_launch( File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 139, in __call__ return launch_agent(self._config, self._entrypoint, list(args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/priya/qwen_unsloth/.venv/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 270, in launch_agent raise ChildFailedError( torch.distributed.elastic.multiprocessing.errors.ChildFailedError: ============================================================ train_qwen38-3S.py FAILED ------------------------------------------------------------ Failures: ------------------------------------------------------------ Root Cause (first observed failure): [0]: time : 2026-11-05_03:19:53 host : airavat rank : 0 (local_rank: 0) exitcode : 1 (pid: 398511) error_file: traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ============================================================