I don't think there is anything Forge specific here.
Go to the Extensions tab, then Install from URL, use the URL for this repository.
Easiest way to ensure necessary versions are installed is to edit requirements_versions.txt in the webUI folder.
diffusers>=0.30.0
tokenizers>=0.19
transformers>=4.40
peft
These upgrades didn't break anything for me.
Forge2 already has newer versions of tokenizers and transformers, and recently pinned to diffusers 0.31. Be aware that updates to Forge2 may overwrite the requirements file.
almost current UI

At your own risk. This is barely moderately somewhat tested, and even then but only on my computer.
Models will be downloaded automatically, on demand (so if you never generate with the 256 model, it'll never be downloaded). The T5 text encoder is around 18Gb and the image models are about 2.3GB each.
The models include the float32 T5 model, which I convert to fp16 on first use and save the result for all future runs. This conversion and saving is automatic. Once done, the full size float32 model could be deleted to reclaim some space.
Note that Alpha and Sigma both use the same T5 text encoder, my caching system means it should only be downloaded once regardless for how many models are used.
I can generate using all models, though the 2K Sigma model is very slow on my limited hardware. It's undertrained anyway, at present.
[!NOTE] models are freed after use, reloaded for each run. For me, this is faster overall than keeping them in memory, using a decent but not top-end SSD. But, if you're running from mechanical HD instead this might be terrible.
Updated: added option to keep models loaded
{webui directory}\models\diffusers create a subdirectory PixArtCustom. In that directory, create a subdirectory for the custom model; the directory name will be used as the display name in the menu. Ideally, include the model size in the directory name, 256/512/1024/2K - for example animetune_512. Inside each of those should be the transformer file (diffusion_pytorch_model.safetensors) and its config.json.Many changes, hopefully not many bugs too:
huggingface_access_token.txt in the main webui folder, i.e. {forge install directory}\webui, and paste the token in there. (same instructions as for SD3, only needs done once).avoid error message when Set Width/Height from Image without an image loaded
prompt: portrait photograph, woman with red hair, wearing green blazer over yellow tshirt and blue trousers, on sunny beach with dark clouds on horizon

Thanks to:
70 commits
Python
100.0%
I don't think there is anything Forge specific here.
Go to the Extensions tab, then Install from URL, use the URL for this repository.
Easiest way to ensure necessary versions are installed is to edit requirements_versions.txt in the webUI folder.
diffusers>=0.30.0
tokenizers>=0.19
transformers>=4.40
peft
These upgrades didn't break anything for me.
Forge2 already has newer versions of tokenizers and transformers, and recently pinned to diffusers 0.31. Be aware that updates to Forge2 may overwrite the requirements file.
almost current UI

At your own risk. This is barely moderately somewhat tested, and even then but only on my computer.
Models will be downloaded automatically, on demand (so if you never generate with the 256 model, it'll never be downloaded). The T5 text encoder is around 18Gb and the image models are about 2.3GB each.
The models include the float32 T5 model, which I convert to fp16 on first use and save the result for all future runs. This conversion and saving is automatic. Once done, the full size float32 model could be deleted to reclaim some space.
Note that Alpha and Sigma both use the same T5 text encoder, my caching system means it should only be downloaded once regardless for how many models are used.
I can generate using all models, though the 2K Sigma model is very slow on my limited hardware. It's undertrained anyway, at present.
[!NOTE] models are freed after use, reloaded for each run. For me, this is faster overall than keeping them in memory, using a decent but not top-end SSD. But, if you're running from mechanical HD instead this might be terrible.
Updated: added option to keep models loaded
{webui directory}\models\diffusers create a subdirectory PixArtCustom. In that directory, create a subdirectory for the custom model; the directory name will be used as the display name in the menu. Ideally, include the model size in the directory name, 256/512/1024/2K - for example animetune_512. Inside each of those should be the transformer file (diffusion_pytorch_model.safetensors) and its config.json.Many changes, hopefully not many bugs too:
huggingface_access_token.txt in the main webui folder, i.e. {forge install directory}\webui, and paste the token in there. (same instructions as for SD3, only needs done once).avoid error message when Set Width/Height from Image without an image loaded
prompt: portrait photograph, woman with red hair, wearing green blazer over yellow tshirt and blue trousers, on sunny beach with dark clouds on horizon

Thanks to:
70 commits
Python
100.0%