Doubiiu / ToonCrafter

[SIGGRAPH Asia 2024, Journal Track] ToonCrafter: Generative Cartoon Interpolation
https://doubiiu.github.io/projects/ToonCrafter/
Apache License 2.0
5.4k stars 452 forks source link

M1 Mac launch (froze on AE working on z of shape) #19

Closed rearming closed 6 months ago

rearming commented 6 months ago
  1. I installed all packages specific to ARM,
  2. skipped xformrs because of CUDA
  3. when running it stucks on AE working on z of shape (1, 4, 32, 32) = 4096 dimensions. (main checkpoint is already downloaded into checkpoints/tooncrafter_512_interp_v1)

seems like it's stuck somewhere on HF downloads. lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1221, in hf_hub_download kind of stuff.

cocktailpeanut commented 5 months ago

@rearming I looked through the code, and the entire code base seems to have hardcoded CUDA so it doesn't seem to be a simple matter of using eva-decord, etc. and disabling xformers. For example: https://github.com/ToonCrafter/ToonCrafter/blob/main/scripts/evaluation/inference.py#L328-L331

Am I missing something, or did you hear somewhere that this project supports mac?