Skip to content

The issue Multiple dispatch failed for 'torch._ops.aten.to.dtype_layout' is relevant again #1126

Closed as not planned

Description

@yurkoff-mv

Issue:
#741 (comment)

package                   Version
------------------------- --------------
accelerate                0.34.2
bitsandbytes              0.44.1
datasets                  2.21.0
flash-attn                2.6.3
numpy                     1.26.4
nvgpu                     0.10.0
peft                      0.13.0
pynvml                    11.5.3
safetensors               0.4.5
sentencepiece             0.2.0
tokenizers                0.20.0
torch                     2.3.1+cu121
torchaudio                2.3.1+cu121
torchtext                 0.18.0
torchvision               0.18.1+cu121
transformers              4.45.1
trl                       0.11.1
unsloth                   2024.9.post4
xformers                  0.0.27

Activity

  1. yurkoff-mv commented on Oct 10, 2024

    @yurkoff-mv
    Author

    The following command solves the problem, but conflicts with dependencies:
    pip install --no-deps "xformers<0.0.27"

  2. danielhanchen commented on Oct 16, 2024

    @danielhanchen
    Member

    How about

    pip install --no-deps “xformers<0.0.27” trl peft accelerate bitsandbytes 
    pip uninstall unsloth -y
    pip install --upgrade --no-cache-dir "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"
  3. yurkoff-mv commented on Oct 22, 2024

    @yurkoff-mv
    Author

    However, this option for installing the package does not work:

    pip install "unsloth[cu121-ampere-torch230] @ git+https://github.com/unslothai/unsloth.git"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions