Skip to content

Add distribution packaging for Linux, Windows, and macOS (manual builds) - #38

Merged
makr-code merged 6 commits into
mainfrom
copilot/add-themis-db-release
Nov 22, 2025
Merged

makr-code merged 6 commits into
mainfrom
copilot/add-themis-db-release

Conversation

Copilot AI commented Nov 22, 2025 •

Copy link
Copy Markdown
Contributor

Enables ThemisDB distribution through native package managers across all major platforms via manual/offline builds.

Linux Distributions

Debian/Ubuntu (.deb)

  • Complete debian/ packaging with systemd service, user/group management, proper permissions
  • Separate -dev package for headers and static libraries

Fedora/RHEL/CentOS (.rpm)

  • RPM spec with scriptlets, SELinux compatibility, systemd integration

Arch Linux (PKGBUILD)

  • AUR-ready build script with dependency resolution

Windows

Chocolatey

  • NuGet package with PATH integration and optional Windows Service installer

WinGet

  • Manifests for Microsoft Store distribution

macOS

Homebrew Formula

  • Formula with launchd service support and dependency management

Build Approach

Manual/Offline Builds:

  • Build packages locally or in Docker containers for reproducibility
  • Thoroughly test before distribution submission
  • Version update scripts (scripts/prepare-release.{sh,ps1}) synchronize version across all package formats
  • Docker container examples included in documentation for consistent builds across platforms

Future Automation:

  • GitHub Actions workflow may be added after initial manual testing and distribution approval

Documentation

  • docs/packaging.md - Build and submission guide with manual/Docker build instructions
  • docs/PACKAGING-QUICKREF.md - Command reference for maintainers
  • PACKAGE-MAINTAINERS.md - Distribution maintainer information

Installation after distribution approval:

# Linux
apt install themisdb          # Debian/Ubuntu
dnf install themisdb          # Fedora/RHEL
yay -S themisdb              # Arch

# Windows
choco install themisdb
winget install ThemisDB.ThemisDB

# macOS
brew install themisdb

Ready for submission to Debian PPA, Fedora Copr, AUR, Chocolatey Community, WinGet Community, and Homebrew repositories.

Original prompt

Wie können wir die Themis DB als release den gängigen distros der Linux hinzufügen?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add Themis DB as a release for popular Linux distros Add distribution packaging for Linux, Windows, and macOS Nov 22, 2025
Copilot AI requested a review from makr-code November 22, 2025 11:16
@makr-code

Copy link
Copy Markdown
Owner

@copilot Nicht als github workflow (bitte deaktivieren) sondern erstmal offline build.

Copilot AI commented Nov 22, 2025

Copy link
Copy Markdown
Contributor Author

@copilot Nicht als github workflow (bitte deaktivieren) sondern erstmal offline build.

GitHub Actions workflow entfernt. Die Dokumentation wurde aktualisiert und fokussiert jetzt auf manuelle/offline Builds mit Docker Container Beispielen für reproduzierbare Builds. Commit: 32845be

Copilot AI changed the title Add distribution packaging for Linux, Windows, and macOS Add distribution packaging for Linux, Windows, and macOS (manual builds) Nov 22, 2025
@makr-code
makr-code marked this pull request as ready for review November 22, 2025 11:51
@makr-code
makr-code merged commit 7371a8b into main Nov 22, 2025
@makr-code
makr-code deleted the copilot/add-themis-db-release branch November 30, 2025 11:49
makr-code added a commit that referenced this pull request Dec 6, 2025
Add distribution packaging for Linux, Windows, and macOS (manual builds)
Copilot AI added a commit that referenced this pull request Jan 17, 2026
Issue #37: Gradient Checkpointing (P2) - 50-80% memory reduction
Issue #38: Fused LoRA Kernels (P1) - 2-3x speedup via kernel fusion
Issue #39: Dynamic Batching (P2) - 30-50% throughput improvement
Issue #40: FlashAttention-style LoRA (P1) - 2-4x speedup + 4-8x longer sequences

All templates include:
- Research paper citations (FlashAttention, S-LoRA, Punica, etc.)
- Detailed CUDA/HIP kernel implementations
- Memory bandwidth analysis
- Performance benchmarks and targets
- Integration strategies

Co-authored-by: makr-code <[email protected]>
makr-code added a commit that referenced this pull request Jan 17, 2026
…based optimizations (#596)

* Initial plan

* Add GPU-accelerated training infrastructure

- Created gpu_data_loader.h/cpp for GPU-optimized data loading
- Created gpu_training_loop.h/cpp for GPU training loop
- Integrated GPU training into trainWithQuantization()
- Replaced CPU synthetic tensors with GPU tensors
- Added VRAMAllocator integration for memory management
- Added mixed precision trainer support
- Added multi-GPU layer support hooks

Co-authored-by: makr-code <[email protected]>

* Add GPU training loop tests and CMake integration

- Updated CMakeLists.txt to build gpu_data_loader and gpu_training_loop
- Created comprehensive test suite for GPU training loop
- Tests cover GPU data loading, LoRA layer creation, training loop
- Tests include CPU fallback validation
- Tests validate memory tracking and batch processing

Co-authored-by: makr-code <[email protected]>

* Address code review feedback and add documentation

- Removed duplicate source file entries in CMakeLists.txt
- Added detailed TODO comments for placeholder implementations
- Documented limitations of hash-based embeddings
- Documented CPU-based loss/gradient computation bottlenecks
- Documented mixed precision gradient unscaling limitation
- Added implementation documentation (GPU_TRAINING_IMPLEMENTATION.md)
- All placeholders clearly marked for future GPU kernel implementation

Co-authored-by: makr-code <[email protected]>

* Add comprehensive code review for LoRA training network

- Complete architecture and design review
- Implementation quality assessment
- Performance analysis with bottleneck identification
- Thread safety and memory safety evaluation
- Testing coverage analysis
- Detailed recommendations for production readiness
- Overall rating: GOOD (8/10) - APPROVED for merge

Co-authored-by: makr-code <[email protected]>

* Add GitHub issue templates for GPU training improvements

- Issue #34: GPU Real Embeddings - Replace hash-based with base model lookup
- Issue #35: GPU Loss/Gradient Kernels - Eliminate CPU↔GPU transfers
- Issue #36: GPU Mixed Precision Unscaling - Add GPU tensor support for FP16

All templates follow existing format with detailed implementation plans,
code examples, acceptance criteria, and effort estimations.

Co-authored-by: makr-code <[email protected]>

* Add advanced optimization issue templates based on research

Issue #37: Gradient Checkpointing (P2) - 50-80% memory reduction
Issue #38: Fused LoRA Kernels (P1) - 2-3x speedup via kernel fusion
Issue #39: Dynamic Batching (P2) - 30-50% throughput improvement
Issue #40: FlashAttention-style LoRA (P1) - 2-4x speedup + 4-8x longer sequences

All templates include:
- Research paper citations (FlashAttention, S-LoRA, Punica, etc.)
- Detailed CUDA/HIP kernel implementations
- Memory bandwidth analysis
- Performance benchmarks and targets
- Integration strategies

Co-authored-by: makr-code <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: makr-code <[email protected]>
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
Copilot AI added a commit that referenced this pull request Mar 16, 2026
makr-code added a commit that referenced this pull request Mar 16, 2026
…rity-revocation-checking

feat(acceleration): implement CRL/OCSP certificate revocation checking (v1.8.0 #38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants