Skip to content

Commit

Permalink
lowercase logger
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Jun 12, 2024
1 parent 5218ef6 commit 4e8911e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/app/preprocessing/ray_model_worker/models/cota.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

SHARED_REPO_ROOT: Path = Path(conf.repo_root)

LOGGER = logging.getLogger("ray.serve")
logger = logging.getLogger("ray.serve")

cota_conf: Dict = build_ray_model_deployment_config("cota")

Expand Down Expand Up @@ -92,7 +92,7 @@ def __finetune(self, input: RayCOTAJobInput) -> Tuple[SetFitModel, List[str]]:
)

# 2. load a SetFit model from Hub
LOGGER.info(f"Loading COTA model {MODEL} on {DEVICE}")
logger.info(f"Loading COTA model {MODEL} on {DEVICE}")
model = SetFitModel.from_pretrained(MODEL, device=DEVICE)

# 3. init training
Expand Down

0 comments on commit 4e8911e

Please sign in to comment.