Open
Conversation
MoringLotus
commented
Apr 8, 2026
- 当前工作: 统一所有的parser到base_config中(python/infinilm/base_config.py), 支持通过infinilm.base_config来使用配置类
- 下一步开展对args的处理,对现有的几个代表性的script使用base_config进行简化
wooway777
requested changes
Apr 9, 2026
Collaborator
wooway777
left a comment
There was a problem hiding this comment.
大致上可以接着写,有一些参数的可选项相对于之前的版本有变化,需要更新/补充。
然后后面应该先接着这个pr继续写,替换掉目前四个入口里的argument parsing,以可以跑通的单位合并。
| - 编译并安装 `InfiniLM` | ||
|
|
||
| ```bash | ||
| xmake && xmake install |
jiuge.sh
Outdated
Author
There was a problem hiding this comment.
好的,会在后面PR中移除该文件和上面README.md的修改
python/infinilm/base_config.py
Outdated
| import sys | ||
| import os | ||
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../scripts")) | ||
| from libinfinicore_infer import DeviceType |
Collaborator
There was a problem hiding this comment.
尽量不要引用这个,infinicore infer是旧版用的,新的尽量不要依赖。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.