Skip to content

Commit cf07b34

Browse files
committed
improve: move training dependencies into extras
1 parent 9deebf7 commit cf07b34

File tree

6 files changed

+153
-791
lines changed

6 files changed

+153
-791
lines changed

README.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,8 @@ Install lantern from pypi using pip or poetry:
6666

6767
.. code-block::
6868
69-
poetry add pytorch-lantern
70-
# pip install pytorch-lantern
69+
poetry add pytorch-lantern[training]
70+
71+
.. code-block::
72+
73+
pip install pytorch-lantern[training]

lantern/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from lantern.numpy_seed import numpy_seed
22
from lantern.star import star
33
from lantern.functional_base import FunctionalBase
4-
from lantern.tensor import Tensor
5-
from lantern.numpy import Numpy
4+
from pytorch_types import Tensor
5+
from pytorch_types import Numpy
66
from lantern.epochs import Epochs
77
from lantern.metric import Metric
88
from lantern.metric_table import MetricTable

lantern/numpy.py

Lines changed: 0 additions & 320 deletions
This file was deleted.

0 commit comments

Comments
 (0)