Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion #1550

Open
thangnv02 opened this issue Jan 17, 2025 · 1 comment
Open

Confusion #1550

thangnv02 opened this issue Jan 17, 2025 · 1 comment

Comments

@thangnv02
Copy link

when i used model :unsloth/Meta-Llama-3.1-8B-bnb-4bit
this is my script:
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "unsloth/Meta-Llama-3.1-8B-bnb-4bit",
max_seq_length = max_seq_length,
dtype = dtype,
load_in_4bit = load_in_4bit,

)
it returns NotImplementedError: Unsloth: /cache_dir/models--unsloth--Meta-Llama-3.1-8B-bnb-4bit not supported yet!
Maybe you're doing vision finetuning? Please use FastVisionModel instead!
Otherwise, make an issue to https://github.com/unslothai/unsloth!

What happend

@danielhanchen
Copy link
Contributor

@thangnv02 Apologies on the delay - can you clear the Hugging Face cache and see if it works again? https://huggingface.co/docs/huggingface_hub/en/guides/manage-cache#using-the-tui can be helpful

Also how about reinstalling Unsloth via pip install --upgrade --force-reinstall --no-cache-dir unsloth unsloth_zoo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants