geneflowdecoder 0.1.5__tar.gz → 0.1.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geneflowdecoder
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Gene Transformer + Conditional Rectified Flow decoder from cell-state z to log1p expression X.
5
5
  Author: GeneFlowDecoder Contributors
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "geneflowdecoder"
3
- version = "0.1.5"
3
+ version = "0.1.6"
4
4
  description = "Gene Transformer + Conditional Rectified Flow decoder from cell-state z to log1p expression X."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
@@ -276,15 +276,6 @@ class GeneFlowDecoder(nn.Module):
276
276
 
277
277
  self._gene_ids = nn.Parameter(torch.arange(self.n_genes), requires_grad=False)
278
278
 
279
- # 构造期自检:shape 链断在这里,而不是 136 个 batch 之后
280
- with torch.no_grad():
281
- _gdummy = self.vel_proj(torch.zeros(2, min(self.n_genes, 8), d))
282
- if _gdummy.shape != (2, min(self.n_genes, 8)):
283
- raise RuntimeError(
284
- f"vel_proj 配置错误: 输出 {tuple(_gdummy.shape)}, "
285
- f"期望 (2, {min(self.n_genes, 8)})。vel_proj 必须是 nn.Linear(d, 1)"
286
- )
287
-
288
279
  self.to(self.device)
289
280
 
290
281
  # --------------------------------------------------------
@@ -1,2 +1,2 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = "0.1.5"
2
+ __version__ = "0.1.6"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geneflowdecoder
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Gene Transformer + Conditional Rectified Flow decoder from cell-state z to log1p expression X.
5
5
  Author: GeneFlowDecoder Contributors
6
6
  License: MIT
File without changes