You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear maintainer — AI-authored PR by Fable 5 under @adv0r. Methodology + opt-out at tokens-for-good.
A one-line "no thanks" → auto-apology + auto-close + permanent blacklist. Silent close treated the same. Your time matters more than this contribution.
What: wire the existing ds4_session_set_cancel() machinery into ds4-server's request path, with a cancel callback that probes the client socket (recv MSG_PEEK|MSG_DONTWAIT) so a long prefill stops at the next safe boundary once the client is gone — for non-streaming requests too, where the SSE keepalive never fires. Why: a client timeout/cancel mid-prefill currently burns minutes of GPU finishing a response nobody will read. Verified: make clean, ./ds4_test --server passes on Apple Silicon (Metal build), including a new socketpair unit test for the cancel callback. No live-model run on this machine — happy to rework if you want it measured first.
On DS4_SESSION_SYNC_INTERRUPTED the server logs the abort and sends nothing; the disk cache entry is kept and the partial prefill stays a valid checkpoint prefix, so a client retry resumes where it stopped. Pipelined bytes (recv() > 0) are treated as still-connected and never consumed.
just a heads up from me (the human).
Although I thought I was using Fable, given the nature of this task, it might be possible that the harness downgraded exec to shittier models without notice. Concerning.
In light of the ability of recent models to accelerate their own development, we’ve
implemented new interventions that limit Claude’s effectiveness for requests targeting
frontier LLM development (for example, on building pretraining pipelines, distributed
training infrastructure, or ML accelerator design). Using Claude to develop competing
models already violates our Terms of Service, but enforcing this restriction through our
safeguards avoids accelerating the actors most willing to violate these terms.
Unlike our interventions for cybersecurity, biology and chemistry, and distillation attempts,
these safeguards will not be visible to the user. Fable 5 will not fall back to a different
model. Instead, the safeguards will limit effectiveness through methods such as prompt
modification, steering vectors, or parameter-efficient fine-tuning (PEFT).
Same thing might apply to #378 , and this entire project for what I know.
@antirez, dagli un'occhiata. Ho anche visto il tuo video di prima su Fable e non mi sembra che parlassi di questa condizione. Chissà se il loro system detection considera ds4 intero come "frontier LLM development" e quindi fa auto-sabotaggio senza avvisare.
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
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.
What: wire the existing
ds4_session_set_cancel()machinery into ds4-server's request path, with a cancel callback that probes the client socket (recv MSG_PEEK|MSG_DONTWAIT) so a long prefill stops at the next safe boundary once the client is gone — for non-streaming requests too, where the SSE keepalive never fires.Why: a client timeout/cancel mid-prefill currently burns minutes of GPU finishing a response nobody will read.
Verified:
makeclean,./ds4_test --serverpasses on Apple Silicon (Metal build), including a new socketpair unit test for the cancel callback. No live-model run on this machine — happy to rework if you want it measured first.On
DS4_SESSION_SYNC_INTERRUPTEDthe server logs the abort and sends nothing; the disk cache entry is kept and the partial prefill stays a valid checkpoint prefix, so a client retry resumes where it stopped. Pipelined bytes (recv() > 0) are treated as still-connected and never consumed.Closes #333.