Skip to main content

Serve Transformers and Manage GPUs

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:200"

# 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.8.tar.gz (86.3 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.8-py3-none-any.whl (97.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tfmx-0.8.tar.gz
Algorithm Hash digest
SHA256 2670807c504365831e7e4d65366a2b68b6d73524940d03bf9d54733470e7dce6
MD5 b02caeb4c3eb0273cdbfee40b8bf55de
BLAKE2b-256 b8773e871f5ae5f392c894462fa0d0561ffb78e6b432bb0eeaf5429442570e9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tfmx-0.8-py3-none-any.whl
  • Upload date:
  • Size: 97.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7231365a54f3181dc87cede382a1603d4e1f674fbdf89496f57ca086320a86d2
MD5 e4728bd1819acfbe9ade0c69ec8906d2
BLAKE2b-256 a0c205b58b9bee7ebeb0f190af2df9d204e49928164fcd4ff7828031a2acc151

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