인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

backend-and-configuration

backend-and-configuration

Install and select DeepXDE tensor backends and configure dtype, autodiff, random seed, XLA, GPU, and parallel settings.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: backend-and-configuration description: "Install and select DeepXDE tensor backends and configure dtype, autodiff, random seed, XLA, GPU, and parallel settings." disable-model-invocation: true metadata: disco-role: operating license: LGPL 2.1

DeepXDE backend and configuration

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.

Fast path

  1. Select the backend before importing DeepXDE:
    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
    
  2. Run the diagnostic helper when imports or devices are uncertain:
    python scripts/check_backend.py --backend pytorch
    python scripts/check_backend.py --backend tensorflow --json
    
  3. Apply configuration immediately after importing DeepXDE and before constructing data, networks, or models:
    dde.config.set_default_float("float32")
    dde.config.set_random_seed(1234)
    dde.config.set_default_autodiff("reverse")
    

Runtime references

Route out of this sub-skill

Operating rules

  • Do not rely on backend auto-detection in reproducible scripts. Set DDE_BACKEND explicitly or set the saved DeepXDE config.
  • Backend selection is resolved during import. Changing DDE_BACKEND after import deepxde is too late for the current process.
  • Prefer pytorch for CPU-safe examples in this generated skill unless the user explicitly requests another backend and the required package set is installed.
  • Never claim GPU, Horovod, TensorFlow, JAX, or PaddlePaddle verification from this skill alone. Use the diagnostic script and environment-specific tests first.
저장한 Skills