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 1a1e448 commit 3a724f5Copy full SHA for 3a724f5
galai/__init__.py
@@ -71,7 +71,7 @@ def load_model(
71
dtype = default_dtype
72
73
if isinstance(dtype, str):
74
- dtype = getattr(torch, "float16", None)
+ dtype = getattr(torch, dtype, None)
75
if dtype not in (torch.float16, torch.float32, torch.bfloat16):
76
raise ValueError(
77
f"Unsupported dtype: {dtype}"
setup.py
@@ -1,7 +1,7 @@
1
from setuptools import setup, find_packages
2
3
PACKAGE_NAME = 'galai'
4
-VERSION = "1.1.6"
+VERSION = "1.1.7.dev0"
5
DESCRIPTION = "API for the GALACTICA model"
6
KEYWORDS = "Scientific Intelligence"
7
URL = 'https://github.com/paperswithcode/galai'
0 commit comments