faster-diffbloch 0.2.1__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.
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/PKG-INFO +1 -1
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/pyproject.toml +1 -1
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/__init__.py +1 -1
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/cli.py +4 -2
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/.gitignore +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/LICENSE +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/README.md +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/hatch_build.py +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/backend.py +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/builder.py +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/batch_cgemm.c +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/batch_cgemm.h +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/batch_cgemm.metal +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/bridge_lib.c +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/metal_batch_cgemm.m +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/native_scattering.c +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/native_scattering.h +0 -0
- {faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/scattering.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: faster-diffbloch
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Drop-in Metal GPU (macOS) and optimized CPU (macOS/Linux) acceleration for diffBloch
|
|
5
5
|
Project-URL: Homepage, https://godofecht.github.io/diffFlow/
|
|
6
6
|
Project-URL: Documentation, https://godofecht.github.io/diffFlow/
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "faster-diffbloch"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Drop-in Metal GPU (macOS) and optimized CPU (macOS/Linux) acceleration for diffBloch"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -20,9 +20,11 @@ def _default_device(argv: list[str]) -> list[str]:
|
|
|
20
20
|
transport for the native Metal and CPU paths, and it also avoids MPS float64 restrictions.
|
|
21
21
|
An explicit ``--device`` remains authoritative for callers that need another torch device.
|
|
22
22
|
"""
|
|
23
|
-
if not argv or argv[0] not in {
|
|
23
|
+
if not argv or argv[0] not in {
|
|
24
|
+
"infer", "preprocess", "refine", "converge", "convergence-test"
|
|
25
|
+
}:
|
|
24
26
|
return argv
|
|
25
|
-
if "--device" in argv:
|
|
27
|
+
if any(arg == "--device" or arg.startswith("--device=") for arg in argv):
|
|
26
28
|
return argv
|
|
27
29
|
return [argv[0], "--device", "cpu", *argv[1:]]
|
|
28
30
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/batch_cgemm.metal
RENAMED
|
File without changes
|
|
File without changes
|
{faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/metal_batch_cgemm.m
RENAMED
|
File without changes
|
{faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/native_scattering.c
RENAMED
|
File without changes
|
{faster_diffbloch-0.2.1 → faster_diffbloch-0.2.2}/src/faster_diffbloch/native/native_scattering.h
RENAMED
|
File without changes
|
|
File without changes
|