A collection of tricks to speed up LLMs, see our transformer-tricks papers on arXiv
Project description
Setup
pip3 install --quiet -r requirements.txt
To run llama and other LLMs that need an agreement (not SmolLM), you first have to type the following:
huggingface-cli login
Above will ask you for the hf_token, which is the same you use e.g. in colab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file transformer_tricks-0.1.2.tar.gz.
File metadata
- Download URL: transformer_tricks-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
563f30f7510b6915235c4a11a690ae5f8167939445e9502767b5df8907deaa0a
|
|
| MD5 |
bde2deb089e02c15d7eb5b89de35bfe1
|
|
| BLAKE2b-256 |
ab620481ddf6d4dc04899b3deafba1322f2fc8d304378f6ca92be4f2ce492d91
|
File details
Details for the file transformer_tricks-0.1.2-py3-none-any.whl.
File metadata
- Download URL: transformer_tricks-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c000ee964c75d11d2e1274e2f8eee39461ab6f3a6dea95a2d56eb2197344a063
|
|
| MD5 |
c69d4c7edf8f18bba4c8919f17c664d5
|
|
| BLAKE2b-256 |
5bb625fc52bf2b16f52b8924502778a6e09f2a10278e45c4fdf6d06af11462b6
|