Skip to content

Commit

Permalink
add back two import
Browse files Browse the repository at this point in the history
  • Loading branch information
t-vi committed Sep 13, 2024
1 parent abe05ed commit 4ba4848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
from unittest.mock import MagicMock
from tests.conftest import RunIf

from lightning.fabric.accelerators import CUDAAccelerator
if sys.platform != "darwin":
from lightning.fabric.accelerators import CUDAAccelerator
from litgpt.api import (
LLM,
calculate_number_of_devices,
benchmark_dict_to_markdown_table
)

from litgpt.scripts.download import download_from_hub
from litgpt.scripts.download import download_from_hub



Expand Down

0 comments on commit 4ba4848

Please sign in to comment.