unslothai / unsloth

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

Unable to install unsloth on ubuntu, python 3.10 #408

Open researchase opened 5 months ago

researchase commented 5 months ago

unslot metadata issue

when trying to install with the command : pip install "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"

I get the following error :

Defaulting to user installation because normal site-packages is not writeable Collecting unsloth[colab-new]@ git+https://github.com/unslothai/unsloth.git Cloning https://github.com/unslothai/unsloth.git to /tmp/pip-install-wfqafxrq/unsloth_24c4c2b574064d23b47f416e549cb79e Running command git clone --filter=blob:none --quiet https://github.com/unslothai/unsloth.git /tmp/pip-install-wfqafxrq/unsloth_24c4c2b574064d23b47f416e549cb79e Resolved https://github.com/unslothai/unsloth.git to commit 72aee4a3a128268c3d1e5cef249626897996645c Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done WARNING: Generating metadata for package unsloth produced metadata for project name unknown. Fix your #egg=unsloth fragments. Discarding git+https://github.com/unslothai/unsloth.git: Requested unknown from git+https://github.com/unslothai/unsloth.git has inconsistent name: filename has 'unsloth', but metadata has 'unknown' ERROR: Could not find a version that satisfies the requirement unsloth (unavailable) (from versions: none) ERROR: No matching distribution found for unsloth (unavailable)

danielhanchen commented 5 months ago

Ok that is weird unsure why its not working hmmm

sri-devineni commented 1 month ago

Hi, any update on this error? I'm facing a similar issue, I'm trying to clone the repo on: nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04 image: image

promaprogga commented 1 month ago

any update?

danielhanchen commented 1 month ago

Hopefully it should work now - I made the installation process somewhat easier hopefully