executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
backend-and-configurationInstall and select DeepXDE tensor backends and configure dtype, autodiff, random seed, XLA, GPU, and parallel settings.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about choosing or diagnosing a DeepXDE tensor backend, installing backend-specific dependencies, or configuring dde.config settings such as dtype, autodiff mode, random seed, XLA, and parallel scaling.
This construction verified DeepXDE with the PyTorch backend on CPU. TensorFlow, JAX, PaddlePaddle, GPU, Horovod, and MPI paths are supported by DeepXDE but were not runtime-verified here; treat them as optional/alternative paths until checked in the target environment.
DDE_BACKEND=pytorch python your_script.py
or, inside Python before import deepxde:
import os
os.environ.setdefault("DDE_BACKEND", "pytorch")
import deepxde as dde
python scripts/check_backend.py --backend pytorch
python scripts/check_backend.py --backend tensorflow --json
dde.config.set_default_float("float32")
dde.config.set_random_seed(1234)
dde.config.set_default_autodiff("reverse")
Model.compile, training loops, callbacks, checkpoints, metrics, and predictions: ../training-workflows/SKILL.mdDDE_BACKEND explicitly or set the saved DeepXDE config.DDE_BACKEND after import deepxde is too late for the current process.pytorch for CPU-safe examples in this generated skill unless the user explicitly requests another backend and the required package set is installed.