> For the complete documentation index, see [llms.txt](https://unsloth.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unsloth.ai/docs/jp/moderu/nemotron-3.5.md).

# NVIDIA Nemotron 3.5 Lightning: ローカルでの実行方法

NVIDIA Nemotron-3.5-Lightning-30B-A3B は、大量タスクの実行を長時間稼働するエージェント向けに構築された、オープンな 30B パラメータ・3B アクティブのハイブリッド推論 MoE モデルです。ツール使用、出力検証、結果の整形、サブエージェントへの委任を含む、頻繁なエージェント呼び出し向けに設計されています。このモデルは **20GB RAM** 4-bit では 20GB、8-bit では 33GB が必要です。

{% columns %}
{% column %}
最大 **100万コンテキスト**まで対応し、Nemotron 3.5 Lightning は、そのサイズに対して最速かつ最も高精度なオープン実行モデルの 1 つです。Unsloth Desktop と Unsloth Dynamic GGUFs を使って、Nemotron 3.5 をローカルで実行できます。初日からのサポートに感謝します、NVIDIA！\
**GGUF:** [Nemotron-3.5-Lightning-30B-A3B](https://huggingface.co/unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF)

右側を見てください。Nemotron-3.5 は 10 分間、絶え間なくツールを呼び出します [Unsloth Desktop](/docs/jp/desktop.md):
{% endcolumn %}

{% column %}

<figure><img src="/files/4ce3b849f374ee695e463785e519d7f498f47b54" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

#### ⚙️ 使い方ガイド

NVIDIA は推論に次の設定を推奨しています:

{% columns %}
{% column %}
**思考モード:**

* `temperature = 0.6`
* `top_p = 0.95`
  {% endcolumn %}

{% column %}
**指示モード:**

* `temperature = 0.2`
  {% endcolumn %}
  {% endcolumns %}

#### Nemotron 3.5 Lightning を実行する

ユースケースによって、異なる設定を使う必要があります。Nemotron 3.5 Lightning はトークンごとに 3B パラメータを有効化するため、長時間稼働するエージェントのワークフロー全体で繰り返し呼び出しても十分高速です。 **GGUF:** [Nemotron-3.5-Lightning-30B-A3B](https://huggingface.co/unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF)

このモデルの 4-bit 版には約 20GB の RAM が必要です。8-bit 版には 33GB が必要です。このガイドでは `UD-Q4-K-XL` を使用します。これはサイズと精度のバランスが良いです。

<a href="/pages/919e63e7a68a219bd79aa025442365adb3055030#unsloth-desktop-guide" class="button primary">Unsloth Desktop で実行する</a><a href="/pages/919e63e7a68a219bd79aa025442365adb3055030#llama.cpp-tutorial" class="button secondary">llama.cpp で実行する</a>

#### 🦥 Unsloth Desktop ガイド

このチュートリアルでは [Unsloth Desktop](#unsloth-desktop-guide)を使用します。これはモデルの実行と学習のためのオープンソースのローカルアプリです。Unsloth を使えば、モデルをローカルで実行できます。 **Mac、Windows、Linux** および:

{% columns %}
{% column %}

* GGUF と safetensor モデルを検索、ダウンロード、実行する
* **比較** モデルを **並べて**
* 使用 **自己修復の** ツール呼び出しと **ウェブ検索**
* 実行 **コード実行** を Python と Bash で
* 推論パラメータの自動調整を使用する
* VRAM を 70%  کمتر使い、LLM を 2 倍高速に学習する
  {% endcolumn %}

{% column %}

<figure><img src="/files/c89a89617a74ec625b12969d4fd0a6f5c7966953" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% stepper %}
{% step %}

#### Unsloth をインストールする

始める最も簡単な方法は、 [Unsloth Desktop アプリ](/docs/jp/desktop.md)をダウンロードすることです。対応環境: [macOS](/docs/jp/meru/install/mac.md), [Windows](/docs/jp/meru/install/windows-installation.md)、および [Linux](/docs/jp/meru/install/linux.md).

<a href="https://unsloth.ai/download" class="button primary" data-icon="down-to-bracket">Unsloth をダウンロード</a>

* <i class="fa-apple">:apple:</i> [macOS 用をダウンロード](https://unsloth.ai/download/mac)
* <i class="fa-windows">:windows:</i> [Windows 用をダウンロード](https://unsloth.ai/download/windows)
* <i class="fa-linux">:linux:</i> [Linux 用をダウンロード](https://unsloth.ai/download/linux)

または、手動でインストールしたい場合:

MacOS、Linux、WSL:

```bash
curl -fsSL https://unsloth.ai/install.sh | sh
```

Windows PowerShell:

```bash
irm https://unsloth.ai/install.ps1 | iex
```

{% endstep %}

{% step %}

#### Nemotron 3.5 を検索してダウンロードする

へ移動し [Unsloth Chat](/docs/jp/shii/studio/chat.md) または Model hub で検索バーに Nemotron 3.5 と入力し、希望するモデルと量子化版をダウンロードします。

<figure><img src="/files/8826f021d6317468bd0e3406a6e40c2869611c16" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Nemotron 3.5 Lightning を実行する

Unsloth を使用すると推論パラメータは自動設定されるはずですが、手動で変更することもできます。コンテキスト長、チャットテンプレート、その他の設定も編集できます。

詳細は、 [Unsloth 推論ガイド](/docs/jp/shii/studio/chat.md).

<figure><img src="/files/4ce3b849f374ee695e463785e519d7f498f47b54" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

#### 🦙 Llama.cpp チュートリアル:

llama.cpp で実行する手順（ほとんどのデバイスに収めるため、4-bit を使用します）:

{% stepper %}
{% step %}
最新の [`llama.cpp`](https://github.com/ggml-org/llama.cpp) を入手してビルドします。 `-DGGML_CUDA=ON` を `-DGGML_CUDA=OFF` に変更してください。CUDA GPU がない場合、または CPU 推論を使いたい場合です。 **Apple Mac および Metal デバイスでは**、 `-DGGML_CUDA=OFF`を設定します。Metal サポートは既定で有効です。

{% code overflow="wrap" %}

```bash
apt-get update
apt-get install pciutils build-essential cmake curl libcurl4-openssl-dev -y
git clone https://github.com/ggml-org/llama.cpp
cmake llama.cpp -B llama.cpp/build \\
    -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON -DLLAMA_CURL=ON
cmake --build llama.cpp/build --config Release -j --clean-first \\
    --target llama-cli llama-server llama-gguf-split
cp llama.cpp/build/bin/llama-* llama.cpp
```

{% endcode %}
{% endstep %}

{% step %}
それではモデルを手動でダウンロードしましょう。まず `huggingface_hub`をインストールした後、下のコードで実行できます。ダウンロードが止まる場合は、Hugging Face Hub、XET のデバッグを参照してください

{% code overflow="wrap" %}

```bash
pip install huggingface_hub
hf download unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF \\
    --local-dir unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF \\
    --include "*UD-Q4_K_XL*" # Dynamic 2bit では "*UD-Q2_K_XL*" を使用
```

{% endcode %}
{% endstep %}

{% step %}
会話モードでモデルを実行する:

{% code overflow="wrap" %}

```bash
./llama.cpp/llama-cli \\
    --model unsloth/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-GGUF/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-UD-Q4_K_XL.gguf \\
    --temp 0.6 \\
    --top-p 0.95 \\
    --min-p 0.01
```

{% endcode %}
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Nemotron 3.5 Lightning には、推測デコード用の MTP と専用の DFlash および DSpark のドラフトモデルが付属しています。これらのドラフトモデルは複数トークン先を予測し、大量のエージェントワークロードでの出力速度を高めます。
{% endhint %}

#### 🦥 Nemotron 3.5 Lightning のファインチューニング

Unsloth は NVIDIA Nemotron モデルファミリー全体の後学習に対応しています。Nemotron 3.5 Lightning は、長時間稼働するエージェント内での特化した高頻度作業に役立ちます。Unsloth を使えば、VRAM を 70% 少なくして 2 倍高速にモデルを学習できます。

ファインチューニングに有用なデータには次のようなものがあります:

* **ツール呼び出し:** 適切なツールの選択、有効な引数の生成、ツールエラーからの復旧
* **結果検証:** 出力が制約、スキーマ、または期待される状態に合っているか確認する
* **リポジトリ作業:** 定型的なシェルコマンド、テスト実行、整形、構造化された要約
* **サブエージェントへの委任:** 専門家の選択、焦点を絞ったタスクの作成、結果の統合
* **長時間稼働するエージェントのトレース:** 観察 → 推論 → 行動 → 検証 → 復旧 の例
* **ドメイン固有のワークフロー:** レイテンシーと一貫性が重要な、組織固有の反復タスク

これは密な 3B モデルとしてファインチューニング用ハードウェアを見積もらないでください。各トークンで有効になるのは 3B パラメータだけですが、モデル全体では 30B のパラメータを持っています。コンテキスト長、最適化手法、バッチサイズ、シーケンス長もメモリ使用量に影響します。

ノートブックや学習手順では、既存の Nemotron ファインチューニングフローから始めてください。まずは短いコンテキストと小さいバッチサイズから始め、徐々に拡張します。

#### ベンチマーク

Nemotron 3.5 Lightning は、小規模なオープンモデルにおける精度と速度のパレートフロンティア上に位置します:

* 最大 **4倍高速な出力** 同規模のモデルより
* **86% の精度** PinchBench で
* 10,000 件の PinchBench タスクを **35% 高速に完了** 同程度の精度の Qwen 3.6 35B より

Artificial Analysis Intelligence Index は、エージェント的タスク、コーディング、科学的推論、一般知能にわたる評価を組み合わせたものです。NVIDIA は、単なる 1 秒あたりの生トークン数だけでなく、有用なエージェント作業の完了にかかる時間も測定しています。

Nemotron 3.5 Lightning は、ルーティングされたエージェントシステム内でフロンティア推論モデルの下に位置するよう設計されています。難しい計画はより大きなモデルにルーティングし、高頻度の実行は Lightning にルーティングします。NVIDIA は OpenMDW-1.1 の下で重み、学習データ、レシピを公開する予定であり、 [NeMo Switchyard](https://developer.nvidia.com/topics/ai/nemotron) が各リクエストを最適なモデルに振り分けることができます。

NVIDIA の完全な発表内容については、 [Nemotron 3.5 Lightning の発表](https://developer.nvidia.com/blog/nvidia-nemotron-3-5-lightning-delivers-fast-accurate-specialized-task-execution-for-long-running-agents/).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://unsloth.ai/docs/jp/moderu/nemotron-3.5.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
