We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21fd848 + 31ddd32 commit aaa90a7Copy full SHA for aaa90a7
2 files changed
pyproject.toml
@@ -6,7 +6,7 @@ line-length=79
6
7
[tool.poetry]
8
name = "turftopic"
9
-version = "0.5.3"
+version = "0.5.4"
10
description = "Topic modeling with contextual representations from sentence transformers."
11
authors = ["Márton Kardos <power.up1163@gmail.com>"]
12
license = "MIT"
turftopic/models/ctm.py
@@ -213,9 +213,7 @@ def fit(
213
seed = self.random_state or random.randint(0, 10_000)
214
torch.manual_seed(seed)
215
pyro.set_rng_seed(seed)
216
- device = torch.device(
217
- "cuda:0" if torch.cuda.is_available() else "cpu"
218
- )
+ device = torch.device("cpu")
219
pyro.clear_param_store()
220
contextualized_size = embeddings.shape[1]
221
if self.combined:
0 commit comments