Comments (3)
Well, in my mind, we have not encountered such a problem before.
In my opinion, I suggest you (1) use the pre-trained parameters in Stable Diffusion to initialize the new module; (2) try to use float32 training; (3) check whether inf or nan appears during the forward process.
The training process of the diffusion model is relatively stable, and nan situations usually do not occur. If it still cannot be solved, you can continue to communicate with us.
from storygen.
WARNING:main:Could not enable memory efficient attention. Make sure xformers is installed correctly and a GPU is available: No such operator xformers::efficient_attention_forward_generic - did you forget to build xformers with python setup.py develop
?
The issue occurs when I use xformers==0.0.13, and when I use xformers==0.0.16, I encounter a problem with loss=nan.
from storygen.
I believe this issue(No such operator xformers::efficient_attention_forward_generic) is due to incompatibilities between xformers and versions of other libraries, such as CUDA or diffusers. Please carefully compare the versions of each library in your environment with those we recommend to see if there are any discrepancies.
from storygen.
Related Issues (20)
- How metadata is used in extracting frames ? HOT 1
- Downloading private videos HOT 3
- StorySalon Dataset HOT 1
- Dataset HOT 2
- Licensing HOT 2
- Help HOT 1
- inference.py HOT 11
- inference CUDA out of memory HOT 1
- Mismatch in BasicTransformerBlock HOT 1
- youtube HOT 1
- stage = 'no' issue HOT 7
- prev_prompt_ids.append(tokenizer(prev_prompt, truncation=True, padding="max_length", max_length=tokenizer.model_max_length, return_tensors="pt").input_ids.squeeze(0)) HOT 1
- Access to Model Checkpoint HOT 1
- Unable to download youtube data, can you provide the corresponding key frames? HOT 1
- OSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory checkpoint_StorySalon/ HOT 1
- How to download PDF data and split dataset? HOT 2
- Clean up of the env yaml file HOT 1
- Cannot load <class 'model.unet_2d_condition.UNet2DConditionModel'> from /home/jay/StoryGen/ckpt/stable-diffusion-v1-5/ because the following keys are missing HOT 2
- FileNotFoundError: No such file or directory: './StorySalon/image_inpainted_finally_checked' HOT 1
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 storygen.