This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 12:44:11 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
audio-errors-once
raea
/
sdk
/
cloud
/
deploy
/
modal
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
History
shinyobjectz
e82cd4efe6
raea cloud farm: a render's sound pass finds its models on raea-models (docs/cloud-render.feature CR25): RAEA_SAO=/models/sao (Stable Audio Open small on ONNX Runtime with CUDA, deploy/modal/sao.py) and RAEA_TOKENSYNTH=/models/tokensynth with RAEA_TOKENSYNTH_DEVICE=cuda (deploy/modal/tokensynth.py), for a sound the project's store doesn't have yet; RAEA_AUDIO_AUTOSETUP=0, so a model the volume lacks fails the job at once instead of installing on a GPU's clock.
2026-11-17 19:52:34 -08:00
..
farm_media.py
raea cloud: a cached file goes only to a job whose own signed URL opens it (CR23)
2026-11-17 19:52:34 -08:00
farm_plan.py
raea cloud render farm: a long job goes to its GPUs as a queue of parts, so a slow card draws fewer frames
2026-11-17 19:52:34 -08:00
farm.py
raea cloud farm: a render's sound pass finds its models on raea-models (docs/cloud-render.feature CR25): RAEA_SAO=/models/sao (Stable Audio Open small on ONNX Runtime with CUDA, deploy/modal/sao.py) and RAEA_TOKENSYNTH=/models/tokensynth with RAEA_TOKENSYNTH_DEVICE=cuda (deploy/modal/tokensynth.py), for a sound the project's store doesn't have yet; RAEA_AUDIO_AUTOSETUP=0, so a model the volume lacks fails the job at once instead of installing on a GPU's clock.
2026-11-17 19:52:34 -08:00
guard.sh
raea cloud: raea's Modal apps in raea's own workspace, and this machine's logins for it beside any others
2026-11-17 19:52:34 -08:00
models.sh
raea cloud: raea's Modal apps in raea's own workspace, and this machine's logins for it beside any others
2026-11-17 19:52:34 -08:00
prices.py
raea cloud render farm: one render split across Modal GPUs, a bench of every GPU kind, and an agent box on a Fly Sprite
2026-11-17 19:52:34 -08:00
raea_cloud.py
sdk/cloud: renders on a GPU or a CPU from one image, render jobs, and a CPU box that hands its renders to a GPU worker (docs/cloud.feature CL13-CL15)
2026-11-10 21:52:21 -08:00
sao.py
Stable Audio Open small off the Mac (docs/cloud-render.feature CR25): tools/sao/run.py gets an ONNX Runtime backend beside Core ML, with one sampler for both (the same numpy generator draws the start and every re-noise from the seed), so a backend changes only how each network is computed. The ONNX graphs are the same weights as three fp32 graphs (atauser001/stable-audio-open-small-onnx at a pinned revision, each file against its published SHA-256, its LICENSE and NOTICE kept beside them): cond on the CPU, the DiT and the decoder on CUDA when onnxruntime has it (--device auto|cpu|cuda), else the CPU. --backend defaults to Core ML on a Mac with its packages, else ONNX; --times prints each stage's seconds. setup.sh installs the ONNX build off a Mac (RAEA_SAO_BACKEND=coreml|onnx picks; onnxruntime-gpu with its CUDA and cuDNN wheels where nvidia-smi finds a GPU or RAEA_SAO_CUDA is set, else onnxruntime; sha256sum or shasum). sdk/cloud/deploy/modal/sao.py installs it into raea-models (/models/sao) and times it. Measured 11-17: the Core ML path writes the same bytes as before; ONNX on a T4 and on the CPU against the Mac's Core ML take of the same prompt and seed, 4 sounds, SNR 35.0 to 51.4 dB, correlation 0.9999 to 1.0000, log-spectrum difference 0.34 to 2.08 dB (two different sounds: -2 to -14 dB, 22 to 46 dB), so a sound keeps its cache key on every backend. A warm T4 process 5.3 s a sound (load 3.4, eight DiT steps 0.6, decode 0.6), 4 CPU cores 13 s (decode 6.8), the Mac's Core ML about 5 s.
2026-11-17 19:52:34 -08:00
tokensynth.py
TokenSynth on an NVIDIA GPU (docs/cloud-render.feature CR25): run.py --device cpu|cuda (the DAC decoder and the model on the device, sampling still on the CPU from the seed), raea's asset store passes it from RAEA_TOKENSYNTH_DEVICE (the device is in the cache key, so a GPU's note is its own sample), and an install from before --device says to run setup.sh again. sdk/cloud/deploy/modal/tokensynth.py installs it into raea-models (built at its own path on the container's disk: uv's temporary files fail on the volume, and the venv names its path) and measures it. On a Modal A10, 2.5 s a note with the model loaded against 50.6 s on 4 CPU cores; a process a note, 15.5 s on a T4 against 103 s. CLAP audio embeddings: 4 of 6 GPU notes are as close to the CPU's as two CPU seeds are.
2026-11-17 19:52:34 -08:00
weights.py
raea cloud: raea's Modal apps in raea's own workspace, and this machine's logins for it beside any others
2026-11-17 19:52:34 -08:00
workspace.sh
raea cloud: raea's Modal apps in raea's own workspace, and this machine's logins for it beside any others
2026-11-17 19:52:34 -08:00