<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HYSo – PyTorch Model Engineering]]></title><description><![CDATA[The official technical blog of HYSo, an open-source PyTorch model engineering framework. Explore modular CNN architectures, graph-based model construction, mode]]></description><link>https://hyso.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 00:21:34 GMT</lastBuildDate><atom:link href="https://hyso.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Introducing HYSo 0.2.0: An Open-Source Model Engineering Framework for PyTorch]]></title><description><![CDATA[Build, analyze, train, benchmark, compare and export PyTorch models with a unified Python framework.Introducing HYSo HYSo is an open-source model…]]></description><link>https://hyso.hashnode.dev/introducing-hyso-0-2-0-an-open-source-model-engineering-framework-for-pytorch</link><guid isPermaLink="true">https://hyso.hashnode.dev/introducing-hyso-0-2-0-an-open-source-model-engineering-framework-for-pytorch</guid><dc:creator><![CDATA[Huseyin Dogan]]></dc:creator><pubDate>Sat, 28 Nov 2026 01:08:41 GMT</pubDate><content:encoded><![CDATA[<p>Build, analyze, train, benchmark, compare and export PyTorch models with a unified Python framework.<br /><br />Introducing HYSo</p>
<p>HYSo is an open-source model engineering framework built on PyTorch. It brings model construction, architecture analysis, training, evaluation, performance benchmarking, comparison and export workflows into a single Python library.</p>
<p>I developed HYSo to simplify the process of designing, understanding and evaluating deep learning models without relying on separate tools for every stage of development.</p>
<p>Version 0.2.0 is now available on GitHub and PyPI under the MIT License.</p>
<h2>Installation</h2>
<pre><code class="language-bash">pip install hyso
</code></pre>
<p>To upgrade an existing installation:</p>
<pre><code class="language-bash">pip install --upgrade hyso
</code></pre>
<h2>1. Modular CNN Architecture Construction</h2>
<p>HYSo provides more than 50 modular building blocks for constructing customizable CNN architectures.</p>
<p>Its model construction capabilities include:</p>
<ul>
<li>Convolution modules</li>
<li>Attention mechanisms</li>
<li>Pooling operations</li>
<li>Activation functions</li>
<li>Normalization layers</li>
<li>Feature transformation modules</li>
<li>Classification heads</li>
<li>Configurable sequential architectures</li>
</ul>
<p>A simple model can be created using the ModelBuilder API:</p>
<pre><code class="language-python">import torch
from hyso import ModelBuilder

model = (
    ModelBuilder((1, 8, 8), 2)
    .conv2d(out_channels=4)
    .relu()
    .build()
)

x = torch.randn(1, 1, 8, 8)

model.eval()

with torch.no_grad():
    output = model(x)

print(model)
print(output.shape)
</code></pre>
<p>HYSo models integrate with standard PyTorch workflows.</p>
<h2>2. Graph-Based Model Construction</h2>
<p>Not every neural network follows a sequential architecture.</p>
<p>HYSo provides graph-based construction capabilities for designing more complex network structures.</p>
<p>These include:</p>
<ul>
<li>Multiple input tensors</li>
<li>Parallel processing branches</li>
<li>Feature fusion operations</li>
<li>Custom connections</li>
<li>Non-sequential architectures</li>
<li>Modular graph construction</li>
</ul>
<p>This makes it possible to experiment with different architecture designs without manually implementing every connection from scratch.</p>
<h2>3. Model Architecture Analysis</h2>
<p>HYSo provides tools for examining existing PyTorch models.</p>
<p>Available analysis capabilities include:</p>
<ul>
<li>Total parameter counts</li>
<li>Trainable and non-trainable parameters</li>
<li>Layer types and architecture structure</li>
<li>Input and output tensor dimensions</li>
<li>Model size</li>
<li>Memory measurements</li>
<li>Layer-level profiling</li>
<li>Computational complexity analysis in supported configurations</li>
</ul>
<p>A fundamental principle of HYSo is non-invasive model analysis.</p>
<p>The analyzer does not rewrite the original model source code, modify its architecture or update its weights.</p>
<h2>4. Performance Benchmarking</h2>
<p>Model accuracy alone is not enough to evaluate a deep learning architecture.</p>
<p>HYSo provides CPU and GPU performance measurement workflows covering:</p>
<ul>
<li>Inference latency</li>
<li>Throughput</li>
<li>Batch-size-dependent performance</li>
<li>Memory consumption</li>
<li>Latency distributions</li>
<li>Layer-level execution measurements</li>
<li>Hardware-dependent performance characteristics</li>
</ul>
<p>These measurements help developers understand the practical trade-offs between architectural choices.</p>
<h2>5. Evidence-Based Model Advisor</h2>
<p>The Model Advisor evaluates available analysis and benchmarking results to identify potential improvement opportunities.</p>
<p>Its recommendations are based on measured results and structural information rather than automatically generated architectural changes.</p>
<p>The advisor helps developers investigate:</p>
<ul>
<li>Computational bottlenecks</li>
<li>Memory consumption</li>
<li>Parameter efficiency</li>
<li>Expensive architectural components</li>
<li>Performance limitations</li>
<li>Potential optimization opportunities</li>
</ul>
<p>HYSo provides recommendations while leaving implementation decisions to the developer.</p>
<h2>6. Model Comparison</h2>
<p>HYSo supports the comparison of different model architectures.</p>
<p>Developers can examine differences in:</p>
<ul>
<li>Total parameters</li>
<li>Trainable parameters</li>
<li>Layer structure</li>
<li>Model size</li>
<li>Input and output dimensions</li>
<li>Inference latency</li>
<li>Throughput</li>
<li>Memory consumption</li>
<li>Resource utilization</li>
</ul>
<p>This is particularly useful when evaluating architecture modifications, replacing components or comparing baseline and experimental models.</p>
<h2>7. Training and Evaluation</h2>
<p>HYSo includes training and evaluation workflows for supported PyTorch model configurations.</p>
<p>Features include:</p>
<ul>
<li>Model training</li>
<li>Validation workflows</li>
<li>Classification metrics</li>
<li>Loss tracking</li>
<li>Optimizer configuration</li>
<li>Learning rate scheduling</li>
<li>Early stopping</li>
<li>Checkpoint management</li>
<li>Reproducibility controls</li>
<li>Training resume in supported configurations</li>
</ul>
<p>These capabilities complement the model construction and analysis APIs.</p>
<h2>8. Model Export</h2>
<p>HYSo provides export workflows for supported model configurations.</p>
<p>Available formats and workflows include:</p>
<ul>
<li>ONNX</li>
<li>TorchScript</li>
<li>torch.export</li>
<li>Supported FP16 conversion workflows</li>
<li>Supported INT8 quantization workflows</li>
</ul>
<p>Export capabilities depend on the model architecture, execution environment and selected backend.</p>
<p>Advanced CUDA diagnostics and TensorRT workflows remain subject to additional validation and are not presented as fully supported production features.</p>
<h2>9. Multilingual Technical Reporting</h2>
<p>HYSo supports technical report generation in four languages:</p>
<ul>
<li>English</li>
<li>Turkish</li>
<li>German</li>
<li>Spanish</li>
</ul>
<p>Supported report output formats include:</p>
<ul>
<li>JSON</li>
<li>Markdown</li>
<li>HTML</li>
</ul>
<p>Reports help developers document experiments, communicate model differences and preserve analysis results.</p>
<h2>10. Developer Experience</h2>
<p>HYSo 0.2.0 includes extensive public API documentation designed to improve the development experience.</p>
<p>The release includes:</p>
<ul>
<li>More than 1,000 documented public API definitions</li>
<li>Detailed parameter descriptions</li>
<li>Python type annotations</li>
<li>IDE autocompletion support</li>
<li>Method signature assistance</li>
<li>Public API reference documentation</li>
<li>Command-line tools</li>
<li>Usage examples</li>
</ul>
<p>The framework is designed to be accessible from Python scripts, notebooks and development environments such as Visual Studio Code.</p>
<h2>Who Is HYSo For?</h2>
<p>HYSo is intended for:</p>
<ul>
<li>PyTorch developers</li>
<li>Computer vision engineers</li>
<li>Deep learning researchers</li>
<li>Machine learning engineers</li>
<li>CNN architecture developers</li>
<li>Students working on deep learning projects</li>
<li>Developers interested in model performance and resource efficiency</li>
</ul>
<h2>Release Information</h2>
<ul>
<li>Version: 0.2.0</li>
<li>Language: Python</li>
<li>Framework: PyTorch</li>
<li>Supported Python versions: 3.10–3.12</li>
<li>PyTorch dependency: &gt;=2.5.1, &lt;2.6</li>
<li>License: MIT</li>
<li>Distribution: PyPI</li>
</ul>
<h2>Open Source and Contributions</h2>
<p>HYSo is an independent open-source project.</p>
<p>Technical feedback, bug reports, feature suggestions and contributions are welcome.</p>
<p>The current release focuses primarily on CNN model engineering and supported PyTorch workflows. Future development will be guided by technical requirements and community feedback.</p>
<h2>Project Links</h2>
<p><strong>GitHub Repository</strong></p>
<p><a href="https://github.com/huseyin-dgn/hyso">https://github.com/huseyin-dgn/hyso</a></p>
<p><strong>PyPI Package</strong></p>
<p><a href="https://pypi.org/project/hyso/">https://pypi.org/project/hyso/</a></p>
<p><strong>Version 0.2.0 Release</strong></p>
<p><a href="https://github.com/huseyin-dgn/hyso/releases/tag/v0.2.0">https://github.com/huseyin-dgn/hyso/releases/tag/v0.2.0</a></p>
<p><strong>Installation</strong></p>
<pre><code class="language-bash">pip install hyso
</code></pre>
<p>Thank you for reading. If you are working with PyTorch and CNN architectures, I would appreciate your feedback on HYSo and its model engineering capabilities.<br />\</p>
]]></content:encoded></item></channel></rss>