Skip to content
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

[pallas] Added more documentation for grid and BlockSpec. #22134

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

gnecula
Copy link
Collaborator

@gnecula gnecula commented Jun 27, 2024

The starting point was the text in pipelining.md, where I replaced it now with a reference to the separate grid and BlockSpec documentation.

The grids and BlockSpecs are also documented in the quickstart.md, which I mostly left alone because it was good enough for a simple example.

I have also attempted to add a few docstrings.

The rendered documentation is at: https://jax--22134.org.readthedocs.build/en/22134/pallas/index.html and https://jax--22134.org.readthedocs.build/en/22134/jax.experimental.pallas.html#module-jax.experimental.pallas.

docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Show resolved Hide resolved
jax/_src/pallas/pallas_call.py Outdated Show resolved Hide resolved
jax/_src/pallas/pallas_call.py Outdated Show resolved Hide resolved
jax/_src/pallas/pallas_call.py Show resolved Hide resolved
jax/experimental/pallas/__init__.py Show resolved Hide resolved
@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Jun 27, 2024
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
docs/pallas/grid_blockspec.md Outdated Show resolved Hide resolved
The starting point was the text in pipelining.md, where I
replaced it now with a reference to the separate grid and BlockSpec
documentation.

The grids and BlockSpecs are also documented in the quickstart.md,
which I mostly left alone because it was good enough for a
simple example.

I have also attempted to add a few docstrings.
@copybara-service copybara-service bot merged commit 5fac179 into jax-ml:main Jun 30, 2024
15 checks passed
@gnecula gnecula deleted the pallas_doc branch July 1, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants