Skip to content

Commit 9e5b991

Browse files
Update convert_cogview4_to_diffusers.py
1 parent 6f5407e commit 9e5b991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convert_cogview4_to_diffusers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def main(args):
209209
if dtype is not None:
210210
vae = vae.to(dtype=dtype)
211211

212-
text_encoder_id = "/share/home/zyx/Models/glm-4-9b-hf"
212+
text_encoder_id = "THUDM/glm-4-9b-hf"
213213
tokenizer = PreTrainedTokenizerFast.from_pretrained(text_encoder_id)
214214
text_encoder = GlmForCausalLM.from_pretrained(
215215
text_encoder_id,

0 commit comments

Comments
 (0)