SenseNova U1.6 8B MoT for AMD Loom

Generate an image, edit it with a single reference, ask a question about an image, or chat with the model through loom-serve. This package runs SenseNova’s mixture-of-transformers checkpoint on the 32 GiB AMD Radeon AI PRO R9700 (gfx1201). Original checkpoint

Text-to-image generation Single-reference edit
A matte red cube on an oak tabletop The same cube recolored deep blue

Both images are 1024×1024, generated with seed 0 and 50 Euler steps. Against the original BF16 implementation with identical starting noise, the generation reached 44.67 dB RGB PSNR and the edit reached 36.48 dB. Each score covers the pictured example. Prompts, reference images and validation results

Quick start on the Radeon AI PRO R9700

Install the target Loom SDK in a Python environment. Fetch one preset to a disk with room for the original checkpoint (35.07 GB) and, for the image presets, the shared quantized file (6.35 GB). Keep the fetch cache on disk as well.

python -m pip install 'hrx-loom[hf]==0.2.0'
repo=loom-fun/SenseNova-U1.6-MoT-R9700-loom
preset=image-1mp
loom-fetch "huggingface:$repo:$preset" --output="./$preset" --materialize=share
loom-serve --model="./$preset/model.json" --preset="$preset" \
  --device=amdgpu --pool_backing=fixed --listen=127.0.0.1:8160

Choose the preset for your request and use the same name in both commands. Start one server at a time on this card. The image presets use 8-bit row-wise weights for the text feed-forward layers and BF16 weights for the generation expert. The chat and VQA presets use the original BF16 weights.

Preset Input Output
image-1mp Text prompt 1024×1024 PNG
edit-1mp Edit instruction and one 1024×1024 reference after preprocessing 1024×1024 PNG
image-256 Text prompt 256×256 PNG
edit-256 Edit instruction and one 512×512 reference after preprocessing 256×256 PNG
chat Chat messages Text, 1,024-token context
vqa Chat messages and an image that preprocesses to 256×256 Text, 1,024-token context

All four image presets use 50 Euler steps, guidance 4 and schedule shift 3. Resolution and sampling settings are fixed in each preset. Native interleaved self-correction is unsupported.

Generate an image

With image-1mp ready, send this request from a second terminal. The model ID in the HTTP request is the upstream checkpoint ID.

curl --fail-with-body -sS http://127.0.0.1:8160/v1/images/generations \
  -H 'Content-Type: application/json' \
  -d '{"model":"sensenova/SenseNova-U1.6-8B-MoT","prompt":"Studio product photograph of a single matte red cube on a pale oak tabletop, three faces visible, soft daylight from a window on the left, natural contact shadow, plain warm gray background.","size":"1024x1024","seed":0,"response_format":"b64_json"}' \
  | python -c 'import base64,json,sys; open("cube.png","wb").write(base64.b64decode(json.load(sys.stdin)["data"][0]["b64_json"]))'

Edit the generated image

Switch the server to edit-1mp using the quick-start commands. Fetch the Python client separately with the Hugging Face CLI. The client resizes and packs the reference for the Loom image-generation endpoint.

python -m pip install huggingface_hub numpy pillow
hf download loom-fun/SenseNova-U1.6-MoT-R9700-loom --include 'sensenova_u16/*' --local-dir ./client
PYTHONPATH=./client python -m sensenova_u16.generation.edit cube.png \
  "Change the red cube to a deep blue cube. Keep the table, the lighting, the camera angle, and the composition unchanged." blue.png \
  --url http://127.0.0.1:8160 --reference-width 1024 --reference-height 1024 \
  --size 1024x1024 --seed 0

Chat or ask about an image

Serve chat to send text to /v1/chat/completions. Serve vqa for an image question. It accepts an image_url content part with a base64 image data URL followed by a text part containing the question.

curl --fail-with-body -sS http://127.0.0.1:8160/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model":"sensenova/SenseNova-U1.6-8B-MoT","messages":[{"role":"user","content":"Reply with only the answer. What is the capital of France?"}],"max_tokens":8,"temperature":0,"chat_template_kwargs":{"enable_thinking":false}}'

Package contents

model.json defines the six presets. model.json.lock records the asset origins and digests for loom-fetch. The repository includes the native Loom programs, input tokenizers, the shared image-service quantization, and the Python edit client. Machine-readable evidence · Validation report

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for loom-fun/SenseNova-U1.6-MoT-R9700-loom

Finetuned
(7)
this model