Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Semgrep test

permissions:
contents: read

on:
pull_request: {}
workflow_dispatch: {}
push:
branches: [main]

jobs:
semgrep:
runs-on: [BMG]
container: semgrep/semgrep:latest
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Run Semgrep scan
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ NOTE: This file has been modified by Intel Corporation.
# Torch Tweak

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![PyTorch](https://img.shields.io/badge/PyTorch-2.13+-blue.svg)](https://pytorch.org/)
[![Tests](https://github.com/intel/torch-tweak/actions/workflows/tests.yml/badge.svg)](https://github.com/intel/torch-tweak/actions/workflows/tests.yml)
[![Nightly Tests](https://github.com/intel/torch-tweak/actions/workflows/nightly.yml/badge.svg?event=schedule)](https://github.com/intel/torch-tweak/actions/workflows/nightly.yml)
Expand Down
2 changes: 1 addition & 1 deletion docs/learn/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ models on Intel GPUs.
Before proceeding with the installation of Torch Tweak, ensure your system meets the following criteria:

* **Operating System**: Linux (Ubuntu 22.04+ recommended)
* **Python**: Version `3.10` or newer
* **Python**: Version `3.11` or newer
* **PyTorch**: Version `2.13` or newer **with XPU support**
* **Intel GPU**: Required for XPU-accelerated tuning

Expand Down
2 changes: 1 addition & 1 deletion docs/learn/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ NOTE: This file has been modified by Intel Corporation.
# Torch Tweak

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../LICENSE.md)
[![Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![PyTorch](https://img.shields.io/badge/PyTorch-2.13+-blue.svg)](https://pytorch.org/)

**Torch Tweak** is an inference toolkit designed for tuning and deploying Deep Learning models with a focus on Intel XPU (GPU) accelerators. It provides model tuning capabilities through compilation and conversion paths that can significantly improve inference speed and efficiency across various AI workloads including Computer Vision, Natural Language Processing, Speech Recognition, and Generative AI.
Expand Down
2 changes: 1 addition & 1 deletion examples/E5Large/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Torch Tweak E5 Large V2 Embedding Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch-tweak[xpu]",
Expand Down
391 changes: 16 additions & 375 deletions examples/E5Large/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/ESM2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Torch Tweak ESM2 Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch-tweak[xpu]",
Expand Down
325 changes: 14 additions & 311 deletions examples/ESM2/uv.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/FLUX/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ description = "Torch Tweak FLUX.2-klein-4B Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch_tweak",
"diffusers>=0.38.0,<=0.41.0",
"torch>=2.13.0",
"transformers>=5.10.0,<6",
"pillow>=12.3.0",
"pillow>=13.0.0",
"sentencepiece>=0.2.1",
"protobuf>=6.33.5",
]
Expand Down
408 changes: 17 additions & 391 deletions examples/FLUX/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/LLM/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Torch Tweak LLM Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch_tweak",
Expand Down
435 changes: 21 additions & 414 deletions examples/LLM/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/Minimal/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = "Minimal Torch Tweak example: tune a small MLP and select a backen
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"torch-tweak[xpu]",
"torch>=2.13.0",
Expand Down
152 changes: 10 additions & 142 deletions examples/Minimal/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/ParakeetCTC/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Torch Tweak Parakeet CTC Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch-tweak[xpu]",
Expand Down
1,244 changes: 57 additions & 1,187 deletions examples/ParakeetCTC/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/ParakeetRNNT/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ description = "Torch Tweak Parakeet RNNT Example"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "third-party-programs.txt"]
requires-python = ">=3.10"
requires-python = ">=3.11"

dependencies = [
"torch-tweak[xpu]",
Expand Down
Loading
Loading