curl -sL https://gist.githubusercontent.com/melMass/b11d700f3f52b349ce15f322751ad116/raw/42c39e16dfbe6fd8ab27aaec3e2e0f171e83ca2d/barestrape.sh | sh -s -- git@github.com:org/repo.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
| from safetensors.torch import load_file, save_file | |
| import argparse | |
| def convert_lora_keys_for_wan_comfy(input_path, output_path): | |
| try: | |
| state_dict = load_file(input_path) | |
| new_state_dict = {} | |
| print(f"Successfully loaded LoRA from: {input_path}") |
massive panel by Alexey Kuchinski converted to python 3 (nuke 13+)
Extracted from: https://github.com/kurokirasama/nushell_sublime_syntax with the fix from kurokirasama/nushell_sublime_syntax#4
This guide provides a comprehensive reference for tensor shapes across different AI frameworks and data types.
Important
These are common conventions, not enforced rules
Note
- Batch dimension (B) is typically the first dimension when present
- Some frameworks allow flexible dimension ordering through configuration
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
| { | |
| "ada": "https://github.com/briot/tree-sitter-ada", | |
| "agda": "https://github.com/tree-sitter/tree-sitter-agda", | |
| "angular": "https://github.com/dlvandenberg/tree-sitter-angular", | |
| "apex": "https://github.com/aheber/tree-sitter-sfapex", | |
| "arduino": "https://github.com/ObserverOfTime/tree-sitter-arduino", | |
| "asm": "https://github.com/RubixDev/tree-sitter-asm", | |
| "astro": "https://github.com/virchau13/tree-sitter-astro", | |
| "authzed": "https://github.com/mleonidas/tree-sitter-authzed", | |
| "awk": "https://github.com/Beaglefoot/tree-sitter-awk", |
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
| local overseer = require('overseer') | |
| local nushell = require('mtb.nushell') | |
| local mtb_shell = require('mtb.utils.shell') | |
| ---@type overseer.TemplateFileDefinition | |
| local tmpl = { | |
| name = 'nushell', | |
| priority = 60, | |
| params = { | |
| name = { type = 'string', optional = true, default = 'no name' }, |
NewerOlder