unsloth icon indicating copy to clipboard operation
unsloth copied to clipboard

Unable to install unsloth on ubuntu, python 3.10

Open researchase opened this issue 10 months ago • 2 comments

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)

researchase avatar May 01 '24 11:05 researchase

Ok that is weird unsure why its not working hmmm

danielhanchen avatar May 01 '24 18:05 danielhanchen

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

sri-devineni avatar Aug 14 '24 00:08 sri-devineni

any update?

promaprogga avatar Aug 20 '24 09:08 promaprogga

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

danielhanchen avatar Aug 24 '24 00:08 danielhanchen