Skip to content

Commit c997709

Browse files
committed
fix
1 parent a87c7d7 commit c997709

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

fastvideo/distill/solver.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,6 @@ def __init__(self, sigmas, timesteps=1000, euler_timesteps=50):
248248
self.sigmas = sigmas[self.euler_timesteps]
249249
self.sigmas_prev = np.asarray([sigmas[0]] +
250250
sigmas[self.euler_timesteps[:-1]].tolist()) # either use sigma0 or 0
251-
print(f"sigmas: {sigmas}")
252-
print(f"euler_timesteps: {self.euler_timesteps}")
253-
print(f"sigmas: {self.sigmas}")
254-
print(f"sigmas_prev: {self.sigmas_prev}")
255-
256251
self.euler_timesteps = torch.from_numpy(self.euler_timesteps).long()
257252
self.euler_timesteps_prev = torch.from_numpy(self.euler_timesteps_prev).long()
258253
self.sigmas = torch.from_numpy(self.sigmas)

fastvideo/v1/models/loader/component_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ class TransformerLoader(ComponentLoader):
367367
def load(self, model_path: str, architecture: str,
368368
fastvideo_args: FastVideoArgs):
369369
"""Load the transformer based on the model path, architecture, and inference args."""
370-
print(f"Loading transformer from {model_path}")
370+
logger.info("Loading transformer from %s", model_path)
371371
config = get_diffusers_config(model=model_path)
372372
hf_config = deepcopy(config)
373373
cls_name = config.pop("_class_name")

0 commit comments

Comments
 (0)