tinygrad icon indicating copy to clipboard operation
tinygrad copied to clipboard

You like pytorch? You like micrograd? You love tinygrad! ❤️

Results 671 tinygrad issues
Sort by recently updated
recently updated
newest added

In an effort to stick closely to the Pytorch API, I added functionality for testing exceptions being thrown. The squeeze function pops the targeted dimension if its size is 1....

llama.py has an option to run the profiler on one of the tokens that gets generated, but it seems the profiler wants to run only on the third token. If...

I could reproduce the failing Metal tests on the CI on a local Intel Mac, so I guess the failures are specific to this platform. I have narrowed it down...

Use `-n=auto` to speed up tests in CI. | | Before | After | Speed up | |-----------------|:-------:|:-------:|:------------:| | Optimizer Test | 1m21s | 45s | 44% | | GPU...

added negative int for int case TODO: test this on real GPU. test passed on tinybox

this used to at least produce non-nan losses. testing it...

also clean up some examples to use __main__ and not initialize resources outside of main This limits the amount of memory leaked in the child processes. For very large kernels,...

You only need to install "hsa-rocr comgr" (on a real system, remu needs more? @Qazalin) We can make HIP CI a lot faster. We also need to replace * hsa-rocr...

## Usage Instructions ### Step 1: Downloading, Verifying, and Uncompressing Datasets Ensure the dataset is properly downloaded, verified against an MD5 hash, and uncompressed to your specified base directory. **Command:**...

bounty locked
mlperf

python3 tinygrad/examples/coder.py [44/175] create model: 240.74 ms https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B/resolve/main/pytorch_model-00001-of-00002.bin?download=true: 100%|███████████████████████████████████████████████████| 9.94G/9.94G [03:14