#Hi, could someone please help me?

22 messages · Page 1 of 1 (latest)

umbral basalt
ashen orchid
#

@umbral basalt Thank you so much -- I will try!

ashen orchid
#

@umbral basalt Unfortunately, while it went as far as "trainer_stats = trainer.train()", it then ran into this error:

umbral basalt
#

hmm the error prolly indicates xformers isnt installed

#

could you try

#
!pip install --no-deps bitsandbytes accelerate xformers==0.0.29.post3 peft trl triton cut_cross_entropy unsloth_zoo
    !pip install sentencepiece protobuf datasets huggingface_hub hf_transfer
    !pip install --upgrade --no-cache-dir "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
ashen orchid
#

Doing it now! Thank you! 🙂

umbral basalt
#

that should work!

ashen orchid
#

@umbral basalt It is training!!! I am SO GRATEFUL to you for your help!

#

@umbral basalt Last question: If I wanted to do it in a Python module or Jupyter notebook (i.e., not in Colab), is there a suggested installation that I could put into my requirements.txt file that would work just as well?

umbral basalt
#

pip install unsloth usually works for me

ashen orchid
#

Thank you... Oddly it did not before, but I will try again -- probably something was conflicting with other libraries I tried to install individually by myself. Regardless, much appreciate your help!

umbral basalt
#

in a fresh env try pip install unsloth

ashen orchid
#

No matter what I do, I keep getting this error:

ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/pandas/_libs/window/aggregations.cpython-310-x86_64-linux-gnu.so)
#

when trying to import from unsloth import FastLanguageModel

#

This is my environment:

more /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
#

I am trying to update the OS packages.

ashen orchid
#

did not help

ashen orchid
#

But doing this made it work:

unsloth==2025.3.19
unsloth_zoo==2025.3.17