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-0.10.tar.gz
(125.0 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-0.10-py3-none-any.whl
(140.6 kB
view details)
File details
Details for the file tfmx-0.10.tar.gz.
File metadata
- Download URL: tfmx-0.10.tar.gz
- Upload date:
- Size: 125.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de3c9dfb3d7abbb92759e80a1f85b9518d12f53cfecf21c620ab808b8bcf39b3
|
|
| MD5 |
f5b59905dff8e25786ae2ac3649db094
|
|
| BLAKE2b-256 |
cfda877cc7b507412b0f396a9a89e06f1be608cdd36281537f07f7b880f18c5e
|
File details
Details for the file tfmx-0.10-py3-none-any.whl.
File metadata
- Download URL: tfmx-0.10-py3-none-any.whl
- Upload date:
- Size: 140.6 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 |
6c07054cae586972885b93d22a4464557dfb005f0956d9e0f733a66f6214345f
|
|
| MD5 |
80c4622b3084ec645a918521ababa723
|
|
| BLAKE2b-256 |
28725f5d05575efb2e6e6435221e12cbf94746783610ac2904be705c18cab4a7
|