> ## Documentation Index
> Fetch the complete documentation index at: https://phyai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 欢迎使用 PhyAI

> 一起让 AGI 照进现实！

export const SetupCard = ({rows = {}}) => {
  const entries = Object.entries(rows);
  const [selections, setSelections] = useState(() => Object.fromEntries(entries.map(([key]) => [key, 0])));
  const isTuple = option => Array.isArray(option);
  const labelOf = option => isTuple(option) ? option[0] : option;
  let command = "";
  for (const [key, options] of entries) {
    if (options.length > 0 && isTuple(options[0])) {
      const index = selections[key] ?? 0;
      command = options[index]?.[1] || "";
      break;
    }
  }
  const setSelection = (key, index) => {
    setSelections(previous => ({
      ...previous,
      [key]: index
    }));
  };
  return <div className="phyai-setup-card not-prose">
            {entries.map(([key, options]) => {
    const selectedIndex = selections[key] ?? 0;
    const interactive = options.length > 1;
    return <div key={key} className="phyai-setup-card__row">
                        <div className="phyai-setup-card__label">{key}</div>
                        <div className="phyai-setup-card__options" role="group" aria-label={key}>
                            {options.map((option, index) => {
      const label = labelOf(option);
      const selected = selectedIndex === index;
      return <button key={label} type="button" disabled={!interactive} aria-pressed={interactive ? selected : undefined} data-selected={selected ? "true" : "false"} data-interactive={interactive ? "true" : "false"} onClick={() => setSelection(key, index)} className="phyai-setup-card__option">
                                        {label}
                                    </button>;
    })}
                        </div>
                    </div>;
  })}
            <div className="phyai-setup-card__row phyai-setup-card__command-row">
                <div className="phyai-setup-card__label">Run this command</div>
                <div className="phyai-setup-card__command-wrap">
                    <pre className="phyai-setup-card__command" aria-live="polite">
                        {command || "—"}
                    </pre>
                </div>
            </div>
        </div>;
};

# PhyAI 是什么

**PhyAI**（**Phy**sical **AI** Inference Framework，意为“物理 AI 推理框架”，读作 “phi”）是一个面向物理 AI 模型的高性能推理框架，支持 VLA、WAM 等模型及更多扩展场景，可同时用于云端服务和端侧部署。

# 安装

<SetupCard
  rows={{
"OS": ["Ubuntu"],
"Package": [
  ["Package", "not upload to pypi yet"],
  ["Source", `git clone https://github.com/mingti-org/phyai
cd phyai
uv sync
source .venv/bin/activate`],
  ["Docker", "not upload yet"]
],
"Device": ["Cloud/Consumer"],
"Compute Platform": ["CUDA 13.0"],
}}
/>

如果你想安装 phyai 的 nightly 版本，请使用下面的命令：

```shell theme={null}
uv pip install phyai phyai_ext --extra-index-url https://mingti-org.github.io/phyai/simple/ --prerelease=allow
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.