> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/automodel/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/automodel/_mcp/server.

# Qwen3.5-397B-A17B

> Use NeMo AutoModel to fine-tune Qwen3.5-397B-A17B for VLM workflows with checked-in image-text-to-text recipes and documented distributed settings.

[Qwen3.5-397B-A17B](https://huggingface.co/Qwen/Qwen3.5-397B-A17B) has a checked-in NeMo AutoModel recipe for image-text-to-text.
The Hugging Face configuration declares the `Qwen3_5MoeForConditionalGeneration` architecture.

## Fine-Tune Qwen3.5-397B-A17B

Follow the [installation instructions](/get-started/installation), then run the recipe from the repository root:

```bash
automodel examples/vlm_finetune/qwen3_5_moe/qwen3_5_moe_medpix.yaml --nproc-per-node 8
```

Use the [Slurm launcher guide](/job-launchers/slurm-cluster) for the multi-node run.

## Choose a Workflow

| Goal                                  | Start Here                                                                                                                                    |
| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Run the primary recipe for this model | Use the [recipe configuration](https://github.com/NVIDIA-NeMo/Automodel/blob/main/examples/vlm_finetune/qwen3_5_moe/qwen3_5_moe_medpix.yaml). |
| Prepare your environment              | Follow the [installation instructions](/get-started/installation).                                                                            |

### Configuration

| Setting  | Configuration                                                  |
| -------- | -------------------------------------------------------------- |
| Hardware | -                                                              |
| Strategy | FSDP2; tp\_size=1, pp\_size=8, cp\_size=1, ep\_size=32         |
| Nodes    | 32                                                             |
| Features | HybridEP (dispatcher=hybridep)                                 |
| Advanced | attention=sdpa, linear=torch, experts=gmm, dispatcher=hybridep |

## Model Reference

### Model Architecture

| Property     | Value                                |
| ------------ | ------------------------------------ |
| Task         | Image-text-to-text                   |
| Architecture | `Qwen3_5MoeForConditionalGeneration` |

### Available Models

* [`Qwen/Qwen3.5-397B-A17B`](https://huggingface.co/Qwen/Qwen3.5-397B-A17B)

## Related Resources

* [Vision-language model fine-tuning guide](/recipes-e2e-examples/gemma-3-3n)