Skip to content

Commit

Permalink
remove importing fp8 modules in fp8's __init__ because it causes cicd…
Browse files Browse the repository at this point in the history
… to fail
  • Loading branch information
xrsrke committed Jan 17, 2025
1 parent f70230e commit 7c7949c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/nanotron/fp8/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
import warnings

from nanotron.fp8.dtypes import DTypes # noqa
from nanotron.fp8.linear import FP8Linear # noqa
from nanotron.fp8.tensor import FP8Tensor # noqa

try:
import transformer_engine as te # noqa
import transformer_engine_torch as tex # noqa
except ImportError:
warnings.warn("Please install Transformer engine for FP8 training!")

0 comments on commit 7c7949c

Please sign in to comment.