Commit History

Update start.sh
5430a95
verified

euIaxs22 commited on

Update app_vince.py
632bee9
verified

euIaxs22 commited on

Update app_vince.py
4300251
verified

euIaxs22 commited on

Update services/vince_server.py
c0c1883
verified

euIaxs22 commited on

Update services/vincie.py
954d4de
verified

euIaxs22 commited on

Update services/vincie.py
3b81c49
verified

euIaxs22 commited on

Update services/vincie.py
4aa01e3
verified

euIaxs22 commited on

Update services/vincie.py
bfde18e
verified

euIaxs22 commited on

Update app_vince.py
e61ac24
verified

euIaxs22 commited on

Update app_vince.py
2712d21
verified

euIaxs22 commited on

Update services/vincie.py
95363c6
verified

euIaxs22 commited on

Update app_vince.py
e1676e0
verified

euIaxs22 commited on

Update start.sh
9261994
verified

euIaxs22 commited on

Update start.sh
3806d91
verified

euIaxs22 commited on

Update app_vince.py
ec7d76b
verified

euIaxs22 commited on

Update app_vince.py
6ce30c1
verified

euIaxs22 commited on

Update start.sh
78b7bc4
verified

euIaxs22 commited on

Update start.sh
cc2243a
verified

euIaxs22 commited on

Update Dockerfile
af2c3fd
verified

euIaxs22 commited on

Update app_vince.py
13e6a77
verified

euIaxs22 commited on

Update start.sh
d1f2745
verified

euIaxs22 commited on

Update start.sh
7304e23
verified

euIaxs22 commited on

Create vince_server.py
ed81d43
verified

euIaxs22 commited on

Delete services/# services
13d78bf
verified

euIaxs22 commited on

Create # services/vince_server.py from common.config import load_config, create_object from pathlib import Path import gc, torch class VinceSingleton: def __init__(self, config_path: str, overrides: list[str]): self.config = load_config(config_path, overrides) self.gen = create_object(self.config) self.gen.configure_persistence() self.gen.configure_models() self.gen.configure_diffusion() def _set_steps(self, steps: int | None): if steps and hasattr(self.gen, "sampler") and hasattr(self.gen.sampler, "timesteps"): ts = self.gen.sampler.timesteps if hasattr(ts, "__len__") and len(ts) > 0: steps = min(int(steps), len(ts)) if steps < len(ts): idx = torch.linspace(0, len(ts) - 1, steps).round().long().tolist() self.gen.sampler.timesteps = [ts[i] for i in idx] def generate_multi_turn(self, image_path, turns, out_dir, *, steps=None, cfg_scale=None, aspect_ratio=None, resolution=None): g = self.gen.config.generation g.output.dir = str(out_dir) g.positive_prompt = {"image_path": [str(image_path)], "prompts": list(turns)} if cfg_scale is not None: g.cfg_scale = float(cfg_scale) if aspect_ratio is not None: g.aspect_ratio = str(aspect_ratio) if resolution is not None: g.resolution = int(resolution) self._set_steps(steps) self.gen.inference_loop() try: torch.cuda.synchronize() except Exception: pass gc.collect() try: torch.cuda.empty_cache() torch.cuda.memory.reset_peak_memory_stats() except Exception: pass return str(out_dir)
93dfa8b
verified

euIaxs22 commited on

Update Dockerfile
ffd9da7
verified

euIaxs22 commited on

Update Dockerfile
385e8d9
verified

euIaxs22 commited on

Update start.sh
66c3dde
verified

euIaxs22 commited on

Create app_vince.py
fc8e69c
verified

euIaxs22 commited on

Rename app_vince.py to app_vince.py2
954df00
verified

euIaxs22 commited on

Update services/vincie.py
9342209
verified

euIaxs22 commited on

Update app_seedvr.py
3c4ad98
verified

euIaxs22 commited on

Update app_vince.py
be0cee3
verified

euIaxs22 commited on

Update app_vince.py
28eef4f
verified

euIaxs22 commited on

Update app_vince.py
63e5350
verified

euIaxs22 commited on

Update app_vince.py
6f8f97c
verified

euIaxs22 commited on

Update start.sh
1433526
verified

euIaxs22 commited on

Update app_vince.py
ed9ab57
verified

euIaxs22 commited on

Update app_vince.py
6c5218f
verified

euIaxs22 commited on

Update app_vince.py
2d1e49e
verified

euIaxs22 commited on

Update app_vince.py
75e5c38
verified

euIaxs22 commited on

Update app_vince.py
a03842d
verified

euIaxs22 commited on

Update app_vince.py
22fbbe5
verified

euIaxs22 commited on

Update app_vince.py
072762b
verified

euIaxs22 commited on

Update app_vince.py
c5f8f57
verified

euIaxs22 commited on

Update app_vince.py
dfa7d4d
verified

euIaxs22 commited on

Update start.sh
3a7411b
verified

euIaxs22 commited on

Update services/vincie.py
229ee14
verified

euIaxs22 commited on

Update services/vincie.py
03707fa
verified

euIaxs22 commited on

Update services/vincie.py
921d67d
verified

euIaxs22 commited on