mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
* WIP: Stable diffusion WebGPU port * Load whole model: split safetensor to avoid Chrome allocation limit * Gitignore .DS_Store, remove debug print * Clip tokenizer in JS * WIP: Compile model in parts (text model, diffusor, get_x_prev_and_pred_x0, decoder), and recreate forward logic in JS * e2e stable diffusion flow * Create initial random latent tensor in JS * SD working e2e * Log if some weights were not loaded properly * Remove latent_tensor.npy used for debugging * Cleanup, remove useless logs * Improve UI * Add progress bar * Remove .npy files used for debugging * Add clip tokenizer as external dependency * Remove alphas_cumprod.js and load it from safetensors * Refactor * Simplify a lot * Dedup base when limiting elementwise merge (webgpu) * Add return type to safe_load_metadata * Do not allow run when webgpu is not supported * Add progress bar, refactor, fix special names * Add option to chose from local vs huggingface weights * lowercase tinygrad :) * fp16 model dl, decompression client side * Cache f16 model in browser, better progress * Cache miss recovery --------- Co-authored-by: George Hotz <72895+geohot@users.noreply.github.com>
46 lines
657 B
Plaintext
46 lines
657 B
Plaintext
__pycache__
|
|
.venv/
|
|
.vscode
|
|
.DS_Store
|
|
notebooks
|
|
.*.swp
|
|
.*.swo
|
|
*.pyc
|
|
*.so
|
|
*.txt
|
|
build
|
|
/dist
|
|
*.egg-info
|
|
/env
|
|
a.out
|
|
boxes.jpg
|
|
pandecode.dump
|
|
vertex.bin
|
|
recognize*
|
|
.idea
|
|
disassemblers/applegpu
|
|
disassemblers/cuda_ioctl_sniffer
|
|
*.prof
|
|
extra/datasets/cifar-10-python.tar.gz
|
|
extra/datasets/librispeech/
|
|
extra/datasets/imagenet/
|
|
extra/datasets/kits19/
|
|
extra/datasets/squad/
|
|
extra/datasets/img_align_celeba*
|
|
extra/datasets/open-images-v6-mlperf
|
|
extra/datasets/kits/
|
|
extra/datasets/COCO/
|
|
extra/datasets/audio*
|
|
venv
|
|
examples/**/net.*[js,json]
|
|
examples/**/*.safetensors
|
|
node_modules
|
|
package.json
|
|
package-lock.json
|
|
temp
|
|
*.csv
|
|
.coverage
|
|
coverage.xml
|
|
htmlcov
|
|
outputs_yolov8
|