Spaces:
Running
Running
Pedro Cuenca
commited on
Commit
•
2b2be9b
1
Parent(s):
64d99b2
Change import order again.
Browse filesMy version of `isort` has a different opinion than the one in the github
action.
src/dalle_mini/model/modeling.py
CHANGED
@@ -22,6 +22,7 @@ from typing import Optional, Tuple
|
|
22 |
import flax.linen as nn
|
23 |
import jax
|
24 |
import jax.numpy as jnp
|
|
|
25 |
from flax.core.frozen_dict import unfreeze
|
26 |
from flax.linen import make_causal_mask
|
27 |
from flax.traverse_util import flatten_dict
|
@@ -46,8 +47,6 @@ from transformers.models.bart.modeling_flax_bart import (
|
|
46 |
)
|
47 |
from transformers.utils import logging
|
48 |
|
49 |
-
import wandb
|
50 |
-
|
51 |
from .configuration import DalleBartConfig
|
52 |
|
53 |
logger = logging.get_logger(__name__)
|
|
|
22 |
import flax.linen as nn
|
23 |
import jax
|
24 |
import jax.numpy as jnp
|
25 |
+
import wandb
|
26 |
from flax.core.frozen_dict import unfreeze
|
27 |
from flax.linen import make_causal_mask
|
28 |
from flax.traverse_util import flatten_dict
|
|
|
47 |
)
|
48 |
from transformers.utils import logging
|
49 |
|
|
|
|
|
50 |
from .configuration import DalleBartConfig
|
51 |
|
52 |
logger = logging.get_logger(__name__)
|