Skip to content

Commit

Permalink
add triton kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
sjjeong94 committed Jan 1, 2025
1 parent 140cbfb commit 0c68d32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions run_cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python -m flux --name flux-schnell --height 1024 --width 1024 --loop
3 changes: 1 addition & 2 deletions src/flux/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
from torch import Tensor, nn

from flux.modules.layers import (
DoubleStreamBlock,
EmbedND,
LastLayer,
MLPEmbedder,
SingleStreamBlock,
timestep_embedding,
)
from flux.modules.lora import LinearLora, replace_linear_with_lora

from triton_kernels import SingleStreamBlock, DoubleStreamBlock

@dataclass

Check failure on line 16 in src/flux/model.py

View workflow job for this annotation

GitHub Actions / lint

Ruff (I001)

src/flux/model.py:1:1: I001 Import block is un-sorted or un-formatted
class FluxParams:
Expand Down

0 comments on commit 0c68d32

Please sign in to comment.