fix device problem ade85af
zR commited on
How to use zai-org/glm-4v-9b with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("zai-org/glm-4v-9b", trust_remote_code=True, dtype="auto", device_map="auto")