Skip to main content

Serve Transformers in one line

Project description

tfmx

Install

pip install tfmx --upgrade

Commands

Set GPU control state:

gpu_fan -cs a:1

Set GPU power limit:

# M-X GPU-0/1
gpu_pow -pm a:1 && gpu_pow -pl "0:160;1:240"

# M-A GPU-0/1
gpu_pow -pm a:1 && gpu_pow -pl "0,1:160"

Set GPU fan speed:

gpu_fan -cs a:1 && gpu_fan -fs a:100

Set GPU monitor with curve:

# gpu_mon -c "a:30-50/50-65/60-80/75-100;3,7:25-100" -s

Run tei compose and machine:

tei_compose up && sleep 45 && tei_machine run --perf-track

Run tei benchmark:

tei_benchmark -E "http://localhost:28800" -n 1000000 run

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

tfmx-0.7.tar.gz (81.8 kB view details)

Uploaded Source

Built Distribution

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

tfmx-0.7-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

Details for the file tfmx-0.7.tar.gz.

File metadata

  • Download URL: tfmx-0.7.tar.gz
  • Upload date:
  • Size: 81.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for tfmx-0.7.tar.gz
Algorithm Hash digest
SHA256 9b87f26e2ac5235ab1edb8d65bf0d946be0fc85913609a51c5ccafd8fd4eb6d8
MD5 f76db2b5acbbcb09e53a6ba717beb372
BLAKE2b-256 d2c2421287402b860c20c91355cbee8390be907234e588f64bbfea9acf445d53

See more details on using hashes here.

File details

Details for the file tfmx-0.7-py3-none-any.whl.

File metadata

  • Download URL: tfmx-0.7-py3-none-any.whl
  • Upload date:
  • Size: 92.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for tfmx-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9ee212021908875386bd7d4092fe11074ca501050b32831c7d0efecab7126dd5
MD5 3547a401300f8ca2a97d6ae964ab4389
BLAKE2b-256 d73937a07c0cec6ecc29cba4a339bf22d35e740357a9dccd801d6fff9121513c

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