Skip to content

support sleep/wakeup for pt engine#3687

Merged
lvhan028 merged 4 commits intoInternLM:mainfrom
irexyc:sleep-pt
Aug 14, 2025
Merged

support sleep/wakeup for pt engine#3687
lvhan028 merged 4 commits intoInternLM:mainfrom
irexyc:sleep-pt

Conversation

@irexyc
Copy link
Copy Markdown
Collaborator

@irexyc irexyc commented Jun 30, 2025

Usage

import requests

url = 'http://0.0.0.0:23333/sleep'
requests.post(url, params={'level': '1'})

url = 'http://0.0.0.0:23333/wakeup'
requests.post(url, params={'tags': ['weights', 'kv_cache']})

@irexyc irexyc force-pushed the dev-0.9.1 branch 2 times, most recently from 452172c to 03fc484 Compare July 1, 2025 09:16
@lvhan028 lvhan028 requested a review from grimoire July 15, 2025 09:07
@lvhan028 lvhan028 added the enhancement New feature or request label Jul 15, 2025
@irexyc irexyc changed the base branch from dev-0.9.1 to main August 12, 2025 07:04
Copy link
Copy Markdown
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lvhan028 lvhan028 merged commit a45a78d into InternLM:main Aug 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants