Skip to content

Commit cf6b739

Browse files
committed
fix: fixed pipeline
1 parent aec6503 commit cf6b739

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flaxdiff/inference/pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from flaxdiff.inputs import DiffusionInputConfig
2121
from flaxdiff.utils import defaultTextEncodeModel, RandomMarkovState
2222
from flaxdiff.samplers.euler import EulerAncestralSampler
23-
from .utils import parse_config, load_from_wandb_run, load_from_wandb_registry
23+
from flaxdiff.inference.utils import parse_config, load_from_wandb_run, load_from_wandb_registry
2424

2525
@dataclass
2626
class InferencePipeline:
@@ -51,9 +51,9 @@ class DiffusionInferencePipeline(InferencePipeline):
5151
model_output_transform: DiffusionPredictionTransform = None
5252
autoencoder: AutoEncoder = None
5353
input_config: DiffusionInputConfig = None
54+
wandb_run = None
5455
samplers: Dict[Type[DiffusionSampler], Dict[float, DiffusionSampler]] = field(default_factory=dict)
5556
config: Dict[str, Any] = field(default_factory=dict)
56-
wandb_run = None
5757

5858
@classmethod
5959
def from_wandb_run(

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "flaxdiff"
7-
version = "0.2.6"
7+
version = "0.2.6.1"
88
description = "A versatile and easy to understand Diffusion library"
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)