-
Notifications
You must be signed in to change notification settings - Fork 37
Python SDK: Adds section on optional dependencies #1906
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
base: main
Are you sure you want to change the base?
Conversation
📚 Mintlify Preview Links📝 Changed (1 total)📄 Pages (1)
🤖 Generated automatically when Mintlify deployment succeeds |
models/ref/python.mdx
Outdated
| | `sweeps`| Manage sweeps. | [sweeps](https://pypi.org/project/sweeps/) | | ||
| | `launch` | Installs cloud providers and orchestration platforms | [awscli](https://pypi.org/project/awscli/), [azure-identity](https://pypi.org/project/azure-identity/), [azure-containerregistry](https://pypi.org/project/azure-containerregistry/), and more | | ||
| | `models`| | [cloudpickle](https://pypi.org/project/cloudpickle/) | | ||
| | `perf` | High-performance JSON serializer. | [orjson](https://pypi.org/project/orjson/) | |
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.
We're trying hard to make orjson a requirement, so this will go away soon. It doesn't depend on us, unfortunately: ijl/orjson#607
| | `perf` | High-performance JSON serializer. | [orjson](https://pypi.org/project/orjson/) | |
|
|
||
| Use extras when you need deeper integration with specific platforms or features. For example: | ||
|
|
||
| * Install `gcp` if you store datasets, models, or artifacts in Google Cloud Storage. |
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.
Move, make h3 headings. Explain what "dependency" means.
Description
Adds table of optional Python SDK dependencies (i.e. "extras"). Note that some are excluded per recommendation of Eng and SDK Team.
List taken from: https://github.com/wandb/wandb/blob/main/pyproject.toml#L61
How it works
models/ref/python.mdx:wandb/triggers action (runspython generate_sdk_extras_table.py) inwandb/docs.GH Action trigger PR
See this PR for workflow added to wandb/wandb that triggers when pyproject.toml file is edited: wandb/wandb#10976
Callout for reviewers
My GH Action writing skills are OK. TL;DR I used Claude Code to write the workflow files in
wandb/andwandb/docs.