We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c91daac commit f1ce1eaCopy full SHA for f1ce1ea
lit_stablelm/__init__.py
@@ -1,2 +1,10 @@
1
from lit_stablelm.model import StableLMConfig, StableLM, build_rope_cache, apply_rope
2
from lit_stablelm.tokenizer import Tokenizer
3
+
4
+from lightning_utilities.core.imports import RequirementCache
5
6
+if not bool(RequirementCache("torch>=2.1.0dev")):
7
+ raise ImportError(
8
+ "Lit-StableLM requires torch nightly (future torch 2.1). Please follow the installation instructions in the"
9
+ " repository README.md"
10
+ )
0 commit comments