Skip to content

Use Qwen2.5-3B-Instruct get warning: flash attention 2.0 with a model not initialized on GPU #60

@KyrieXiao25

Description

@KyrieXiao25

[WARNING|logging.py:328] 2025-02-26 14:54:51,387 >> You are attempting to use Flash Attention 2.0 with a model not initialized on GPU. Make sure to move the model to GPU after initializing it on CPU with model.to('cuda').

Does this indicate I fail to use flash attention?

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