Skip to content

Commit 2280f3e

Browse files
Bump tornado from 6.2 to 6.3.2 (#358)
* Bump tornado from 6.2 to 6.3.2 Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.2 to 6.3.2. - [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst) - [Commits](tornadoweb/tornado@v6.2.0...v6.3.2) --- updated-dependencies: - dependency-name: tornado dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Apply Code Formatter Change --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com> Co-authored-by: Ftps <[email protected]>
1 parent 7816761 commit 2280f3e

File tree

4 files changed

+20
-19
lines changed

4 files changed

+20
-19
lines changed

gui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ def infer(self, feats: torch.Tensor) -> np.ndarray:
159159
torch.cuda.synchronize()
160160
with torch.no_grad():
161161
logits = self.model.extract_features(**inputs)
162-
feats = self.model.final_proj(logits[0]) if self.version == "v1" else logits[0]
162+
feats = (
163+
self.model.final_proj(logits[0]) if self.version == "v1" else logits[0]
164+
)
163165

164166
####索引优化
165167
try:

poetry.lock

Lines changed: 15 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tensorboard-data-server = "^0.7.0"
4040
tensorboard-plugin-wit = "^1.8.1"
4141
torchgen = "^0.0.1"
4242
tqdm = "^4.65.0"
43-
tornado = "^6.2"
43+
tornado = "^6.3"
4444
Werkzeug = "^2.2.3"
4545
uc-micro-py = "^1.0.1"
4646
sympy = "^1.11.1"

train_nsf_sim_cache_sid_load_pretrain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,5 +581,5 @@ def train_and_evaluate(
581581

582582

583583
if __name__ == "__main__":
584-
torch.multiprocessing.set_start_method('spawn')
584+
torch.multiprocessing.set_start_method("spawn")
585585
main()

0 commit comments

Comments
 (0)