[PR #6064] [MERGED] convert: update llama conversion for llama3.1 #17275

Closed
opened 2026-04-16 05:57:36 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6064
Author: @mxyng
Created: 7/29/2024
Status: Merged
Merged: 8/21/2024
Merged by: @mxyng

Base: mainHead: mxyng/convert-llama3


📝 Commits (1)

📊 Changes

9 files changed (+44 additions, -9 deletions)

View changed files

📝 convert/convert_bert.go (+0 -1)
📝 convert/convert_gemma.go (+0 -1)
📝 convert/convert_gemma2.go (+0 -1)
📝 convert/convert_llama.go (+40 -3)
📝 convert/convert_phi3.go (+0 -1)
📝 convert/convert_test.go (+1 -0)
convert/testdata/Meta-Llama-3.1-8B-Instruct.json (+3 -0)
📝 llm/memory_test.go (+0 -1)
📝 server/sched_test.go (+0 -1)

📄 Description

llama3.1 contains a new tensor for rope scaling factors. derive this new tensor from llama3.1 configs if they exist


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6064 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/29/2024 **Status:** ✅ Merged **Merged:** 8/21/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/convert-llama3` --- ### 📝 Commits (1) - [`77903ab`](https://github.com/ollama/ollama/commit/77903ab8b4fb8075faad7bde5bde2eee3173e407) llama3.1 ### 📊 Changes **9 files changed** (+44 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `convert/convert_bert.go` (+0 -1) 📝 `convert/convert_gemma.go` (+0 -1) 📝 `convert/convert_gemma2.go` (+0 -1) 📝 `convert/convert_llama.go` (+40 -3) 📝 `convert/convert_phi3.go` (+0 -1) 📝 `convert/convert_test.go` (+1 -0) ➕ `convert/testdata/Meta-Llama-3.1-8B-Instruct.json` (+3 -0) 📝 `llm/memory_test.go` (+0 -1) 📝 `server/sched_test.go` (+0 -1) </details> ### 📄 Description llama3.1 contains a new tensor for rope scaling factors. derive this new tensor from llama3.1 configs if they exist --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 05:57:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#17275