diff --git a/.github/workflows/test-installer-curl.yml b/.github/workflows/test-installer-curl.yml index ee9d625b7..892b8dff7 100644 --- a/.github/workflows/test-installer-curl.yml +++ b/.github/workflows/test-installer-curl.yml @@ -153,7 +153,7 @@ jobs: if [[ "${{ matrix.scenario }}" == "custom-venv" ]]; then VENV_DIR="/tmp/custom_mlcflow_venv" else - VENV_DIR="$HOME/.mlcflow_venv" + VENV_DIR="$HOME/.mlcflow" fi echo "Expected venv directory: $VENV_DIR" @@ -421,7 +421,7 @@ jobs: if [[ "${{ matrix.scenario }}" == "custom-venv" ]]; then VENV_DIR="/tmp/custom_mlcflow_venv" else - VENV_DIR="/root/.mlcflow_venv" + VENV_DIR="/root/.mlcflow" fi echo "Expected venv directory: $VENV_DIR" diff --git a/docs/install/README.md b/docs/install/README.md index 2070132ee..31288bbad 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -17,7 +17,7 @@ This installer provides a **one-command setup** for the MLCFlow package and the **After installation, activate the virtual environment** to use MLCFlow commands: ```bash -source ~/.mlcflow_venv/bin/activate +source ~/.mlcflow/bin/activate ``` ## Supported Platforms @@ -75,7 +75,7 @@ source ~/.mlcflow_venv/bin/activate ↓ ┌─────────────────────────────────────────────────────────────┐ │ 5. Create Virtual Environment │ -│ - Location: ~/.mlcflow_venv (or custom) │ +│ - Location: ~/.mlcflow (or custom) │ └─────────────────────────────────────────────────────────────┘ ↓ ┌─────────────────────────────────────────────────────────────┐ @@ -147,7 +147,7 @@ bash mlcflow_linux.sh --yes --quiet |----------|-------------|---------| | `--yes` | Auto-confirm all prompts (non-interactive mode) | Interactive | | `--upgrade` | Upgrade mlcflow if already installed | Skip if present | -| `--venv-dir ` | Custom virtual environment directory | `~/.mlcflow_venv` | +| `--venv-dir ` | Custom virtual environment directory | `~/.mlcflow` | | `--mlc-repo ` | Repository in format `owner@repo` | `mlcommons@mlperf-automations` | | `--mlc-repo-branch ` | Git branch to clone | `dev` | | `--install-python` | Auto-install Python if incompatible | Prompt user | @@ -227,9 +227,9 @@ Based on this detection, it chooses the appropriate execution method. ```bash # Activate the virtual environment -source ~/.mlcflow_venv/bin/activate +source ~/.mlcflow/bin/activate -# Your prompt should change to show (mlcflow_venv) or similar +# Your prompt should change to show (mlcflow) or similar ``` ### Verify Installation @@ -251,7 +251,7 @@ deactivate ``` ### File Locations -- **Virtual Environment**: `~/.mlcflow_venv` (or custom path) +- **Virtual Environment**: `~/.mlcflow` (or custom path) - **Automation Repository**: `~/MLC/repos/mlcommons@mlperf-automations/` - **MLC Cache**: `~/MLC/repos/` @@ -277,7 +277,7 @@ bash mlcflow_linux.sh --yes **Solution**: ```bash # Activate the virtual environment -source ~/.mlcflow_venv/bin/activate +source ~/.mlcflow/bin/activate # Now mlc command should be available mlc --help diff --git a/docs/install/mlcflow_linux.sh b/docs/install/mlcflow_linux.sh index 85705398e..66427b49c 100755 --- a/docs/install/mlcflow_linux.sh +++ b/docs/install/mlcflow_linux.sh @@ -17,7 +17,7 @@ set -euo pipefail # ------------------------------------------------------------------------------ MIN_PYTHON_VERSION="3.7" -DEFAULT_VENV_DIR="$HOME/.mlcflow_venv" +DEFAULT_VENV_DIR="$HOME/.mlcflow" DEFAULT_REPO="mlcommons@mlperf-automations" DEFAULT_BRANCH="dev"