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
| #!/usr/bin/env bash | |
| # setup-agent-guides.sh | |
| # --------------------- | |
| # Bootstraps agent guide files for a repository. | |
| # | |
| # This script is intended for "new repo setup" and repeat-safe updates: | |
| # 1) Reads a source guide file (`.md` by default, or a provided path) | |
| # 2) Copies it to `AGENTS.md` (canonical guide file) | |
| # 3) Creates `CLAUDE.md` and `GEMINI.md` aliases to `AGENTS.md` | |
| # 4) Falls back to plain file copies if symlinks are unavailable |
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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # update_agents.sh | |
| # Regenerates agents.md by sending (existing agents.md + new info) to Claude using a fixed system prompt. | |
| # | |
| # Requirements: | |
| # - bash, curl, jq | |
| # - ANTHROPIC_API_KEY environment variable set | |
| # |
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
| """ | |
| Accurate comparison of MLX nvfp4 vs NVIDIA NVFP4 implementation. | |
| Key architectural difference: | |
| NVIDIA NVFP4 uses a TWO-LEVEL SCALING strategy: | |
| 1. Global FP32 per-tensor scale: s_enc = (6 * 448) / tensor_amax | |
| 2. Local E4M3 per-block scale: one scale per 16 elements | |
| MLX appears to use only single-level E4M3 block scaling without the FP32 tensor scale. |
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
| # P100 Extended Implementation Tasks - 100+ tasks for full agent utilization | |
| # Tesla P100 (GP100) - 56 SMs, 3584 CUDA cores, 16GB HBM2 @ 732 GB/s | |
| tasks: | |
| # ============================================ | |
| # CUDA Kernels (P0 - Critical) - 20 tasks | |
| # ============================================ | |
| - name: kernel-vecadd-sm60 | |
| prompt: | |
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
| Patchy 2.0 License with OpenAI and California State Exclusion | |
| Version 2.0, May 2024 | |
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 1. Definitions. | |
| "License" shall mean the terms and conditions for use, reproduction, | |
| and distribution as defined by Sections 1 through 9 of this document. |