Repository navigation
fix: remove hardcoded API_KEYS - #39
Closed
vinaykulk621 wants to merge 1 commit into
Closed
vinaykulk621 wants to merge 1 commit into
vinaykulk621 wants to merge 1 commit into
Conversation
Hehe, you guys hardcoded API_KEYS????
|
@vinaykulk621 is attempting to deploy a commit to the EigenLabs Team on Vercel. A member of the Team first needs to authorize it. |
Member
|
^ these keys were revoked earlier. thank you for the PR though. |
anupsv
added a commit
that referenced
this pull request
Jun 15, 2026
Point the submodules at the merged commits carrying the Metal resource-COUNT crash fix: - libs/mlx-swift -> ac67822 (merged #4 Swift surface + #5 .gitmodules repoint to the Layr-Labs mlx/mlx-c forks + Cmlx pointer bump, i.e. the count-aware cache trim in MetalAllocator::malloc and the Memory.numResources / Memory.resourceLimit getters) - libs/mlx-swift-lm -> 404afee (merged #39 env-gated [rsrc] telemetry) This makes MLX.Memory.resourceLimit / .numResources resolve, so the live resource-count probes in ContinuousBatchingLiveTests compile. Verified locally: provider `swift build` and `swift build --build-tests` both complete clean (ContinuousBatchingLiveTests.swift compiles), with the nested Cmlx submodules resolving from the forks at the fix commits.
anupsv
added a commit
that referenced
this pull request
Jun 15, 2026
Point the submodules at the merged commits carrying the Metal resource-COUNT crash fix: - libs/mlx-swift -> ac67822 (merged #4 Swift surface + #5 .gitmodules repoint to the Layr-Labs mlx/mlx-c forks + Cmlx pointer bump, i.e. the count-aware cache trim in MetalAllocator::malloc and the Memory.numResources / Memory.resourceLimit getters) - libs/mlx-swift-lm -> 404afee (merged #39 env-gated [rsrc] telemetry) This makes MLX.Memory.resourceLimit / .numResources resolve, so the live resource-count probes in ContinuousBatchingLiveTests compile. Verified locally: provider `swift build` and `swift build --build-tests` both complete clean (ContinuousBatchingLiveTests.swift compiles), with the nested Cmlx submodules resolving from the forks at the fix commits.
Gajesh2007
added a commit
that referenced
this pull request
Jun 15, 2026
* Add live resource-count probes for the Metal resource-limit crash Two env-gated live tests characterise the `[metal::malloc] Resource limit (499000) exceeded` crash by driving batched decode and watching the Metal buffer COUNT (via the engine's [rsrc] telemetry): a small Qwen3-0.6B churn probe (varied prompt lengths across waves) and a sustained Gemma-4-26B high-concurrency probe. Both set a huge cacheLimit to mimic the big-RAM prod box where the byte-driven cache trim never fires, isolating pure count growth. Gated behind DARKBLOOM_LIVE_MLX_TESTS / _GEMMA / _MLX_RESOURCE_DEBUG so they never run in normal CI. * Add Metal resource-count fix handoff doc (fork-vs-vendor + merge order) * Bump mlx-swift + mlx-swift-lm to the resource-count fix Point the submodules at the merged commits carrying the Metal resource-COUNT crash fix: - libs/mlx-swift -> ac67822 (merged #4 Swift surface + #5 .gitmodules repoint to the Layr-Labs mlx/mlx-c forks + Cmlx pointer bump, i.e. the count-aware cache trim in MetalAllocator::malloc and the Memory.numResources / Memory.resourceLimit getters) - libs/mlx-swift-lm -> 404afee (merged #39 env-gated [rsrc] telemetry) This makes MLX.Memory.resourceLimit / .numResources resolve, so the live resource-count probes in ContinuousBatchingLiveTests compile. Verified locally: provider `swift build` and `swift build --build-tests` both complete clean (ContinuousBatchingLiveTests.swift compiles), with the nested Cmlx submodules resolving from the forks at the fix commits. * Address review: restore cacheLimit in probes; refresh handoff doc - Resource-count probes now snapshot MLX.Memory.cacheLimit and restore it in a defer (cacheLimit is process-global and Swift Testing shares the process, so the 80GB byte-trim-off setting would otherwise leak into other suites). Also switch to the non-deprecated Memory.cacheLimit property setter. - Handoff doc: the C++ fix is no longer local-only / in /tmp — point at the pushed fork commits + the darkbloom-metal-resource-count tags instead. * Address review: also lift memoryLimit in resource probes The byte-pressure reclaim in MetalAllocator::malloc fires on gc_limit_, which is derived from memoryLimit — NOT from cacheLimit. A prior live test can leave memoryLimit at 12–16GB via LiveInferenceFixtures.applyMemoryBudget (process- global; Swift Testing shares the process), so raising only cacheLimit still lets byte pressure free cached buffers and flatten the resource-count trajectory — a false negative for the count-limit bug. Both probes now raise AND restore memoryLimit alongside cacheLimit. --------- Co-authored-by: Gajesh Naik <26431906+Gajesh2007@users.noreply.github.com>
cursor Bot
pushed a commit
that referenced
this pull request
Jul 10, 2026
Ops HTTP path to clear start_authorized holds with settle_capped_as force_settled disposition, critical outbox enqueue, and ownership fencing. Also pins release same-op different-job Conflict race (#34).
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hehe, you guys hardcoded API_KEYS????