mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #89] Error in pip install flash-attn in colab #69
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @strikertushar19 on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/89
After I ran !pip install flash-attn in google collab in environment Tpu V28 I got error
@Surya443 commented on GitHub (Jan 29, 2025):
It seems that FlashAttention(>2.0.0) is not fully compatible with TPU v2, or there may be missing or misconfigured dependencies related to the TPU architecture. The same installation process works successfully on a T4 GPU or higher GPU models. This issue may be specific to TPU v2. Worked for me when I ran the installation on T4 runtime.
@ukumar0 commented on GitHub (Jan 29, 2025):
flash-attnis optimized for GPUs with CUDA and may not be compatible with TPU. If you are using a TPU runtime in Colab, try switching to a GPU runtime@strikertushar19 commented on GitHub (Jan 29, 2025):
Yeah i figured out that it will not work with tpu there are cpu specific not gpu
@strikertushar19 commented on GitHub (Jan 29, 2025):
@strikertushar19 commented on GitHub (Jan 29, 2025):
Flashattn used is flash-attn2 so i figured out that minimum gpu in order to run the 1.3B param model of janus i required
Compute : Ampere, Ada, or Hopper GPUs (e.g., A100, RTX 3090, RTX 4090, H100).