rc-foundry 0.1.9__py3-none-any.whl → 0.1.11__py3-none-any.whl
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.
- foundry/trainers/fabric.py +18 -2
- foundry/utils/components.py +3 -3
- foundry/utils/ddp.py +15 -12
- foundry/utils/xpu/__init__.py +27 -0
- foundry/utils/xpu/single_xpu_strategy.py +47 -0
- foundry/utils/xpu/xpu_accelerator.py +91 -0
- foundry/utils/xpu/xpu_precision.py +72 -0
- foundry/version.py +2 -2
- mpnn/inference_engines/mpnn.py +6 -2
- {rc_foundry-0.1.9.dist-info → rc_foundry-0.1.11.dist-info}/METADATA +11 -1
- {rc_foundry-0.1.9.dist-info → rc_foundry-0.1.11.dist-info}/RECORD +33 -27
- rf3/configs/inference.yaml +5 -0
- rf3/configs/train.yaml +5 -0
- rf3/configs/trainer/xpu.yaml +6 -0
- rf3/configs/validate.yaml +5 -0
- rf3/inference.py +4 -1
- rfd3/configs/dev.yaml +1 -0
- rfd3/configs/inference.yaml +1 -0
- rfd3/configs/train.yaml +2 -1
- rfd3/configs/trainer/xpu.yaml +6 -0
- rfd3/configs/validate.yaml +1 -0
- rfd3/engine.py +14 -7
- rfd3/inference/input_parsing.py +4 -2
- rfd3/inference/symmetry/atom_array.py +9 -78
- rfd3/inference/symmetry/frames.py +0 -248
- rfd3/inference/symmetry/symmetry_utils.py +2 -3
- rfd3/model/inference_sampler.py +3 -1
- rfd3/transforms/hbonds_hbplus.py +52 -49
- rfd3/transforms/symmetry.py +7 -16
- rfd3/utils/inference.py +7 -6
- {rc_foundry-0.1.9.dist-info → rc_foundry-0.1.11.dist-info}/WHEEL +0 -0
- {rc_foundry-0.1.9.dist-info → rc_foundry-0.1.11.dist-info}/entry_points.txt +0 -0
- {rc_foundry-0.1.9.dist-info → rc_foundry-0.1.11.dist-info}/licenses/LICENSE.md +0 -0
rfd3/utils/inference.py
CHANGED
|
@@ -373,12 +373,13 @@ def ensure_inference_sampler_matches_design_spec(
|
|
|
373
373
|
design_spec: Design specification dictionary
|
|
374
374
|
inference_sampler: Inference sampler dictionary
|
|
375
375
|
"""
|
|
376
|
-
has_symmetry_specification = [
|
|
377
|
-
|
|
378
|
-
if
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
376
|
+
has_symmetry_specification = []
|
|
377
|
+
for item in design_spec.values():
|
|
378
|
+
if hasattr(item, "symmetry"):
|
|
379
|
+
has_symmetry = item.symmetry is not None
|
|
380
|
+
else:
|
|
381
|
+
has_symmetry = "symmetry" in item and item.get("symmetry") is not None
|
|
382
|
+
has_symmetry_specification.append(has_symmetry)
|
|
382
383
|
if any(has_symmetry_specification):
|
|
383
384
|
if (
|
|
384
385
|
inference_sampler is None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|