sudo apt update
sudo apt install zsh curl git
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
| MODEL_TO_USE = "NanoV2" # or "MistralNemo" | |
| IMPORT_MODEL_AND_DATA = False # set to True to import the model from HF hub, only needs to be run once | |
| REASONING_STYLE = "gpt_oss_120b" # or DeepSeek_R1_0528 | |
| NUM_NODES = 2 | |
| GPUS_PER_NODE = 8 | |
| import nemo_run as run | |
| from nemo.collections import llm | |
| from nemo.collections.llm.gpt.model.mistral import MistralModel, MistralNeMoConfig12B | |
| from nemo.collections.llm.gpt.model.ssm import MambaModel, NemotronNano12Bv2 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
I’ve written a newer optimized 2026 version of this guide with a faster setup using Zinit + Starship and improved plugin loading.
This version avoids slow shell startups and works better with modern Zsh setups.
Updated guide: https://gist.github.com/n1snt/2cccc8aa5f7b645a7628d3512c70deb6
- Download these 2 files
- Compile AOSP without fcm from stock and wait for check_vintf to error out
- Delete Python prefix from all lines (e.g.
checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554]) - Paste the result in fqnames.txt
- Launch the script
Migrated with additional information to my blog: https://msfjarvis.dev/posts/understanding-and-resolving-selinux-denials-on-android/
Denial in question
avc: denied { read write } for pid=29059 comm="i.tetherservice" name="ipa" dev="tmpfs" ino=11991 scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
