8000 代码有多小bug · Issue #51 · KwaiKEG/KwaiAgents · GitHub
[go: up one dir, main page]

Skip to content

代码有多小bug #51

@JasonCZH4

Description

@JasonCZH4
  1. benchmark/infer_baichuan.py里面有os.environ["CUDA_VISIBLE_DEVICES"] = "7"没删除,运行时没注意到,卡了我半小时。。。。
  2. 代码里面很多里面都不能传参,都是写死的。比如infer文件不接受模型位置的参数、没有设置输入长度参数,/agents/kagent.py里面模型名字也是写死的。
  3. kwaiagents/agent_start.py模型名字莫名其妙加入lower处理,导致测试其他模型的时候,传入的名字一直和fastchat模型名字对不上。。。。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0