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
| # Install PyTorch separately for the B300 / Blackwell CUDA stack, for example: | |
| # pip install --pre --upgrade torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128 | |
| # | |
| # Then install this file: | |
| # pip install --upgrade -r requirements_gemma4_additive_moe_reviewed_v9_streamfix.txt | |
| # | |
| # FlashAttention 2 is optional. The script defaults to SDPA for maximum | |
| # out-of-the-box compatibility. To use FlashAttention 2 after installing it: | |
| # pass --attn_implementation flash_attention_2. | |
| # To install FlashAttention explicitly: |
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
| import { firefox } from 'playwright'; | |
| const config = { | |
| 'window.history.length': 4, | |
| 'navigator.language': 'en-US', | |
| 'navigator.languages': ['en-US'], | |
| }; | |
| const browserServer = await firefox.launchServer({ | |
| headless: false, | |
| args: ['--config', JSON.stringify(config)], |