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_pow -pm a:1 && gpu_pow -pl 0:220

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

Set GPU fan speed:

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 20 && 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.6.3.tar.gz (82.0 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.6.3-py3-none-any.whl (90.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tfmx-0.6.3.tar.gz
Algorithm Hash digest
SHA256 e4cdeb62fe99e2a557023dd15e73fb8a59c5c616d8e90e896a05d0361bfd8194
MD5 7e003234caddd371ddb2c7f226fcf1fc
BLAKE2b-256 88290c9d8af0341d920ca5f3d43e79f6ae77377f45c734334793cc0a3c0d952d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tfmx-0.6.3-py3-none-any.whl
  • Upload date:
  • Size: 90.4 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.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cfc9691903e741327b2cdb8abba0ad8dba23efca807d564a29848620efc6fb9e
MD5 a792e6d76b1dfe5c4a97b1ca68e94c5d
BLAKE2b-256 0c952f68a64dfdd1ea514f8d59ddf6a58dac7ee4746803ea19bbaeffc724e2e5

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