Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

xformers can't load C++/CUDA extensions #64

Closed as not planned
Closed as not planned
@mberman84

Description

@mberman84

I'm running this on apple silicon M2 and with the CPU flag on. after ingesting, it asks me for a query, then it gives me this error and just hangs:

(my_env) ➜  localGPT git:(main) ✗ python3 run_localGPT.py --device_type cpuRunning on: cpuload INSTRUCTOR_Transformermax_seq_length  512Using embedded DuckDB with persistence: data will be stored in: /Users/matthewberman/Desktop/localGPT/DBLoading checkpoint shards: 100%|███████████████████████████████████████████████████████████████| 2/2 [00:51<00:00, 25.91s/it]WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:    PyTorch 2.0.0 with CUDA None (you have 2.0.0)    Python  3.11.3 (you have 3.11.3)  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)  Memory-efficient attention, SwiGLU, sparse and more won't be available.  Set XFORMERS_MORE_DETAILS=1 for more detailsEnter a query: what is this document about?/opt/homebrew/lib/python3.11/site-packages/transformers/generation/utils.py:1255: UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will be removed soon, in a future version. Please use a generation configuration file (see https://huggingface.co/docs/transformers/main_classes/text_generation)  warnings.warn(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp