-
Notifications
You must be signed in to change notification settings - Fork 293
wandb weave tracing integration #270
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
Open
ropresearch
wants to merge
20
commits into
main
Choose a base branch
from
rop/weave
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b379dbc
wandb weave tracing integration
ropresearch 6f169bb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e122194
precommit format fixes
ropresearch 6de15ab
Merge branch 'rop/weave' of https://github.com/NousResearch/atropos i…
ropresearch 5c34f48
documentation updates
ropresearch f5da18f
reverted weave ops, only for base env completions tracing
ropresearch 62fa2ab
format and weave cleanup
ropresearch 2df4ee9
Update to allow tracing flag through config
ropresearch 0179b25
zmq message passing & env data aggregation for wandb
ropresearch 646da3a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f58c927
decoupled zmq from server through run-api cli command subprocess
ropresearch 03cc5e3
Merge branch 'rop/zmq-message-pass' of https://github.com/NousResearc…
ropresearch e2fe5e7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 735c14f
Merge pull request #282 from NousResearch/rop/zmq-message-pass
ropresearch 0050d1f
Merge branch 'main' into rop/weave
ropresearch d1bcadc
tag fixes and ZMQ change for better env categorization
ropresearch f28c344
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d227d9a
env controlled wandb log pushes
ropresearch fba8922
Merge remote rop/weave, resolve sidecar conflicts
ropresearch 7654e3d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,3 +197,18 @@ These class-level variables in `BaseEnv` can be overridden in your subclass to c | |
| * **CLI Integration**: Provides a `cli()` class method using `pydantic-cli` to easily create command-line interfaces for your environment (e.g., `python your_env_module.py serve --port 8001 ...`). See `get_cli_serve_config_cls` and `get_cli_process_config_cls`. | ||
|
|
||
| By implementing the required methods and optionally overriding others, you can create diverse environments that leverage the distributed training infrastructure provided by the `Atropos` framework. | ||
|
|
||
| --- | ||
|
|
||
| ## Weave tracing in environments | ||
|
|
||
| Environments emit Weave traces to help you inspect rollout flow and LLM calls: | ||
|
|
||
| - Enabled by default; disable with `WEAVE_DISABLED=true`. | ||
|
||
| - Optional project override via `WEAVE_PROJECT=<your-project-name>`. | ||
| - Traces include: | ||
| - Environment operations (group collection and send-to-API) | ||
| - LLM calls to OpenAI-compatible providers (including SGLang/TRL vLLM wrappers) | ||
| - Useful attributes (env name/id, model name, base URL, group/batch sizes) | ||
|
|
||
| View your traces at `https://weave.wandb.ai` under your project. | ||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.