Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transformer_tricks-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transformer_tricks-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for transformer_tricks-0.1.2.tar.gz
Algorithm Hash digest
SHA256 563f30f7510b6915235c4a11a690ae5f8167939445e9502767b5df8907deaa0a
MD5 bde2deb089e02c15d7eb5b89de35bfe1
BLAKE2b-256 ab620481ddf6d4dc04899b3deafba1322f2fc8d304378f6ca92be4f2ce492d91

See more details on using hashes here.

File details

Details for the file transformer_tricks-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for transformer_tricks-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c000ee964c75d11d2e1274e2f8eee39461ab6f3a6dea95a2d56eb2197344a063
MD5 c69d4c7edf8f18bba4c8919f17c664d5
BLAKE2b-256 5bb625fc52bf2b16f52b8924502778a6e09f2a10278e45c4fdf6d06af11462b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page