-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Nvidia 4090 64GB Ram
New install of Anaconda3 Windows 11 - running Anaconda PowerShell.
Install according to directions.
git lfs install
https://huggingface.co/guoyww/animatediff/blob/main/v3_sd15_mm.ckpt results in
https://huggingface.co/guoyww/animatediff/blob/main/v3_sd15_mm.ckpt : The term
'https://huggingface.co/guoyww/animatediff/blob/main/v3_sd15_mm.ckpt' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
- https://huggingface.co/guoyww/animatediff/blob/main/v3_sd15_mm.ckpt
-
+ CategoryInfo : ObjectNotFound: (https://hugging...v3_sd15_mm.ckpt:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Files placed into models/Motion_Module manually.
Modify my_video.yaml and run python train.py --config ./configs/training/motion_director/my_video.yaml
Traceback (most recent call last):
File "C:\Users\XXXXX\AnimateDiff-MotionDirector\train.py", line 16, in
import torch
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\torch_init_.py", line 148, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
(animatediff-motiondirector) PS C:\Users\XXXXX\AnimateDiff-MotionDirector> pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 xformers==0.0.16 --extra-index-url https://download.pytorch.org/whl/cu117
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
Using cached https://download.pytorch.org/whl/cu117/torch-1.13.1%2Bcu117-cp310-cp310-win_amd64.whl (2255.4 MB)
Collecting torchvision==0.14.1+cu117
Using cached https://download.pytorch.org/whl/cu117/torchvision-0.14.1%2Bcu117-cp310-cp310-win_amd64.whl (4.8 MB)
Collecting torchaudio==0.13.1
Using cached https://download.pytorch.org/whl/cu117/torchaudio-0.13.1%2Bcu117-cp310-cp310-win_amd64.whl (2.3 MB)
Collecting xformers==0.0.16
Using cached xformers-0.0.16-cp310-cp310-win_amd64.whl.metadata (1.1 kB)
Requirement already satisfied: typing-extensions in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from torch==1.13.1+cu117) (4.12.2)
Requirement already satisfied: numpy in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from torchvision==0.14.1+cu117) (1.26.4)
Requirement already satisfied: requests in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from torchvision==0.14.1+cu117) (2.32.3)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from torchvision==0.14.1+cu117) (10.4.0)
Collecting pyre-extensions==0.0.23 (from xformers==0.0.16)
Using cached pyre_extensions-0.0.23-py3-none-any.whl.metadata (4.0 kB)
Collecting typing-inspect (from pyre-extensions==0.0.23->xformers==0.0.16)
Using cached typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from requests->torchvision==0.14.1+cu117) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from requests->torchvision==0.14.1+cu117) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from requests->torchvision==0.14.1+cu117) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages (from requests->torchvision==0.14.1+cu117) (2024.7.4)
Collecting mypy-extensions>=0.3.0 (from typing-inspect->pyre-extensions==0.0.23->xformers==0.0.16)
Using cached mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB)
Using cached xformers-0.0.16-cp310-cp310-win_amd64.whl (40.0 MB)
Using cached pyre_extensions-0.0.23-py3-none-any.whl (11 kB)
Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Using cached mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Installing collected packages: torch, mypy-extensions, typing-inspect, torchvision, torchaudio, pyre-extensions, xformers
Attempting uninstall: torch
Found existing installation: torch 2.4.0
Uninstalling torch-2.4.0:
Successfully uninstalled torch-2.4.0
Attempting uninstall: torchvision
Found existing installation: torchvision 0.19.0
Uninstalling torchvision-0.19.0:
Successfully uninstalled torchvision-0.19.0
Attempting uninstall: xformers
Found existing installation: xformers 0.0.27.post2
Uninstalling xformers-0.0.27.post2:
Successfully uninstalled xformers-0.0.27.post2
Successfully installed mypy-extensions-1.0.0 pyre-extensions-0.0.23 torch-1.13.1+cu117 torchaudio-0.13.1+cu117 torchvision-0.14.1+cu117 typing-inspect-0.9.0 xformers-0.0.16
(animatediff-motiondirector) PS C:\Users\XXXXX\AnimateDiff-MotionDirector> python train.py --config ./configs/training/motion_director/my_video.yaml
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
Cannot initialize model with low cpu memory usage because accelerate was not found in the environment. Defaulting to low_cpu_mem_usage=False. It is strongly recommended to install accelerate for faster and less memory-intense model loading. You can do so with:
pip install accelerate
.
C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py:1150: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
Traceback (most recent call last):
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\utils_errors.py", line 304, in hf_raise_for_status
response.raise_for_status()
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\requests\models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/diffusers/stable-diffusion-v1-5/resolve/main/vae/diffusion_pytorch_model.bin
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\diffusers\modeling_utils.py", line 600, in _get_model_file
model_file = hf_hub_download(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\utils_deprecation.py", line 101, in inner_f
return f(*args, **kwargs)
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 1240, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 1347, in _hf_hub_download_to_cache_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 1854, in _raise_on_head_call_error
raise head_call_error
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 1751, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 1673, in get_hf_file_metadata
r = _request_wrapper(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 376, in _request_wrapper
response = _request_wrapper(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\file_download.py", line 400, in _request_wrapper
hf_raise_for_status(response)
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\huggingface_hub\utils_errors.py", line 352, in hf_raise_for_status
raise RepositoryNotFoundError(message, response) from e
huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-66c51a72-7056a8a62fbeed7304d35125;7817aadd-2588-4c35-8e16-d8078b8d43f9)
Repository Not Found for url: https://huggingface.co/diffusers/stable-diffusion-v1-5/resolve/main/vae/diffusion_pytorch_model.bin.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\XXXXX\AnimateDiff-MotionDirector\train.py", line 1038, in
main(name=name, use_wandb=args.wandb, **config)
File "C:\Users\XXXXX\AnimateDiff-MotionDirector\train.py", line 527, in main
vae = AutoencoderKL.from_pretrained(pretrained_model_path, subfolder="vae")
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\diffusers\modeling_utils.py", line 452, in from_pretrained
model_file = cls._get_model_file(
File "C:\Users\XXXXX.conda\envs\animatediff-motiondirector\lib\site-packages\diffusers\modeling_utils.py", line 616, in _get_model_file
raise EnvironmentError(
OSError: diffusers/stable-diffusion-v1-5 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with use_auth_token or log in with huggingface-cli login.