Comments (4)
Hello, we have updated the code to use the FA2 support from the 🤗 transformers instead of the monkey patching. The Transformers support should handle packing as well as non packing scenarios resolving this issue.
from llm-workshop.
Great work adding it in transformers @susnato ! That PR is part of the newest release (4.35.0) you can just do pip install -U transformers
from llm-workshop.
I am getting the error:
ValueError: The current architecture does not support Flash Attention 2.0. Please open an issue on GitHub to request support for this architecture: https://github.com/huggingface/transformers/issues/new
[2023-10-29 08:38:36,863] torch.distributed.elastic.multiprocessing.api: [ERROR] failed (exitcode: 1) local_rank: 0
What is going with why @pacman100 was able to run the code back in August, but now it is broken when we install the latest transformers
from the git main
line? What is the solution to fixing this?
from llm-workshop.
Hi @prince14322 , Flash Attention is now added to StarCoder
. PR
Please install from transformers
main and and you will be able to use it for starcoder.
from llm-workshop.
Related Issues (16)
- Incorrectness in Flash Attention HOT 3
- train Segmentation fault
- chat assistant traning: CUDA out of memory
- Eval is like running forever HOT 1
- Problem training with FSDP HOT 2
- Packing = True HOT 2
- how to load model trained by accelerate with fsdp.
- url in the readme is broken HOT 1
- train.py: error: ambiguous option: --split could match --splits, --split_batches HOT 1
- No Version mentioned for any library used in the project.
- Fine Tuning with LoRA failed during train step
- Finetune 70B model on one node
- Error on save_steps using FSDP HOT 3
- Enhancements for Efficient Utilization and Optimization in Fine-tuning Llama 2 70B Example
- Using device_map auto when launch acceleator
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 llm-workshop.