GithubHelp home page GithubHelp logo

Comments (6)

jerryli1981 avatar jerryli1981 commented on August 28, 2024 1

仔细看了一下,和23.04版本的megatron里的 forward_backward_pipelining_without_interleaving那几个函数很多参数都对不上啊。。。

报错不是发生在这里,由于您其他地方的报错,导致进入try catch中的catch部分才引起这个错误的

from pai-megatron-patch.

wangbluo avatar wangbluo commented on August 28, 2024

仔细看了一下,和23.04版本的megatron里的 forward_backward_pipelining_without_interleaving那几个函数很多参数都对不上啊。。。

from pai-megatron-patch.

jerryli1981 avatar jerryli1981 commented on August 28, 2024

您好,我用Megatron-LM-23.04和0.5.1版本的Patch是可以跑通的啊,我用的命令是:
sh run_finetune_megatron_llama.sh dsw /workspace/Megatron-LM-23.04/ /workspace/github/Pai-Megatron-Patch-0.5.1/ 7B 1 1e-5 1e-6 2048 2049 0 fp16 2 1 sel true false false /mnt/llama2-datasets/wudao_train.json /mnt/llama2-datasets/wudao_valid.json /mnt/llama2-ckpts/Llama-2-7b-hf-to-mg-tp2-pp1 2 /mnt/output_llama2

from pai-megatron-patch.

jerryli1981 avatar jerryli1981 commented on August 28, 2024

您第一步有执行ckpt convert吗?
cd /workspace/github/Pai-Megatron-Patch-0.5.1/toolkits/model_checkpoints_convertor/llama
sh model_convertor.sh /workspace/Megatron-LM-23.04 /mnt/llama2-ckpts/Llama-2-7b-hf /mnt/llama2-ckpts/Llama-2-7b-hf-to-mg-tp2-pp1 2 1 llama2-7b 0 false
另外您至少需要两张卡

from pai-megatron-patch.

wangbluo avatar wangbluo commented on August 28, 2024

您好,我用Megatron-LM-23.04和0.5.1版本的Patch是可以跑通的啊,我用的命令是: sh run_finetune_megatron_llama.sh dsw /workspace/Megatron-LM-23.04/ /workspace/github/Pai-Megatron-Patch-0.5.1/ 7B 1 1e-5 1e-6 2048 2049 0 fp16 2 1 sel true false false /mnt/llama2-datasets/wudao_train.json /mnt/llama2-datasets/wudao_valid.json /mnt/llama2-ckpts/Llama-2-7b-hf-to-mg-tp2-pp1 2 /mnt/output_llama2

感谢,我明天跑一下

from pai-megatron-patch.

jerryli1981 avatar jerryli1981 commented on August 28, 2024

您好,我用Megatron-LM-23.04和0.5.1版本的Patch是可以跑通的啊,我用的命令是: sh run_finetune_megatron_llama.sh dsw /workspace/Megatron-LM-23.04/ /workspace/github/Pai-Megatron-Patch-0.5.1/ 7B 1 1e-5 1e-6 2048 2049 0 fp16 2 1 sel true false false /mnt/llama2-datasets/wudao_train.json /mnt/llama2-datasets/wudao_valid.json /mnt/llama2-ckpts/Llama-2-7b-hf-to-mg-tp2-pp1 2 /mnt/output_llama2

感谢,我明天跑一下

谢谢,有问题可以进钉钉群直接找我

from pai-megatron-patch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.