Skip to content
Closed
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ TensorRT LLM
[![python](https://img.shields.io/badge/python-3.10-green)](https://www.python.org/downloads/release/python-31012/)
[![cuda](https://img.shields.io/badge/cuda-13.0.0-green)](https://developer.nvidia.com/cuda-downloads)
[![trt](https://img.shields.io/badge/TRT-10.13.2-green)](https://developer.nvidia.com/tensorrt)
[![version](https://img.shields.io/badge/release-1.2.0rc1-green)](./tensorrt_llm/version.py)
[![version](https://img.shields.io/badge/release-1.2.0rc0.post1-green)](./tensorrt_llm/version.py)
[![license](https://img.shields.io/badge/license-Apache%202-blue)](./LICENSE)

[Architecture](./docs/source/torch/arch_overview.md)   |   [Performance](./docs/source/performance/perf-overview.md)   |   [Examples](https://nvidia.github.io/TensorRT-LLM/quick-start-guide.html)   |   [Documentation](https://nvidia.github.io/TensorRT-LLM/)   |   [Roadmap](https://github.com/NVIDIA/TensorRT-LLM/issues?q=is%3Aissue%20state%3Aopen%20label%3Aroadmap)
Expand Down
2 changes: 1 addition & 1 deletion examples/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tensorrt_llm==1.2.0rc1
tensorrt_llm==1.2.0rc0.post1
evaluate~=0.4.1
rouge_score~=0.1.2
2 changes: 1 addition & 1 deletion tensorrt_llm/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = "1.2.0rc1"
__version__ = "1.2.0rc0.post1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Potential version regression: 1.2.0rc0.post1 < 1.2.0rc1 under PEP 440

If the previous release was 1.2.0rc1, bumping to rc0.post1 is a lower version. Pip will treat this as a downgrade and not upgrade users on rc1. If the intent is a post-release of rc1, consider 1.2.0rc1.post1 instead.

Quick checks:

If you need to switch to a post of rc1:

-__version__ = "1.2.0rc0.post1"
+__version__ = "1.2.0rc1.post1"

🏁 Script executed:

#!/bin/bash
python - <<'PY'
from packaging.version import Version
print("rc0.post1 < rc1 ?", Version("1.2.0rc0.post1") < Version("1.2.0rc1"))
PY

# Search repo for old version strings to ensure consistency
rg -n -S '1\.2\.0rc1|1\.2\.0rc0\.post1' -g '!**/node_modules/**' -g '!**/build/**' -g '!**/dist/**'

Length of output: 248


Bump version to 1.2.0rc1.post1 and update references
PEP 440 treats 1.2.0rc0.post1 as lower than 1.2.0rc1, preventing upgrades. Change __version__ to "1.2.0rc1.post1" and update the badge in README.md and the constraint in examples/constraints.txt.

🤖 Prompt for AI Agents
In tensorrt_llm/version.py around line 15, the package version is set to
"1.2.0rc0.post1" which is treated as lower than "1.2.0rc1" by PEP 440; update
__version__ to "1.2.0rc1.post1". Also update the corresponding version badge in
README.md to reflect 1.2.0rc1.post1 and change the version constraint in
examples/constraints.txt to match the new 1.2.0rc1.post1 value so upgrades work
correctly.

Loading