tsiendragon/qwen-image-finetune/qwen-image-edit-aipc-finetune-04-config
Claude Code and agent skill by tsiendragon/qwen-image-finetune
- community
Checking that the SKILL.md file is still in the repository.
Step 4 of 8 of the Qwen-Image-Edit AI PC fine-tuning walkthrough. Use after qwen-image-edit-aipc-finetune-03-env-setup. Auto-detect the trainer from the model's model_index.json, run the hardware probe, generate a recommended NF4 QLoRA training YAML matched to the machine, fill in machine-specific paths, and lint the config. Only use once step 3 environment setup passes.
Install
npx vskill@latest install tsiendragon/qwen-image-finetune/qwen-image-edit-aipc-finetune-04-configSKILL.md
Step 4 — Hardware Probe → Config Recommendation
Series position: Step 4 of 8.
Prerequisites:
- Conda env active with torch+xpu (Step 3);
probe_hw.pyin the project root - Model downloaded to a local directory (Step 1); model path needed here
- Dataset validated (Step 2); dataset path needed here
- RAM tier known (Step 1); RAM size in GB (16/32/64) needed here
Next step: when config_check.py exits 0 and config.yaml has its trainer set, proceed to skill qwen-image-edit-aipc-finetune-05-adaptation.
Three scripts produce and check a training YAML matched to the user's machine: detect_trainer.py picks the trainer, recommend_config.py emits the config, config_check.py lints it.
4.1 Detect the trainer from the model
The trainer is determined by the model's model_index.json _class_name field — not by the model name or version number. This is the single source of truth for the trainer: field.
Save this as detect_trainer.py in the project root:
Run:
Note the trainer name (QwenImageEdit or QwenImageEditPlus) — you need it in Step 5 to know whether the Plus-trainer adaptation applies. A QwenImageEditPlus value means Step 5's extra Plus section applies.
4.2 Run the hardware probe
(probe_hw.py was saved in Step 3. If it's missing, copy it from Step 3 §3.5.)
4.3 Generate the recommended training config
Save this as recommend_config.py in the project root (it imports detect_trainer.py from the same directory):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/qwen-image-edit-aipc-finetune-04-config/SKILL.md
Popularity
- Repository stars
- 253
- Repository forks
- 27
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/tsiendragon/qwen-image-finetune/qwen-image-edit-aipc-finetune-04-config)