Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v5

- name: Auth with GCP
uses: google-github-actions/auth@v2
uses: google-github-actions/auth@v3
with:
credentials_json: ${{ secrets.GCLOUD_SERVICE_KEY }}

Expand Down
3 changes: 1 addition & 2 deletions src/ml_ops/link_best_model.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Takes a sweep ID, finds the best run, and links its model artifact to a model registry.

import typer
from loguru import logger

import wandb
from loguru import logger

app = typer.Typer()

Expand Down
1 change: 0 additions & 1 deletion src/ml_ops/link_model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os

import typer

import wandb


Expand Down
3 changes: 1 addition & 2 deletions src/ml_ops/promote_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import operator

import typer
from dotenv import load_dotenv

import wandb
from dotenv import load_dotenv

# Initialize Typer app
app = typer.Typer()
Expand Down
2 changes: 1 addition & 1 deletion src/ml_ops/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import hydra
import matplotlib.pyplot as plt
import torch
import wandb
from dotenv import load_dotenv
from hydra.utils import instantiate
from loguru import logger
Expand All @@ -13,7 +14,6 @@
from torch.utils.data import DataLoader
from torchvision.utils import make_grid

import wandb
from ml_ops.data import corrupt_mnist
from ml_ops.device import DEVICE
from ml_ops.model import MyAwesomeModel
Expand Down
2 changes: 1 addition & 1 deletion src/ml_ops/train_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import matplotlib.pyplot as plt
import torch
import typer
import wandb
from dotenv import load_dotenv
from hydra.utils import instantiate
from loguru import logger
Expand All @@ -16,7 +17,6 @@
from torch.utils.data import DataLoader
from torchvision.utils import make_grid

import wandb
from ml_ops.data import corrupt_mnist
from ml_ops.device import DEVICE
from ml_ops.model import MyAwesomeModel
Expand Down
2 changes: 1 addition & 1 deletion tests/performancetests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import time

import torch

import wandb

from ml_ops.model import MyAwesomeModel


Expand Down
Loading