Comments (1)
已解决:原因是采用了8bit量化,可能v100不支持或者某些库安装有问题。
实测fp16推理显存占用14-15G,因此显存足够的可以不采用量化,解决方法:
删去model = AutoModelForCausalLM.from_pretrained('FlagAlpha/Atom-7B',device_map='auto',torch_dtype=torch.float16,load_in_8bit=True)中的 load_in_8bit=True 即可
from llama2-chinese.
Related Issues (20)
- License
- llama3 8B中文微调模型Llama3-Chinese-8B-Instruct 存在对生成的答案一直重复的问题 HOT 8
- gradio和vllm的结合问题
- 一个返回的bug
- AttributeError: type object 'AttentionMaskConverter' has no attribute '_ignore_causal_mask_sdpa' HOT 4
- sft过程的loss问题
- 没有权限下载模型 HOT 1
- 运行quikstart进行模型推理报错 HOT 4
- 本地部署llama 3 70B,微调与推理,需要的硬件配置 HOT 5
- Llama-Chinese API,每分钟使用30次
- 本地如何部署 Llama3-Chinese-8B-Instruct 求详细教程
- 中文能力很差是怎么回事
- Ollama 运行 Llama3-Chinese-8B-Instruct 回答乱生成 HOT 8
- docker-compose.yml里的NVIDIA里驱动问题
- 是否可以使用llama.cpp自己对huggingface上的FlagAlpha/Llama3-Chinese-8B-Instruct模型进行量化,下面是我遇到的问题
- lora微调这个怎么解决啊?
- LLama3-Chinese-8B-Instruct模型问题
- 为什么llama3的百度网盘里偏偏不放最关键的consolidated.00.pth??
- llamafamily/llama3-chinese-8b-instruct 是我使用方式不对吗?中文类效果很不好
- 请问lora微调时,使用到的损失函数是什么
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 llama2-chinese.