Skip to content

Commit

Permalink
fix: remove the version limit of pynvml (#5068)
Browse files Browse the repository at this point in the history
* fix: fix uv bin path for 0.5.0

Signed-off-by: Frost Ming <me@frostming.com>

* fix: remove the version limit of pynvml

Signed-off-by: Frost Ming <me@frostming.com>

---------

Signed-off-by: Frost Ming <me@frostming.com>
  • Loading branch information
frostming authored Nov 8, 2024
1 parent 0088c75 commit e7d0ba2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"httpx",
"inflection",
"numpy",
"nvidia-ml-py<12",
"nvidia-ml-py",
# OpenTelemetry is the server dependencies, rather than SDK
# Since there are discrepancies among API and instrumentation packages,
# we should always pin the set version of Opentelemetry suite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV ENV /root/.bashrc

ENV UV_SYSTEM_PYTHON=1
RUN curl -LO https://astral.sh/uv/install.sh && \
sh install.sh && rm install.sh && mv $HOME/.cargo/bin/uv /usr/local/bin/
sh install.sh && rm install.sh && mv $HOME/.local/bin/uv /usr/local/bin/

{% if __options__system_packages is not none %}
# Install user-defined system package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ USER root

ENV UV_SYSTEM_PYTHON=1
RUN curl -LO https://astral.sh/uv/install.sh && \
sh install.sh && rm install.sh && mv $HOME/.cargo/bin/uv /usr/local/bin/
sh install.sh && rm install.sh && mv $HOME/.local/bin/uv /usr/local/bin/
{% if __options__system_packages is not none %}
# Install user-defined system package
{% call common.RUN(__enable_buildkit__) -%} {{ common.mount_cache("/var/cache/yum") }} {% endcall -%} set -eux && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloa

ENV UV_SYSTEM_PYTHON=1
RUN curl -LO https://astral.sh/uv/install.sh && \
sh install.sh && rm install.sh && mv $HOME/.cargo/bin/uv /usr/local/bin/
sh install.sh && rm install.sh && mv $HOME/.local/bin/uv /usr/local/bin/
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ USER root

ENV UV_SYSTEM_PYTHON=1
RUN curl -LO https://astral.sh/uv/install.sh && \
sh install.sh && rm install.sh && mv $HOME/.cargo/bin/uv /usr/local/bin/
sh install.sh && rm install.sh && mv $HOME/.local/bin/uv /usr/local/bin/
{% if __options__system_packages is not none %}
# Install user-defined system package
{% call common.RUN(__enable_buildkit__) -%} {{ common.mount_cache("/var/cache/yum") }} {% endcall -%} set -eux && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RUN {{ command }}
{% endfor %}

RUN curl -LO https://astral.sh/uv/install.sh && \
sh install.sh && rm install.sh && mv $HOME/.cargo/bin/uv /usr/local/bin/ && uv venv --python {{ __options__python_version }}
sh install.sh && rm install.sh && mv $HOME/.local/bin/uv /usr/local/bin/ && uv venv --python {{ __options__python_version }}
{% set __pip_cache__ = common.mount_cache("/root/.cache/") %}
{% if __pip_preheat_packages__ %}
{% for value in __pip_preheat_packages__ -%}
Expand Down

0 comments on commit e7d0ba2

Please sign in to comment.