From 615120db735a651020485bc4b4373bc6229c0740 Mon Sep 17 00:00:00 2001 From: Tuan Tran <{ID}+{username}@users.noreply.github.com> Date: Fri, 3 Jan 2025 10:00:09 +0100 Subject: [PATCH] lint --- src/fairseq2/models/jepa/loader.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fairseq2/models/jepa/loader.py b/src/fairseq2/models/jepa/loader.py index 64ce178a7..046806d71 100644 --- a/src/fairseq2/models/jepa/loader.py +++ b/src/fairseq2/models/jepa/loader.py @@ -6,8 +6,7 @@ from __future__ import annotations -from pathlib import Path -from typing import Any, cast +from typing import Any import torch @@ -20,7 +19,6 @@ ) from fairseq2.models.loader import StandardModelLoader from fairseq2.models.utils.checkpoint import convert_model_state_dict -from fairseq2.utils.file import MapLocation, load_tensors load_jepa_config = StandardModelConfigLoader(JEPA_FAMILY, JepaConfig, jepa_archs)