torchsx 0.2.0__tar.gz → 0.2.2__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.
Files changed (131) hide show
  1. {torchsx-0.2.0 → torchsx-0.2.2}/PKG-INFO +2 -1
  2. {torchsx-0.2.0 → torchsx-0.2.2}/pyproject.toml +5 -1
  3. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/__init__.py +1 -1
  4. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/PKG-INFO +2 -1
  5. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/requires.txt +1 -0
  6. {torchsx-0.2.0 → torchsx-0.2.2}/LICENSE +0 -0
  7. {torchsx-0.2.0 → torchsx-0.2.2}/README.md +0 -0
  8. {torchsx-0.2.0 → torchsx-0.2.2}/setup.cfg +0 -0
  9. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_amortized_scale.py +0 -0
  10. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_amortized_training.py +0 -0
  11. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_asym_scatter.py +0 -0
  12. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_average_last.py +0 -0
  13. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_bg_mean_offset.py +0 -0
  14. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_cli_pipeline.py +0 -0
  15. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_cli_production.py +0 -0
  16. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_core.py +0 -0
  17. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_duckdb_load.py +0 -0
  18. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_ewald_offset.py +0 -0
  19. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_filter.py +0 -0
  20. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_fold_transformer.py +0 -0
  21. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_geometry.py +0 -0
  22. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_geometry_reciprocal.py +0 -0
  23. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_grid_tooling.py +0 -0
  24. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_hkl.py +0 -0
  25. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_io.py +0 -0
  26. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_large_batch_diagnostics.py +0 -0
  27. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_lazy_imports.py +0 -0
  28. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_levels.py +0 -0
  29. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_measurement_sources.py +0 -0
  30. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_merge_stats.py +0 -0
  31. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_merging_layers.py +0 -0
  32. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_metadata.py +0 -0
  33. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_native_index.py +0 -0
  34. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_native_parse.py +0 -0
  35. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_observation_filter.py +0 -0
  36. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_peer_features.py +0 -0
  37. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_phase_classes.py +0 -0
  38. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_pooling.py +0 -0
  39. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_posterior_nodes.py +0 -0
  40. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_posterior_prior.py +0 -0
  41. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_posterior_smooth_sigma.py +0 -0
  42. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_prepared_store.py +0 -0
  43. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_pseudo_translation.py +0 -0
  44. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_reciprocal_basis.py +0 -0
  45. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_scatter_mixture.py +0 -0
  46. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_split_gaussian_mean.py +0 -0
  47. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_split_log_grid.py +0 -0
  48. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_split_mixture.py +0 -0
  49. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_stateless_merge.py +0 -0
  50. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_stats.py +0 -0
  51. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_stream.py +0 -0
  52. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_structured_prior.py +0 -0
  53. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_tether.py +0 -0
  54. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_train_schedule.py +0 -0
  55. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_wilson_surface.py +0 -0
  56. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_writeback.py +0 -0
  57. {torchsx-0.2.0 → torchsx-0.2.2}/tests/test_writeback_native.py +0 -0
  58. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/_categorical.py +0 -0
  59. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/_core.py +0 -0
  60. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/__init__.py +0 -0
  61. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/_pipeline.py +0 -0
  62. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/merge_nn.py +0 -0
  63. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/merge_stats.py +0 -0
  64. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/stats.py +0 -0
  65. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/cli/train.py +0 -0
  66. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/geometry.py +0 -0
  67. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/__init__.py +0 -0
  68. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_crystfel.py +0 -0
  69. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_duckdb.py +0 -0
  70. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_metadata.py +0 -0
  71. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_native.py +0 -0
  72. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_parser.py +0 -0
  73. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_safetensors.py +0 -0
  74. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/_writeback.py +0 -0
  75. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/sources.py +0 -0
  76. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/io/times.py +0 -0
  77. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/levels.py +0 -0
  78. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/measurement.py +0 -0
  79. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merge_stats.py +0 -0
  80. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/__init__.py +0 -0
  81. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/config.py +0 -0
  82. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/hkl/__init__.py +0 -0
  83. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/hkl/filter.py +0 -0
  84. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/hkl/hkl.py +0 -0
  85. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/hkl/noise.py +0 -0
  86. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/hkl/stats.py +0 -0
  87. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/likelihood/__init__.py +0 -0
  88. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/likelihood/base.py +0 -0
  89. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/likelihood/detector_noise.py +0 -0
  90. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/likelihood/poisson.py +0 -0
  91. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/observations.py +0 -0
  92. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/prepare_store.py +0 -0
  93. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/priors/__init__.py +0 -0
  94. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/priors/modulation.py +0 -0
  95. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/priors/reciprocal_basis.py +0 -0
  96. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/__init__.py +0 -0
  97. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/_posterior_nodes_triton.py +0 -0
  98. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/_split_log_grid_triton.py +0 -0
  99. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/_split_mixture_triton.py +0 -0
  100. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/base.py +0 -0
  101. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/quadrature/split_log_grid.py +0 -0
  102. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scale/__init__.py +0 -0
  103. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scale/amortized.py +0 -0
  104. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scale/pseudo_translation.py +0 -0
  105. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scatter/__init__.py +0 -0
  106. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scatter/base.py +0 -0
  107. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scatter/gengauss.py +0 -0
  108. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scatter/mixture.py +0 -0
  109. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/scatter/predicted.py +0 -0
  110. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/store.py +0 -0
  111. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/tether/__init__.py +0 -0
  112. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/tether/batch.py +0 -0
  113. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/tether/kmean.py +0 -0
  114. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/tether/terms.py +0 -0
  115. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/merging/tether/tether.py +0 -0
  116. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/__init__.py +0 -0
  117. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/fold_transformer.py +0 -0
  118. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/heads.py +0 -0
  119. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/merge_target.py +0 -0
  120. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/metrics.py +0 -0
  121. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/objective.py +0 -0
  122. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/obs_features.py +0 -0
  123. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/pooling.py +0 -0
  124. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/posterior_target.py +0 -0
  125. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/nn/train_amortized.py +0 -0
  126. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/stats.py +0 -0
  127. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx/stream.py +0 -0
  128. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/SOURCES.txt +0 -0
  129. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/dependency_links.txt +0 -0
  130. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/entry_points.txt +0 -0
  131. {torchsx-0.2.0 → torchsx-0.2.2}/torchsx.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: torchsx
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A PyTorch-based scaling and merging library for serial crystallography
5
5
  Author: Hans Peter Seidel
6
6
  License-Expression: MIT
@@ -13,6 +13,7 @@ Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: torchref<0.8,>=0.7.0
16
+ Requires-Dist: torch==2.9.*
16
17
  Requires-Dist: numpy>=2
17
18
  Requires-Dist: safetensors>=0.4
18
19
  Requires-Dist: matplotlib>=3.7
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "torchsx"
7
- version = "0.2.0"
7
+ version = "0.2.2"
8
8
  description = "A PyTorch-based scaling and merging library for serial crystallography"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -21,6 +21,10 @@ dependencies = [
21
21
  # Brings torch, triton and gemmi. TorchRef's minor releases change its API,
22
22
  # so the bound follows the minor version torchsx is tested against.
23
23
  "torchref>=0.7.0,<0.8",
24
+ # The compiled fold encoder is version-sensitive: torch 2.13's inductor fails
25
+ # on its backward pass (CantSplit) and 2.11 fails too. Pinned to 2.9, the
26
+ # minor version it is known to train with.
27
+ "torch==2.9.*",
24
28
  "numpy>=2", # the Python writer's float32 arithmetic (NEP 50)
25
29
  "safetensors>=0.4", # the .sfx working format
26
30
  "matplotlib>=3.7", # the figures of torchsx.observation-stats and torchsx.merge-stats
@@ -5,7 +5,7 @@ parse their arguments (and answer ``--help``) without importing torch.
5
5
  """
6
6
  import importlib
7
7
 
8
- __version__ = "0.2.0"
8
+ __version__ = "0.2.2"
9
9
 
10
10
  _EXPORTS = {
11
11
  "SFXStream": "torchsx.stream",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: torchsx
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A PyTorch-based scaling and merging library for serial crystallography
5
5
  Author: Hans Peter Seidel
6
6
  License-Expression: MIT
@@ -13,6 +13,7 @@ Requires-Python: >=3.10
13
13
  Description-Content-Type: text/markdown
14
14
  License-File: LICENSE
15
15
  Requires-Dist: torchref<0.8,>=0.7.0
16
+ Requires-Dist: torch==2.9.*
16
17
  Requires-Dist: numpy>=2
17
18
  Requires-Dist: safetensors>=0.4
18
19
  Requires-Dist: matplotlib>=3.7
@@ -1,4 +1,5 @@
1
1
  torchref<0.8,>=0.7.0
2
+ torch==2.9.*
2
3
  numpy>=2
3
4
  safetensors>=0.4
4
5
  matplotlib>=3.7
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes