diff --git a/.github/workflows/test-external-provider-module.yml b/.github/workflows/test-external-provider-module.yml index d61b0dfe9..3b0907b86 100644 --- a/.github/workflows/test-external-provider-module.yml +++ b/.github/workflows/test-external-provider-module.yml @@ -17,8 +17,6 @@ on: jobs: test-external-providers-from-module: - # This workflow is disabled. See https://github.com/meta-llama/llama-stack/pull/2975#issuecomment-3138702984 for details - if: false runs-on: ubuntu-latest strategy: matrix: @@ -32,50 +30,10 @@ jobs: - name: Install dependencies uses: ./.github/actions/setup-runner - - name: Install Ramalama - shell: bash - run: | - uv pip install ramalama - - - name: Run Ramalama - shell: bash - run: | - nohup ramalama serve llama3.2:3b-instruct-fp16 > ramalama_server.log 2>&1 & - - name: Apply image type to config file - run: | - yq -i '.image_type = "${{ matrix.image-type }}"' tests/external/ramalama-stack/run.yaml - cat tests/external/ramalama-stack/run.yaml - - name: Build distro from config file run: | USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. uv run llama stack build --config tests/external/ramalama-stack/build.yaml - - name: Start Llama Stack server in background - if: ${{ matrix.image-type }} == 'venv' - env: - INFERENCE_MODEL: "llama3.2:3b-instruct-fp16" - LLAMA_STACK_LOG_FILE: "server.log" - run: | - # Use the virtual environment created by the build step (name comes from build config) - source ramalama-stack-test/bin/activate - uv pip list - nohup llama stack run tests/external/ramalama-stack/run.yaml --image-type ${{ matrix.image-type }} > server.log 2>&1 & - - - name: Wait for Llama Stack server to be ready - run: | - for i in {1..30}; do - if ! grep -q "successfully connected to Ramalama" server.log; then - echo "Waiting for Llama Stack server to load the provider..." - sleep 1 - else - echo "Provider loaded" - exit 0 - fi - done - echo "Provider failed to load" - cat server.log - exit 1 - - name: Upload all logs to artifacts if: ${{ always() }} uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 diff --git a/tests/external/ramalama-stack/run.yaml b/tests/external/ramalama-stack/run.yaml deleted file mode 100644 index 9d1d34df3..000000000 --- a/tests/external/ramalama-stack/run.yaml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -image_name: ramalama -apis: -- inference -providers: - inference: - - provider_id: ramalama - provider_type: remote::ramalama - module: ramalama_stack==0.3.0a0 - config: {} -server: - port: 8321