Commit fc4da345 authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

chore: update wheel name and reset versions (#73)

parent 0a3f2c69
......@@ -1006,7 +1006,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1055,7 +1055,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......
......@@ -168,15 +168,15 @@ RUN mkdir /opt/dynamo && \
uv venv /opt/dynamo/venv --python 3.12 && \
source /opt/dynamo/venv/bin/activate && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo*cp312*.whl && \
uv pip install /workspace/dist/ai_dynamo*cp312*.whl && \
cd /workspace/deploy/dynamo/sdk && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo_sdk*any.whl
uv pip install /workspace/dist/ai_dynamo_sdk*any.whl
# Package the bindings
RUN mkdir -p /opt/dynamo/bindings/wheels && \
mkdir /opt/dynamo/bindings/lib && \
cp dist/dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp dist/ai_dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp lib/bindings/c/target/release/libdynamo_llm_capi.so /opt/dynamo/bindings/lib/. && \
cp -r lib/bindings/c/include /opt/dynamo/bindings/.
......@@ -184,8 +184,8 @@ RUN mkdir -p /opt/dynamo/bindings/wheels && \
# currently run without virtual environment activated.
# TODO: In future, we may use a virtualenv for everything and remove this.
RUN cd /opt/dynamo/bindings/wheels && \
pip install dynamo*cp312*.whl && \
pip install /workspace/dist/dynamo_sdk*any.whl
pip install ai_dynamo*cp312*.whl && \
pip install /workspace/dist/ai_dynamo_sdk*any.whl
# Copy everything in after ginstall steps to avoid re-running build/install
# commands on unrelated changes in other dirs.
......
......@@ -104,15 +104,15 @@ COPY deploy/dynamo/sdk /workspace/deploy/dynamo/sdk
# Build dynamo wheel
RUN source /opt/dynamo/venv/bin/activate && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo*cp312*.whl && \
uv pip install /workspace/dist/ai_dynamo*cp312*.whl && \
cd /workspace/deploy/dynamo/sdk && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo_sdk*any.whl
uv pip install /workspace/dist/ai_dynamo_sdk*any.whl
# Package the bindings
RUN mkdir -p /opt/dynamo/bindings/wheels && \
mkdir /opt/dynamo/bindings/lib && \
cp dist/dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp dist/ai_dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp lib/bindings/c/target/release/libdynamo_llm_capi.so /opt/dynamo/bindings/lib/. && \
cp -r lib/bindings/c/include /opt/dynamo/bindings/.
......
......@@ -234,15 +234,15 @@ COPY deploy/dynamo/sdk /workspace/deploy/dynamo/sdk
# Build dynamo wheel
RUN source /opt/dynamo/venv/bin/activate && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo*cp312*.whl && \
uv pip install /workspace/dist/ai_dynamo*cp312*.whl && \
cd /workspace/deploy/dynamo/sdk && \
uv build --wheel --out-dir /workspace/dist && \
uv pip install /workspace/dist/dynamo_sdk*any.whl
uv pip install /workspace/dist/ai_dynamo_sdk*any.whl
# Package the bindings
RUN mkdir -p /opt/dynamo/bindings/wheels && \
mkdir /opt/dynamo/bindings/lib && \
cp dist/dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp dist/ai_dynamo*cp312*.whl /opt/dynamo/bindings/wheels/. && \
cp lib/bindings/c/target/release/libdynamo_llm_capi.so /opt/dynamo/bindings/lib/. && \
cp -r lib/bindings/c/include /opt/dynamo/bindings/.
......
......@@ -14,7 +14,7 @@
# limitations under the License.
[project]
name = "dynamo-sdk"
name = "ai-dynamo-sdk"
version = "0.1.0"
description = "Distributed Inference Framework - SDK"
readme = "README.md"
......
......@@ -957,7 +957,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1006,7 +1006,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......@@ -1461,7 +1461,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hello_world"
version = "0.2.0"
version = "0.1.0"
dependencies = [
"dynamo-runtime",
]
......@@ -1485,7 +1485,7 @@ dependencies = [
[[package]]
name = "http"
version = "0.2.0"
version = "0.1.0"
dependencies = [
"clap",
"dynamo-llm",
......@@ -1985,7 +1985,7 @@ checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104"
[[package]]
name = "llmctl"
version = "0.2.0"
version = "0.1.0"
dependencies = [
"clap",
"dynamo-llm",
......@@ -3388,7 +3388,7 @@ dependencies = [
[[package]]
name = "service_metrics"
version = "0.2.0"
version = "0.1.0"
dependencies = [
"dynamo-runtime",
"futures",
......
......@@ -23,7 +23,7 @@ members = [
resolver = "2"
[workspace.package]
version = "0.2.0"
version = "0.1.0"
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
......
......@@ -1397,7 +1397,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1476,7 +1476,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......
......@@ -956,7 +956,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1005,7 +1005,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......@@ -1948,7 +1948,7 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
[[package]]
name = "libdynamo_llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-once-cell",
......
......@@ -15,7 +15,7 @@
[package]
name = "libdynamo_llm"
version = "0.2.1"
version = "0.1.0"
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
......
......@@ -958,7 +958,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1009,7 +1009,7 @@ dependencies = [
[[package]]
name = "dynamo-py3"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"dynamo-llm",
"dynamo-runtime",
......@@ -1029,7 +1029,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......
......@@ -15,7 +15,7 @@
[package]
name = "dynamo-py3"
version = "0.2.1"
version = "0.1.0"
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
......
......@@ -1410,7 +1410,7 @@ dependencies = [
[[package]]
name = "dynamo-llm"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-openai",
......@@ -1472,7 +1472,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"async-nats",
......
......@@ -14,7 +14,7 @@
# limitations under the License.
[workspace.package]
version = "0.2.1"
version = "0.1.0"
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
......@@ -44,7 +44,7 @@ vulkan = ["llama-cpp-2/vulkan"]
[workspace.dependencies]
# local or crates.io
dynamo-runtime = { version = "0.2.0", path = "../runtime" }
dynamo-runtime = { version = "0.1.0", path = "../runtime" }
# crates.io
anyhow = { version = "1" }
......
......@@ -697,7 +697,7 @@ dependencies = [
[[package]]
name = "dynamo-runtime"
version = "0.2.1"
version = "0.1.0"
dependencies = [
"anyhow",
"assert_matches",
......
......@@ -17,7 +17,7 @@
name = "dynamo-runtime"
description = "Distributed Inference Framework"
readme = "README.md"
version = "0.2.1" # TODO: Centralize Version Automation
version = "0.1.0" # TODO: Centralize Version Automation
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
......
......@@ -14,8 +14,8 @@
# limitations under the License.
[project]
name = "dynamo"
version = "0.2.1"
name = "ai-dynamo"
version = "0.1.0"
description = "Distributed Inference Framework"
readme = "README.md"
authors = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment