fastmixture2 2.0.6__tar.gz → 2.0.7__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.
- {fastmixture2-2.0.6/fastmixture2.egg-info → fastmixture2-2.0.7}/PKG-INFO +4 -3
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/README.md +3 -2
- fastmixture2-2.0.7/fastmixture2/__init__.py +1 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/functions.py +1 -1
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/gpu.py +264 -73
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/kernels.py +15 -13
- fastmixture2-2.0.7/fastmixture2/plink.py +142 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/shared.pyx +108 -22
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/svd.pyx +30 -7
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/utils.py +23 -21
- {fastmixture2-2.0.6 → fastmixture2-2.0.7/fastmixture2.egg-info}/PKG-INFO +4 -3
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/check_portable.py +4 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_cpu_scaling.py +4 -4
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_cpu_subset.py +62 -4
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_genotypes.py +28 -1
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_called.py +19 -5
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_gl_precision.py +17 -10
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_modes.py +11 -2
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_streamed.py +222 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_subset.py +85 -2
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_svd_cache.py +4 -8
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_initialization.py +2 -2
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_likelihoods.py +20 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_numerical_equivalence.py +3 -5
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_plink_files.py +56 -71
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_subset_modes.py +49 -1
- fastmixture2-2.0.6/fastmixture2/__init__.py +0 -1
- fastmixture2-2.0.6/fastmixture2/plink.py +0 -148
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/LICENSE +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/MANIFEST.in +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/defaults.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/em.pyx +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/fastmixture2.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/main.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/packed.pxd +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/sqp.pyx +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2/threads.pxd +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2.egg-info/SOURCES.txt +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2.egg-info/dependency_links.txt +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2.egg-info/entry_points.txt +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2.egg-info/requires.txt +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/fastmixture2.egg-info/top_level.txt +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/pyproject.toml +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/setup.cfg +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/setup.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/helpers.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/run_tests.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_adversarial_io.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_bootstrap.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_cli.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_convergence.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_cross_validation.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_distribution.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_frequency_cache.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_em.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_large.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_precision.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_safety.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_stat_reuse.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_gpu_supervision.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_optimizers.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_q_constraints.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_restarts.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_sqp_scoring.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_sqp_solver.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/test_threads.py +0 -0
- {fastmixture2-2.0.6 → fastmixture2-2.0.7}/tests/validate_distribution.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastmixture2
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: Biobank-scale ancestry estimation in unrelated individuals
|
|
5
5
|
Author-email: "J. Meisner" <meisnerucph@gmail.com>, "L. Thunegard" <lisathunegard@icloud.com>
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -158,8 +158,9 @@ rescue and float64 likelihood checks. CPU fitting uses float64. CUDA uses
|
|
|
158
158
|
mixed precision followed by float64 refinement.
|
|
159
159
|
|
|
160
160
|
Processing uses bounded tiles. Total memory still grows with panel size and K.
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
Initialization subsets use memory-mapped temporary files when needed. Temporary
|
|
162
|
+
files use `TMPDIR`. For large panels, point it to disk-backed scratch with
|
|
163
|
+
sufficient space.
|
|
163
164
|
|
|
164
165
|
The defaults are `--threads 1`, `--seed 42`, `--iter 1000` and `--tole 1e-10`.
|
|
165
166
|
`--threads` also controls CPU work during GPU fits.
|
|
@@ -127,8 +127,9 @@ rescue and float64 likelihood checks. CPU fitting uses float64. CUDA uses
|
|
|
127
127
|
mixed precision followed by float64 refinement.
|
|
128
128
|
|
|
129
129
|
Processing uses bounded tiles. Total memory still grows with panel size and K.
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
Initialization subsets use memory-mapped temporary files when needed. Temporary
|
|
131
|
+
files use `TMPDIR`. For large panels, point it to disk-backed scratch with
|
|
132
|
+
sufficient space.
|
|
132
133
|
|
|
133
134
|
The defaults are `--threads 1`, `--seed 42`, `--iter 1000` and `--tole 1e-10`.
|
|
134
135
|
`--threads` also controls CPU work during GPU fits.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.7"
|
|
@@ -524,7 +524,7 @@ def sqpMap(G, P, Q, P_out, Q_out, S, y=None, markers=None, weights=None, score=F
|
|
|
524
524
|
and (
|
|
525
525
|
not g.flags.writeable
|
|
526
526
|
if rows is None
|
|
527
|
-
else all(not x.flags.writeable for x in G["data"]
|
|
527
|
+
else all(not x.flags.writeable for x in G["data"]["parts"])
|
|
528
528
|
)
|
|
529
529
|
)
|
|
530
530
|
if hint:
|