Instructions to use fudan-generative-ai/hallo2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fudan-generative-ai/hallo2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fudan-generative-ai/hallo2", 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
Update README.md
#2
by yeslh - opened
Cannot merge
This branch has merge conflicts in the following files:
- .gitattributes
- CodeFormer/codeformer.pth
- CodeFormer/vqgan_code1024.pth
- README.md
- audio_separator/Kim_Vocal_2.onnx
- audio_separator/download_checks.json
- audio_separator/mdx_model_data.json
- audio_separator/vr_model_data.json
- face_analysis/models/1k3d68.onnx
- face_analysis/models/2d106det.onnx
- face_analysis/models/face_landmarker_v2_with_blendshapes.task
- face_analysis/models/genderage.onnx
- face_analysis/models/glintr100.onnx
- face_analysis/models/scrfd_10g_bnkps.onnx
- facelib/detection_Resnet50_Final.pth
- facelib/detection_mobilenet0.25_Final.pth
- facelib/parsing_parsenet.pth
- facelib/yolov5l-face.pth
- facelib/yolov5n-face.pth
- hallo2/net.pth
- hallo2/net_g.pth
- motion_module/mm_sd_v15_v2.ckpt
- realesrgan/RealESRGAN_x2plus.pth
- sd-vae-ft-mse/README.md
- sd-vae-ft-mse/config.json
- sd-vae-ft-mse/diffusion_pytorch_model.safetensors
- stable-diffusion-v1-5/unet/config.json
- stable-diffusion-v1-5/unet/diffusion_pytorch_model.safetensors
- wav2vec/wav2vec2-base-960h/README.md
- wav2vec/wav2vec2-base-960h/config.json
- wav2vec/wav2vec2-base-960h/feature_extractor_config.json
- wav2vec/wav2vec2-base-960h/model.safetensors
- wav2vec/wav2vec2-base-960h/preprocessor_config.json
- wav2vec/wav2vec2-base-960h/special_tokens_map.json
- wav2vec/wav2vec2-base-960h/tokenizer_config.json
- wav2vec/wav2vec2-base-960h/vocab.json