Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

zhangj1an
/
AudioX

Text-to-Audio
Diffusers
Safetensors
AudioXPipeline
diffusion_cond
audio-generation
music-generation
Model card Files Files and versions
xet
Community

Instructions to use zhangj1an/AudioX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use zhangj1an/AudioX with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("zhangj1an/AudioX", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
AudioX
11.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
zhangj1an's picture
zhangj1an
Rename text_encoder.encoder.embed_tokens.weight -> text_encoder.shared.weight so AutoWeightsLoader can match the HF T5 shared-embedding alias without a remap.
921a1c2 verified about 1 month ago
  • transformer
    Rename text_encoder.encoder.embed_tokens.weight -> text_encoder.shared.weight so AutoWeightsLoader can match the HF T5 shared-embedding alias without a remap. about 1 month ago
  • vae
    Add Diffusers vae layout: config.json + encoder/decoder safetensors for AutoencoderOobleck.from_pretrained about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    3.95 kB
    AudioX vLLM-Omni sharded safetensors about 1 month ago
  • config.json
    4.62 kB
    Repack weights: transformer + vae safetensors (Diffusers layout); drop legacy conditioners shard about 1 month ago
  • model_index.json
    37 Bytes
    Repack weights: transformer + vae safetensors (Diffusers layout); drop legacy conditioners shard about 1 month ago