Instructions to use fukujusou/Anima-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use fukujusou/Anima-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Anima-mlx fukujusou/Anima-mlx
- Diffusion Single File
How to use fukujusou/Anima-mlx with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| """Runtime helpers for Anima MLX conversion and verification.""" | |
| from .latent import ( | |
| apply_const_noise_scaling, | |
| empty_anima_latent, | |
| latent_shape, | |
| random_anima_noise, | |
| wan21_process_in, | |
| wan21_process_out, | |
| ) | |
| from .sampling import ( | |
| FlowLoopResult, | |
| FlowStepResult, | |
| classifier_free_guidance, | |
| er_sde_loop, | |
| flow_denoised, | |
| flow_euler_loop, | |
| flow_euler_step, | |
| flow_one_step, | |
| flow_timestep, | |
| sigmas_for_steps, | |
| ) | |
| from .scheduler import FlowSchedulerConfig, simple_sigmas, sigma_from_timestep, time_snr_shift | |
| from .tokenizer import AnimaTokenizer, PromptTokens, TokenizerPaths, simple_comfy_tokenize | |
| from .workflow import DEFAULT_WORKFLOW_SPEC, WorkflowSpec | |
| __all__ = [ | |
| "AnimaTokenizer", | |
| "DEFAULT_WORKFLOW_SPEC", | |
| "FlowLoopResult", | |
| "FlowSchedulerConfig", | |
| "FlowStepResult", | |
| "PromptTokens", | |
| "TokenizerPaths", | |
| "WorkflowSpec", | |
| "apply_const_noise_scaling", | |
| "classifier_free_guidance", | |
| "empty_anima_latent", | |
| "er_sde_loop", | |
| "flow_denoised", | |
| "flow_euler_loop", | |
| "flow_euler_step", | |
| "flow_one_step", | |
| "flow_timestep", | |
| "latent_shape", | |
| "random_anima_noise", | |
| "sigma_from_timestep", | |
| "sigmas_for_steps", | |
| "simple_comfy_tokenize", | |
| "simple_sigmas", | |
| "time_snr_shift", | |
| "wan21_process_in", | |
| "wan21_process_out", | |
| ] | |