Skip to content

Commit

Permalink
adding layers and math test
Browse files Browse the repository at this point in the history
  • Loading branch information
ariG23498 committed Oct 7, 2024
1 parent 44431ec commit a1c72e2
Show file tree
Hide file tree
Showing 5 changed files with 545 additions and 240 deletions.
8 changes: 1 addition & 7 deletions jflux/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@
from jax.typing import DTypeLike

from jflux.sampling import denoise, get_noise, get_schedule, prepare, unpack
from jflux.util import (
configs,
load_ae,
load_clip,
load_flow_model,
load_t5,
)
from jflux.util import configs, load_ae, load_clip, load_flow_model, load_t5


@dataclass
Expand Down
7 changes: 1 addition & 6 deletions jflux/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@
from jax.typing import DTypeLike

from jflux.modules import DoubleStreamBlock, MLPEmbedder, SingleStreamBlock
from jflux.modules.layers import (
AdaLayerNorm,
Embed,
Identity,
timestep_embedding,
)
from jflux.modules.layers import AdaLayerNorm, Embed, Identity, timestep_embedding


@dataclass
Expand Down
Loading

0 comments on commit a1c72e2

Please sign in to comment.