unslothai / unsloth

Finetune Llama 3.2, Mistral, Phi, Qwen 2.5 & Gemma LLMs 2-5x faster with 80% less memory
https://unsloth.ai
Apache License 2.0
18.42k stars 1.29k forks source link

FastLanguageModel: AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType' #1084

Open tapankumarpatro opened 1 month ago

tapankumarpatro commented 1 month ago

I am trying to finetune it with llama 3.1 in github using T4 gpu's.

I was on 2nd step where i need to import FastLanguageModel.

Check the image for better picture. image

Output from the second command: 🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning.

AttributeError Traceback (most recent call last) in <cell line: 1>() ----> 1 from unsloth import FastLanguageModel 2 import torch 3 max_seq_length = 2048 # Choose any! We auto support RoPE Scaling internally! 4 dtype = None # None for auto detection. Float16 for Tesla T4, V100, Bfloat16 for Ampere+ 5 load_in_4bit = True # Use 4bit quantization to reduce memory usage. Can be False.

11 frames /usr/local/lib/python3.10/dist-packages/pyarrow/_parquet.pyx in init pyarrow._parquet()

AttributeError: module 'pyarrow.lib' has no attribute 'ListViewType'

Please can someone help me on this.

danielhanchen commented 1 month ago

@tapankumarpatro Sorry on the issue! In Colab, you might need to press Runtime then "Disconnect and Delete Runtime" to restart everything