[GH-ISSUE #5529] Support glm3 and glm4 #49964

Closed
opened 2026-04-28 13:35:46 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @Forevery1 on GitHub (Jul 7, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5529

Currently, llama.cpp has merged a PR for this model, which means that llama.cpp already supports gml3 and glm4. We hope to add support for this model @jmorganca
https://github.com/ggerganov/llama.cpp/pull/8031

Originally created by @Forevery1 on GitHub (Jul 7, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5529 Currently, llama.cpp has merged a PR for this model, which means that llama.cpp already supports gml3 and glm4. We hope to add support for this model @jmorganca https://github.com/ggerganov/llama.cpp/pull/8031
GiteaMirror added the model label 2026-04-28 13:35:46 -05:00
Author
Owner

@jmorganca commented on GitHub (Jul 7, 2024):

👀

<!-- gh-comment-id:2212475716 --> @jmorganca commented on GitHub (Jul 7, 2024): 👀
Author
Owner

@kiradzS commented on GitHub (Jul 8, 2024):

Hope to update the support soon!

<!-- gh-comment-id:2214830639 --> @kiradzS commented on GitHub (Jul 8, 2024): Hope to update the support soon!
Author
Owner

@loveyume520 commented on GitHub (Jul 8, 2024):

Hope the same

<!-- gh-comment-id:2215091992 --> @loveyume520 commented on GitHub (Jul 8, 2024): Hope the same
Author
Owner

@taozhiyuai commented on GitHub (Jul 9, 2024):

https://github.com/ollama/ollama/issues/5553. @jmorganca

<!-- gh-comment-id:2216178163 --> @taozhiyuai commented on GitHub (Jul 9, 2024): https://github.com/ollama/ollama/issues/5553. @jmorganca
Author
Owner

@jmorganca commented on GitHub (Jul 9, 2024):

Hi folks! https://ollama.com/library/glm4

<!-- gh-comment-id:2216669132 --> @jmorganca commented on GitHub (Jul 9, 2024): Hi folks! https://ollama.com/library/glm4
Author
Owner

@tobias-varden commented on GitHub (Jul 10, 2024):

The model sometimes output a series of G;s
ollama run glm4:9b-chat-q4_K_M

User: Who is america's president?
As of my last update in early 2023, the President of the United States is Joe Biden. However, political offices
are subject to change, so it's always best to check the latest sources for the current officeholder.

Today's date is 10th of July and in November there will be a new election/
Given that today's date is the 10th of July, if we're discussing an upcoming election in November, we would be
looking at either the midterm elections in the United States or another country's general election, depending on
the specific context.

For the U.S., the next major election would typically be the midterm elections, which are held two years after a
presidential election year. Since the last presidential election was in November 2020 (which you mentioned as
"today"), the midterm elections for 2022 have already passed. Therefore, if we're talking about an election that
is more than six months away from now, it would be the next general election for president.

The 2024 United States presidential election will take place on Tuesday, NovemberGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG

<!-- gh-comment-id:2220141218 --> @tobias-varden commented on GitHub (Jul 10, 2024): The model sometimes output a series of G;s `ollama run glm4:9b-chat-q4_K_M` > User: Who is america's president? As of my last update in early 2023, the President of the United States is Joe Biden. However, political offices are subject to change, so it's always best to check the latest sources for the current officeholder. > Today's date is 10th of July and in November there will be a new election/ Given that today's date is the 10th of July, if we're discussing an upcoming election in November, we would be looking at either the midterm elections in the United States or another country's general election, depending on the specific context. > For the U.S., the next major election would typically be the midterm elections, which are held two years after a presidential election year. Since the last presidential election was in November 2020 (which you mentioned as "today"), the midterm elections for 2022 have already passed. Therefore, if we're talking about an election that is more than six months away from now, it would be the next general election for president. > The 2024 United States presidential election will take place on Tuesday, NovemberGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
Author
Owner

@cwegener commented on GitHub (Jul 10, 2024):

The model sometimes output a series of G;s ollama run glm4:9b-chat-q4_K_M

https://github.com/ggerganov/llama.cpp/pull/8031#issuecomment-2219752905

<!-- gh-comment-id:2220328245 --> @cwegener commented on GitHub (Jul 10, 2024): > The model sometimes output a series of G;s `ollama run glm4:9b-chat-q4_K_M` > https://github.com/ggerganov/llama.cpp/pull/8031#issuecomment-2219752905
Author
Owner

@ciprianveg commented on GitHub (Oct 17, 2024):

Can you please add also glm4 chat 1M?

<!-- gh-comment-id:2419141000 --> @ciprianveg commented on GitHub (Oct 17, 2024): Can you please add also glm4 chat 1M?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#49964