Skip to content

Commit

Permalink
style: apply ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravMaheshkar committed Oct 15, 2024
1 parent 7c14c22 commit 914bfdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions jflux/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
from dataclasses import dataclass
from glob import iglob

import torch
import jax
import jax.numpy as jnp
import numpy as np
import torch
from einops import rearrange
from fire import Fire
from flax import nnx
from PIL import Image

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, torch2jax
from jflux.util import configs, load_ae, load_clip, load_flow_model, load_t5


import os
os.environ["XLA_PYTHON_CLIENT_PREALLOCATE"] = "false"

@dataclass
Expand Down
1 change: 0 additions & 1 deletion jflux/modules/layers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import math
from dataclasses import dataclass

import jax
import jax.numpy as jnp
from chex import Array
from einops import rearrange
Expand Down

0 comments on commit 914bfdc

Please sign in to comment.