A package for AI system Utils
Project description
MyPackage
This package provides functionality for CUDA Graph capturing in PyTorch. It includes a warm-up function and CUDA Graph capture function to optimize inference execution.
Installation
To install this package, run the following command:
pip install mlsysUtil
Or install from the local build:
pip install dist/mlsysUtils-0.1.0-py3-none-any.whl
Usage
import torch
from mlsysUtils.graph_capture import get_graph
model = torch.nn.Linear(10, 10).cuda()
input_tensor = torch.randn(1, 10).cuda()
graph, static_output = get_graph(model, input_tensor)
License
This project is licensed under the MIT License.
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
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
File details
Details for the file mlsysutil-0.1.0.tar.gz.
File metadata
- Download URL: mlsysutil-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7b03404a1bbed07a74877803ff95957c938e0dbda5d7d104530541e7039945
|
|
| MD5 |
2a9828f5aa0f4e5b9ed479513bef1479
|
|
| BLAKE2b-256 |
ebfb049d69076160e383d3764ad46be6ad36c6465c5baf8a40c2b5a8739f5562
|
File details
Details for the file mlsysutil-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mlsysutil-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b32aecab4b9e57b2cdfd2b894ddefd374732afc8822150544d6eabc7470ccd49
|
|
| MD5 |
56002c93c6bb1deb20ad04839e91e818
|
|
| BLAKE2b-256 |
e5ab95781aeaed750b63e323cd89b4789a3a545b586aa07931ce17594f68aa4a
|