-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with triton #15
Comments
thank you! can you help me with the setup? now i get this: (venv) E:\control-a-video>python inference.py --prompt "gondurastration" --input_video bear.mp4 --control_mode depth i put in the directory controlnet files from here |
git pull for latest update here is my folder structure, checkpoints folder contains: models--lllyasviel--ControlNet And here is a command that was used for 1.0 ControlNet, python inference.py --prompt "Solid platinum, Statue of Liberty, moonwalk" --condition depth_midas --video_path "data/moonwalk.mp4" --output_path "outputs" --video_length 15 --smoother_steps 19 20 --width 512 --height 512 --frame_rate 2 --version v10 Lastly, https://github.com/YBYBZhang/ControlVideo/blob/master/inference.py Take a look at the def get_args(): Section |
thanks @JPW0080 (venv) E:\ControlVideo>python inference.py --prompt "gondurastration" --condition depth_midas --video_path "data/moonwalk.mp4" --output_path "outputs" --video_length 15 --smoother_steps 19 20 --width 512 --height 512 --frame_rate 2 --version v10 |
After revisiting ControlVideo, here was the full Installation Procedure Install Anaconda3 and Launch Anaconda3 Prompt conda create -n controlvideo python=3.10.6 Now, minimize Anaconda3 Prompt Locate the requirements.txt in the \AI\ControlVideo directory clip==1.0 Refer to https://github.com/YBYBZhang/ControlVideo and download the needed "diffusers" weights as described. Maximize Anaconda3 Prompt pip install -r requirements.txt python inference.py --prompt "Solid platinum, Statue of Liberty, moonwalk" --video_path ./data/moonwalk.mp4 --output_path ./output/ --condition depth_midas --video_length 15 --width 512 --height 512 --frame_rate 2 --smoother_steps 19 20 --version v10 --seed 2023 Disregard Triton Error, if all goes well, Inference should commence. |
Hi, |
(venv) E:\ControlVideo>python inference.py
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton.language'
Traceback (most recent call last):
File "E:\ControlVideo\inference.py", line 20, in
from models.pipeline_controlvideo import ControlVideoPipeline
File "E:\ControlVideo\models\pipeline_controlvideo.py", line 28, in
from .controlnet import ControlNetOutput
File "E:\ControlVideo\models\controlnet.py", line 27, in
from .controlnet_unet_blocks import (
File "E:\ControlVideo\models\controlnet_unet_blocks.py", line 6, in
from .controlnet_attention import Transformer3DModel
File "E:\ControlVideo\models\controlnet_attention.py", line 15, in
from diffusers.models.attention import CrossAttention, FeedForward, AdaLayerNorm
ImportError: cannot import name 'CrossAttention' from 'diffusers.models.attention' (E:\ControlVideo\venv\lib\site-packages\diffusers\models\attention.py)
The text was updated successfully, but these errors were encountered: