mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 02:53:41 +08:00
FLUX: rename flux to mlx_flux
This commit is contained in:
parent
ed9e81dd58
commit
83c92c2a11
@ -13,7 +13,7 @@ from mlx.nn.utils import average_gradients
|
|||||||
from mlx.utils import tree_flatten, tree_map, tree_reduce
|
from mlx.utils import tree_flatten, tree_map, tree_reduce
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
|
||||||
from flux import FluxPipeline, Trainer, load_dataset
|
from mlx_flux import FluxPipeline, Trainer, load_dataset
|
||||||
|
|
||||||
|
|
||||||
def generate_progress_images(iteration, flux, args):
|
def generate_progress_images(iteration, flux, args):
|
||||||
|
@ -8,7 +8,7 @@ import numpy as np
|
|||||||
from PIL import Image
|
from PIL import Image
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
from flux import FluxPipeline
|
from mlx_flux import FluxPipeline
|
||||||
|
|
||||||
|
|
||||||
def to_latent_size(image_size):
|
def to_latent_size(image_size):
|
||||||
|
Loading…
Reference in New Issue
Block a user