Skip to content

Commit

Permalink
Isort cudo as per pyconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Bihan Rana authored and Bihan Rana committed Mar 13, 2024
1 parent 189e216 commit 9a64a2c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/gpuhunt/providers/cudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from typing import List, Optional, TypeVar, Union

import requests

from gpuhunt import QueryFilter, RawCatalogItem
from gpuhunt._internal.constraints import (KNOWN_GPUS, get_compute_capability,
is_between)
from gpuhunt._internal.constraints import KNOWN_GPUS, get_compute_capability, is_between
from gpuhunt.providers import AbstractProvider

CpuMemoryGpu = namedtuple("CpuMemoryGpu", ["cpu", "memory", "gpu"])
Expand Down
13 changes: 10 additions & 3 deletions src/tests/providers/test_cudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,17 @@
from typing import List

import pytest

from src.gpuhunt.providers.cudo import (
CudoProvider,
get_balanced_disk_size,
get_balanced_memory,
get_memory,
gpu_name,
optimize_offers_with_gpu,
)

from gpuhunt import QueryFilter
from src.gpuhunt.providers.cudo import (CudoProvider, get_balanced_disk_size,
get_balanced_memory, get_memory,
gpu_name, optimize_offers_with_gpu)


@pytest.fixture
Expand Down

0 comments on commit 9a64a2c

Please sign in to comment.