Repository navigation
Update installation and import for veRL integration #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -114,6 +114,20 @@ sglang = [ | |
| "flash-attn>=2.7.0", | ||
| "torch>=2.6.0", | ||
| ] | ||
| rl = [ | ||
| "verl @ git+https://github.com/verl-project/verl.git@9433f8a8f2771256ea4f8f94e4401bcfe9703228", | ||
| "torch>=2.6.0", | ||
| "ray>=2.0.0", | ||
| "tensordict>=0.6.0", | ||
| "hydra-core>=1.3.0", | ||
| "tqdm>=4.60.0", | ||
| "transformers>=4.40.0", | ||
| "numpy>=1.24.0", | ||
| "accelerate>=1.0.0", | ||
| "peft>=0.10.0", | ||
| "wandb>=0.15.0", | ||
| "datasets>=4.0.0", | ||
| ] | ||
|
Comment on lines
+117
to
+130
|
||
| # System dependency: Node.js/npx is required for some MCP servers | ||
| # (google-maps, slack, notion, postgres, etc.) | ||
| # Install via: conda install -c conda-forge nodejs | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
except ImportError: passwill also swallow import errors coming from insidefully_asynconce that module exists (e.g., missing optional deps, syntax errors), making failures hard to debug. Consider only handling the specific case where the submodule is missing (e.g., catchModuleNotFoundErrorand verifye.namematches this package’sfully_asyncmodule, or pre-check withimportlib.util.find_spec), and let other import errors surface.