
ComfyUIでAnimaFastTrainを試してみた
Anima向けのカスタムノードで、参照画像からその場で軽く学習し、そのワークフロー内で一時的に使うLoRA的なのを作って画像生成するツールですね。
Anima baseについて以下で紹介しているので、興味があればご覧ください。
また、previewの1,2,3も紹介しているので、興味があればご覧ください。
動画でも解説してます。
環境
OS:Windows 11
GPU:GeForce RTX 4090
CPU:i9-13900KF
memory:128G
構築手順
以下のコマンドでカスタムノードをインストールして、ComfyUIを最新化してください。
cd ComfyUI\custom_nodes
git clone https://github.com/quinteroac/ComfyUI-AnimaFastTrain.gitまた、上記のコマンドでインストールしたファイルに、ライブラリとのバージョン不整合が発生しており、「RuntimeError: Inference tensors do not track version counter.」というエラーが発生します。
ComfyUI\custom_nodes\ComfyUI-AnimaFastTrain\nodes.py以下のファイルで差し替えるか、対象の行を書き換えるかしてください。
● Update(ComfyUI\custom_nodes\ComfyUI-AnimaFastTrain\nodes.py)
⎿ Added 6 lines, removed 1 line
499
500 return latent_image
501
502 - model_patcher = model.clone()
502 + # force_deepcopy re-materializes the model weights from the loader factory.
503 + # Because we're inside torch.inference_mode(False) here, the fresh weights are
504 + # normal (non-inference) tensors, which autograd can save for backward. A plain
505 + # model.clone() would share the original inference-mode weights and trigger
506 + # "Inference tensors do not track version counter" during loss.backward().
507 + model_patcher = model.clone(force_deepcopy=True)
508 model_patcher.model.requires_grad_(False)
509 model_patcher.set_model_compute_dtype(autocast_dtype)
510 token_norm_before = float(context_tokens.detach().float().norm().cpu())※上記の修正を実施しても、エラーになる場合は、もう少し調査します。
モデル
anima-base-v1.0.safetensorsをダウンロードして「ComfyUI\models\diffusion_models」に配置
qwen_3_06b_base.safetensorsをダウンロードして「ComfyUI\models\text_encoders」に配置
qwen_image_vae.safetensorsをダウンロードして「ComfyUI\models\vae」に配置
ワークフロー
ワークフローは以下です。

生成結果
生成結果は以下です。
生成時間75秒、VRAM10GBでした。


一応、再現できてますね。
感想
思ったより再現してくれるのと、思ったよりAnimaになってますかね。
色々調整のしがいのあるカスタムノードですね。