Skip to content

Commit

Permalink
move imports
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Jawa <[email protected]>
  • Loading branch information
VibhuJawa committed Oct 3, 2024
1 parent 69d306e commit f18d018
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/op/test_fit_memory_estimate.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import pytest
from sklearn.linear_model import LinearRegression

from crossfit.backend.torch.hf.memory_curve_utils import fit_memory_estimate_curve

transformers = pytest.importorskip("transformers")
torch = pytest.importorskip("torch")
rmm_torch_allocator = pytest.importorskip(
"rmm.allocators.torch", reason="rmm_torch_allocator is not available."
).rmm_torch_allocator
rmm_torch_allocator = pytest.importorskip("rmm.allocators.torch").rmm_torch_allocator
fit_memory_estimate_curve = pytest.importorskip(
"crossfit.backend.torch.hf.memory_curve_utils"
).fit_memory_estimate_curve

MODEL_NAME = "microsoft/deberta-v3-base"

Expand Down

0 comments on commit f18d018

Please sign in to comment.