Comments (2)
This Exception is for the case: the targeted instance has no designated attention module within it. It may be caused by:
You load the model without flash attention but set enable_flash_attention = True, or the reverse case.
If possible, you may check the attention module's name by simple print(model) before calling SelfExtend.apply
from longlm.
Got it! THX!
from longlm.
Related Issues (20)
- Example for gemma & use with Ollama HOT 5
- OOM on LongBench HOT 1
- FlashAttention does not work for Batch size > 1
- What effect on qwen1.5 will be if i use self-extend trick? HOT 3
- Question | Has anyone tried this with GGUF models? HOT 2
- Long context
- Questions regarding group query/key positional index HOT 2
- Question about equation 4 and Table 5 caption in paper HOT 3
- llama3 is not working. HOT 1
- Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! when resuming training
- Passkey retrieval (needle in a haystack) HOT 2
- Run example.py Error: Failed to modify the attention method of LlamaForCausalLM HOT 2
- Differences with ReRoPE HOT 1
- 是否有示例代码支持对safetensors格式LLM启用SelfExtend HOT 5
- Cohere command r HOT 1
- TypeError: 'NoneType' object is not subscriptable HOT 1
- LongLM really has great potential. HOT 1
- About GPU memory usage
- LongLM isn't compatible with gemma-2-27b-it or gemma-2b-it HOT 8
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 longlm.