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 run -E "http://localhost:28800" -n 100000
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
tfmx-1.0.tar.gz
(141.2 kB
view details)
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
tfmx-1.0-py3-none-any.whl
(156.8 kB
view details)
File details
Details for the file tfmx-1.0.tar.gz.
File metadata
- Download URL: tfmx-1.0.tar.gz
- Upload date:
- Size: 141.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d778d7348ff9f74bf2247cf06d039409cd6d919d2dba3d1b58f93b8106cf9583
|
|
| MD5 |
8bf4b404c3eda2beaff4c168c7d9ab02
|
|
| BLAKE2b-256 |
ebc3bdfbd711385bb1e28e7ec9b28355d4c9b8f46ad3ff8e0d7eba45dac3bca5
|
File details
Details for the file tfmx-1.0-py3-none-any.whl.
File metadata
- Download URL: tfmx-1.0-py3-none-any.whl
- Upload date:
- Size: 156.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8bb9e300806f7cc0648ea6753124f0a11b2490d15fd074f0217652527f4e5b4
|
|
| MD5 |
c43deffee4aece5252796f64f93b5929
|
|
| BLAKE2b-256 |
565f56d3a1a75a711fe872f14fbf66f72a8150bc62f9111c2e1bf279975690cf
|