Comments (3)
gpu部署同样遇到了这个问题
from visualglm-6b.
在VisualGLM-6B/web_demo_hf.py中,line55
if image_path is None:
return [(input, "图片不能为空。请重新上传图片并重试。")], []
改成
if image_path is None:
image_path = ""
from visualglm-6b.
torch安装的也是cpu版本,使用CPU时报错:
File "/usr/local/python3/lib/python3.10/site-packages/torch/cuda/init.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
from visualglm-6b.
Related Issues (20)
- 直接源代码安装也是这个问题 HOT 4
- python api.py启动没报错,但是用客户端请求就报错
- Exception: Build 4bit layer failed. You need to install the latest bitsandbytes. Try `pip install bitsandbytes`. If you still meet error after installation, try running `from bitsandbytes.nn import LinearNF4` with python and fix the error. HOT 1
- 微调时出现TypeError: string indices must be integers错误 HOT 1
- 在运行web_demo时,报错AttributeError: 'Chatbot' object has no attribute 'style'. HOT 3
- 运行web_demo时一直无结果 HOT 4
- 什么时候开源基于GLM的中文CogVLM呢? HOT 1
- python cli_demo.py 下载模型时候报错 HOT 3
- 关于微调之后的模型表现问题
- [deepspeed] 0VERFLOW! Rank 0 Skipping step. Attempted os scale: 65536!!! HOT 1
- Where can I get the file visualglm-6b/300/mp_rank_00_model_states.pt HOT 4
- ERROR: assert vocab_file is not None
- AttributeError: 'ChatGLMTokenizer' object has no attribute 'sp_tokenizer'. Did you mean: '_tokenize'? HOT 1
- 加载微调后模型时报错object of type 'QuantState' has no len() HOT 8
- 您好,请问是否可以训练BLIP部分,微调代码似乎只可以微调chatglm的指定层的参数 HOT 4
- 输入路径后出现None is not in list HOT 2
- python main.py KeyError: 'type'
- AttributeError: module 'transformers_modules.hf.modeling_chatglm' has no attribute 'ChatGLMForConditionalGenerationWithImage'. Did you mean: 'ChatGLMForConditionalGeneration'? HOT 8
- huggingface模型要怎么微调,微调之后报错找不到xxxxxx.pt那个文件
- deepspeed分布式训练出现sat ValueError inconsistent 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 visualglm-6b.