Comments (4)
Hi, I am trying to run your script but it always shows me this error. Another thing is that it's not possible for me to install triton. It's like the repo doesn't exist anymore.
Error caught was: No module named 'triton' ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ C:\Users\Life\Text-To-Video-Finetuning\train.py:43 in <module> │ │ │ │ 40 # Will error if the minimal version of diffusers is not installed. Remove at your own ri │ │ 41 check_min_version("0.10.0.dev0") │ │ 42 │ │ ❱ 43 logger = get_logger(__name__, log_level="INFO") │ │ 44 │ │ 45 def create_logging(logging, logger, accelerator): │ │ 46 │ logging.basicConfig( │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ TypeError: get_logger() got an unexpected keyword argument 'log_level'
Can you try pip install accelerate -U
and see if that solves the issue?
Also on your issue about Triton, pip install triton
seems to work for me. Which version of Python are you running?
from text-to-video-finetuning.
It seems like pip install accelerate -U has worked
I am using python 3.10.7
Now I am getting this error
│ 377 │ │ │ │ │ f" {pretrained_model_name_or_path}:\n{err}" │
│ 378 │ │ │ │ ) │
│ 379 │ │ │ except ValueError: │
│ ❱ 380 │ │ │ │ raise EnvironmentError( │
│ 381 │ │ │ │ │ f"We couldn't connect to '{HUGGINGFACE_CO_RESOLVE_ENDPOINT}' to load │
│ 382 │ │ │ │ │ f" in the cached files and it looks like {pretrained_model_name_or_p │
│ 383 │ │ │ │ │ f" directory containing a {cls.config_name} file.\nCheckout your int │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it
looks like ./models/model_scope_diffusers/ is not the path to a directory containing a scheduler_config.json file.
Checkout your internet connection or see how to run the library in offline mode at
'https://huggingface.co/docs/diffusers/installation#offline-mode'.
from text-to-video-finetuning.
@Devalinor You need to go here and download the files.
https://huggingface.co/damo-vilab/text-to-video-ms-1.7b/tree/main.
- Place them in a folder
./some_directory/modelscope
- The folder structure must be the same as above.
You can also try this in the command line, but you may get all of the mode files. Then you can point to the directory it was downloaded to in your config.
git lfs install
git clone https://huggingface.co/damo-vilab/text-to-video-ms-1.7b
from text-to-video-finetuning.
Also, Triton on Win:
pip install https://huggingface.co/r4ziel/xformers_pre_built/resolve/main/triton-2.0.0-cp310-cp310-win_amd64.whl
from text-to-video-finetuning.
Related Issues (20)
- webui Lora Might be causing errors in checkpoint models. HOT 3
- How to train with folder video HOT 1
- Which paper? HOT 1
- RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1, 1, 512] because the unspecified dimension size -1 can be any value and is ambiguous HOT 3
- Does this code support native finetune for damo text to video model? HOT 2
- AttributeError: 'Tensor' object has no attribute 'config' HOT 5
- How can I run the fine-tuning on a GPU with <= 16GB of VRAM? HOT 3
- I have some doubts about the framework HOT 4
- A typo
- TypeError: Linear.forward() got an unexpected keyword argument 'scale' HOT 6
- wrong norm method HOT 1
- issues on train.py HOT 1
- [inference] latents_window index error HOT 1
- Two forward passes in finetune_unet HOT 1
- Lora on ResnetBlock2D in modelscope model HOT 1
- Can the videocomposer model be adapted to this training framework?
- Normal finetuning instead of LoRA
- ControlNet
- init_video problem
- finetune train error of "UnboundLocalError: local variable 'use_offset_noise' referenced before assignment" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from text-to-video-finetuning.