LongLoRA VS RingAttention

Compare LongLoRA vs RingAttention and see what are their differences.

LongLoRA

Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral) (by dvlab-research)

RingAttention

Transformers with Arbitrarily Large Context (by lhao499)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
LongLoRA RingAttention
4 1
2,478 536
3.8% -
9.1 6.6
3 months ago 7 days ago
Python Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LongLoRA

Posts with mentions or reviews of LongLoRA. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-15.
  • Ask HN: AI/ML papers to catch up with current state of AI?
    3 projects | news.ycombinator.com | 15 Dec 2023
    LongAlpaca / One of many ways to extend context, and a useful dataset / https://arxiv.org/abs/2309.12307
  • Aurelian: 70B 32K story-writing (and more) [Alpha]
    3 projects | /r/LocalLLaMA | 9 Dec 2023
    Finally, LongLORA is a method to reduce the number of computations over a large context, and also specifically train the embed and norm layers fully, that is, no quantization or LORA for those. They are small layers and easy to train without too much VRAM cost, but the LongLORA authors noticed they have a big impact on long context performance. I am not using their computation reduction methods, but I am using their suggestion to train embed/norm layers fully.
  • Why train on Yi 4K instead of 200K?
    2 projects | /r/LocalLLaMA | 7 Dec 2023
    That used to be true, but things like LongLORA and LongQLoRA demonstrate that you can increase the context length of a foundation model.
  • Using Overfitting to Debug My LLM [P]
    1 project | /r/MachineLearning | 14 Oct 2023
    For reference, I am using the LongLoRA SFT implementation for fine-tuning a CodeLLaMA model on a code generation instruction. I have also attached my evaluation code below:

RingAttention

Posts with mentions or reviews of RingAttention. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-05.

What are some alternatives?

When comparing LongLoRA and RingAttention you can also consider the following projects:

relora - Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates

chatgpt_academic - 为GPT/GLM提供图形交互界面,特别优化论文阅读润色体验,模块化设计支持自定义快捷按钮&函数插件,支持代码块表格显示,Tex公式双显示,新增Python和C++项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持清华chatglm等本地模型 [Moved to: https://github.com/binary-husky/gpt_academic]

Zicklein - Finetuning instruct-LLaMA on german datasets.

Blockwise-Parallel-Transformer - 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.

torch-adapters - Small Library of PyTorch Adaptation modules

gpt_academic - 为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss等。

discus - A data-centric AI package for ML/AI. Get the best high-quality data for the best results. Discord: https://discord.gg/t6ADqBKrdZ

punica - Serving multiple LoRA finetuned LLM as one

xTuring - Build, customize and control you own LLMs. From data pre-processing to fine-tuning, xTuring provides an easy way to personalize open-source LLMs. Join our discord community: https://discord.gg/TgHXuSJEk6

llama-peft-tuner - Tune LLaMa-7B on Alpaca Dataset using PEFT / LORA Based on @zphang's https://github.com/zphang/minimal-llama scripts.

LLM-Finetuning-Hub - Toolkit for fine-tuning, ablating and unit-testing open-source LLMs. [Moved to: https://github.com/georgian-io/LLM-Finetuning-Toolkit]