Skip to content

Main - #24

Closed
alex-16moro wants to merge 25 commits into
ramp-demofrom
main
Closed

Main#24
alex-16moro wants to merge 25 commits into
ramp-demofrom
main

Conversation

@alex-16moro

Copy link
Copy Markdown
Owner

What does this PR do?

Fixes # (issue)

Before submitting

  • Did you use an AI agent (Claude Code, Codex, Cursor, etc.) to help with this PR? If so:
    • Did you read the Coding with AI agents guide?
    • Did you run the self-review skill on the diff?
    • Did you share the final self-review notes in the PR description or a comment?
  • Did you read the contributor guideline?
  • Did you read our philosophy doc? (important for complex PRs)
  • Was this discussed/approved via a GitHub issue or the forum? Please add a link to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?
  • Are you the author (or part of the team) of the model/pipeline (only applicable for model/pipeline related PRs)?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

cursoragent and others added 25 commits September 20, 2026 07:44
…ault MCP

Copy Cursor overlay files onto this fork so Cloud launches do not prompt
for Hub OAuth or stdio cwd. mcp.json has empty mcpServers; opt-in lives
in mcp.optional.json. Does not modify upstream AGENTS.md or .ai/.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
[fork demo — not for upstream] Empty default MCP overlay attach
Add a contract-only EulerLiteScheduler (set_timesteps + step) and matching
signature/behavioral tests. Sampler math is left as TODO(engineer).

Co-authored-by: alex-16moro <alex-16moro@users.noreply.github.com>
[fork demo — not for upstream] Scaffold EulerLiteScheduler contract
… step

Replace the placeholder step() with the first-order Euler update from
EulerDiscreteScheduler (epsilon prediction, leading timesteps, terminal
sigma 0). Add a unit test that pins prev_sample = sample + (sigma_next - sigma) * epsilon.

Co-authored-by: alex-16moro <alex-16moro@users.noreply.github.com>
Register EulerLiteScheduler in the lazy import maps so
`from diffusers import EulerLiteScheduler` works.

Co-authored-by: alex-16moro <alex-16moro@users.noreply.github.com>
GitHub check-run for changed scheduler/test files only. Does not run
convention_check --all. Does not replace inherited Hugging Face workflows.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
[fork demo — not for upstream] File-scoped Ramp Kit overlay CI
Register EulerLiteScheduler in the scheduler toctree, overview table,
and a short autodoc page.

Co-authored-by: alex-16moro <alex-16moro@users.noreply.github.com>
[fork demo — not for upstream] Add EulerLiteScheduler API docs
Copy the overlay templates and stop at a file-scoped 0-blocking gate.
Do not send the first contribution through Euler/DDPM source or docs search.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
…3eed

[fork demo — not for upstream] Scope /scaffold to the registry
Contract-only overlay template copy (set_timesteps + step). Sampler math
left as TODO(engineer). EulerLiteScheduler already lives on main.

Co-authored-by: alex-16moro <alex-16moro@users.noreply.github.com>
Default mcp.json is search_docs over stdio, not Hub HTTP. Cloud dropdown
is diffusers-docs-mcp; the launcher finds ramp-kit from any cwd.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
[fork demo — not for upstream] Add HeunLiteScheduler scaffold
…ble-3eed

[fork demo — not for upstream] Expose search_docs over stdio MCP
A new engineer on this fork should read Hugging Face AGENTS.md/.ai/ and
invoke make style / make quality / check_dummies, not the old two-files-only
recipe. Attach copies overlay/scaffold.md. Does not overwrite AGENTS.md or
.ai/ and does not disable inherited workflows.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
…ffold-3eed

[fork demo — not for upstream] Point overlay /scaffold at library CI
Attach the kit overlay so .cursor/mcp.json is {"mcpServers":{}}. Delete the
docs MCP launchers and optional Hub JSON. Do not touch AGENTS.md or .ai/.
Grounding is the library guide plus optional ramp-kit docs CLI --query.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
Copy the ramp-kit scheduler template and contract test, register PNDMLiteScheduler in the public API, and add autodoc so library consistency checks can pass. Keep TODO(engineer) in step().

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
make style reformats HeunLite/EulerLite sources and tests and sorts the
scheduler toctree so PNDMLiteScheduler is alphabetical. Needed for
`make quality` (ruff format / doc-builder) to exit 0.

Co-authored-by: ale93.moro <ale93.moro@gmail.com>
[fork demo — not for upstream] Add PNDMLiteScheduler scaffold
[fork demo — not for upstream] Empty the default overlay MCP
@github-actions github-actions Bot added documentation Improvements or additions to documentation CI tests schedulers utils labels Sep 24, 2026
@github-advanced-security

Copy link
Copy Markdown
Contributor

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Comment on lines +12 to +36
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Clone ramp-kit (customer gate, not the library)
run: |
if [ ! -d ramp-kit/.git ]; then
git clone --depth 1 https://github.com/alex-16moro/diffuser_agent.git ramp-kit
fi
pip install -r ramp-kit/requirements.txt
- name: File-scoped overlay gate
env:
OVERLAY_KIT: ${{ github.workspace }}/ramp-kit
OVERLAY_GATE_BASE: ${{ github.event.pull_request.base.sha || github.event.before }}
OVERLAY_GATE_HEAD: HEAD
run: |
SCRIPT=".github/scripts/overlay_pr_gate.py"
if [ ! -f "$SCRIPT" ]; then
SCRIPT="ramp-kit/tools/overlay_pr_gate.py"
fi
python3 "$SCRIPT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI documentation Improvements or additions to documentation schedulers tests utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants