uw-ipd/tmol/tmol-setup

Claude Code and agent skill by uw-ipd/tmol

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Install and verify TMol on CPU or CUDA. Use for wheel selection, source or editable builds, AOT versus JIT extension loading, PyTorch/CUDA compatibility, and import or compiler failures. Do not use for scoring or modeling once an installation already works.

Install

npx vskill@latest install uw-ipd/tmol/tmol-setup

SKILL.md

TMol setup

Produce a verified TMol installation using the least expensive path compatible with the user's Python, PyTorch, platform, and device. Run commands from the TMol repository root only when building a checkout.

This workflow requires Python 3.11+ and PyTorch 2.11+. Source or JIT builds need a C++ compiler; only CUDA source or JIT builds need nvcc.

Select the installation path

  1. Inspect python, torch.__version__, torch.version.cuda, the platform,

and GPU availability before choosing a wheel.

  1. Prefer tmol from PyPI for CPU, or tmol[cu12]/tmol[cu13] with a

matching CUDA-enabled PyTorch major. Production wheels support PyTorch 2.11+ without minor-specific builds; Python/platform tags still apply.

  1. Use pip install tmol when source-distribution fallback behavior is

acceptable.

  1. Use an editable source build for development or an unsupported wheel lane.

CPU is the default; enable CUDA explicitly for development builds.

Read docs/installation.md for current supported lanes and runtime notes before constructing a versioned wheel URL.

Source builds

bash
git clone https://github.com/RosettaCommons/tmol.git
cd tmol
TMOL_DISABLE_WHEEL_FETCH=1 python -m pip install -e ".[dev]"

CPU-only:

bash
TMOL_DISABLE_WHEEL_FETCH=1 python -m pip install -e . \
-Ccmake.define.TMOL_ENABLE_CUDA=OFF

For an existing PyTorch environment, install the small build dependencies and use --no-build-isolation; see docs/user_guide/development.md. Control build parallelism with MAX_JOBS and CUDA compiler parallelism with TMOL_NVCC_THREADS instead of oversubscribing a scheduler allocation.

AOT and JIT loading

Normal wheel installs use ahead-of-time compiled extensions. During kernel development, force source compilation with:

bash
TMOL_USE_JIT=1 python -c "import tmol; print(tmol.__version__)"

Use TMOL_JIT_FALLBACK=1 only when the desired behavior is AOT first and JIT after an AOT load failure. CPU JIT needs a C++ compiler and Ninja; CUDA JIT also needs a compatible nvcc.

Verify

bash
python - <<'PY'
import torch
import tmol
print("tmol", tmol.__version__)
print("torch", torch.__version__)
print("torch CUDA", torch.version.cuda)
print("TMol CUDA kernels", tmol.has_cuda())
print("CUDA available", torch.cuda.is_available())
print("CPU threads", torch.get_num_threads())
PY

For a source checkout, finish with a narrow CPU test before attempting the full suite:

bash
pytest -q tmol/tests/score/test_score_function.py -k "not cuda"

Failure routing

  • Python/platform or CUDA-major mismatch: install a matching wheel rather

than debugging symbols in an incompatible binary.

  • GLIBCXX_* not found: use a newer runtime/compiler or build against the host;

do not copy arbitrary C++ runtime libraries into the package.

  • no CUDA compiler: choose CPU-only or install a toolkit whose nvcc is

compatible with the active PyTorch build.

  • extension changes not appearing: use a fresh TORCH_EXTENSIONS_DIR or rebuild

the editable install, then record which mode was tested.

Do not modify shell startup files, install system packages, or download large toolchains unless the user authorized those environment changes.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/uw-ipd/tmol/tmol-setup/badge)](https://verified-skill.com/skills/uw-ipd/tmol/tmol-setup)

Something wrong with this skill or its page? Tell us.