sgl-project / sgl-project/SpecForge
[Bug] Missing specforge.modeling.target.sgl_model_wrapper import SglangTargetModel
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 347
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 41
Description
Checklist
- 1. I have searched related issues but cannot get the expected help.
- 2. The bug has not been fixed in the latest version.
- 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
- 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/SpecForge/discussions/new/choose Otherwise, it will be closed.
- 5. Please use English, otherwise it will be closed.
Describe the bug
Run train_eagle3_sgl_online will cast no module named specforge.modeling.target.sgl_model_wrapper import SglangTargetModel error.
Reproduction
bash examples/run_llama3_eagle3_sgl_online.sh
Environment
Official environment setup.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running bash examples/run_llama3_eagle3_sgl_online.sh in the official environment and inspect the import of specforge.modeling.target.sgl_model_wrapper.SglangTargetModel. Trace whether the module is present or exposed as expected; done means the reported import error no longer occurs when the reproduction command runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100