check-env

Validate conda, Python, and CUDA setup for LMDeploy environments.

8.0k|721|Updated Jun 15, 2023
One-click install
npx skills add https://github.com/InternLM/lmdeploy --skill check-env-internlm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: check-env
Source: https://github.com/InternLM/lmdeploy/tree/main/.claude/skills/check-env
Command: npx skills add https://github.com/InternLM/lmdeploy --skill check-env-internlm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures LMDeploy development environments are correctly set up, preventing runtime failures caused by missing dependencies, incorrect paths, or misconfigured toolchains.

Core Features & Use Cases

  • Environment validation: checks conda activation, Python importability, and CUDA availability.
  • Troubleshooting guidance: provides actionable steps to resolve common setup issues.
  • Reproducible setup: helps teams reproduce a consistent dev environment across machines.

Quick Start

Activate your conda environment, install the package in editable mode if needed, and verify that importing lmdeploy works.

Frequently Asked Questions about check-env

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate my LMDeploy development environment?

To validate your LMDeploy development environment, the Skill checks conda activation, verifies Python importability for the lmdeploy package, and ensures CUDA compatibility to prevent runtime failures.

Why does importing lmdeploy fail in my conda environment?

Importing lmdeploy often fails due to incorrect conda environment activation, missing dependencies, or misconfigured toolchains; this Skill identifies these exact setup issues and provides actionable remediation steps.

How do I check CUDA compatibility for LMDeploy testing?

You can check CUDA compatibility for LMDeploy testing by running this Skill, which validates CUDA availability and enforces documented dependencies to ensure reliable setup across local machines and CI.

Can I use this environment readiness check for CI workflows?

Yes, you can use this environment readiness check for CI workflows because it enforces dependencies documented in SKILL.md, ensuring reproducible setup and consistent dev environments across teams and automated systems.

What is the best way to troubleshoot local Python setup issues for LMDeploy?

The best way to troubleshoot local Python setup issues for LMDeploy is to verify environment readiness by checking conda activation, Python importability, and CUDA compatibility to receive actionable resolution guidance.

LMDeploy runtime failures caused by missing dependencies, how to fix?

To fix LMDeploy runtime failures caused by missing dependencies, validate your local development environment to identify incorrect paths or missing toolchains and follow the provided actionable steps to resolve setup issues.