Skip to content

Commit

Permalink
test conda
Browse files Browse the repository at this point in the history
  • Loading branch information
tenacioustommy committed Feb 21, 2025
1 parent 88b929e commit 88e07cc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/pr_stage_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,24 @@ jobs:
runs-on: ubuntu-22.04
env:
CONTAINER: pytorch/pytorch:2.5.1-cuda12.4-cudnn9-devel
strategy:
matrix:
python-version: [3.9]
# strategy:
# matrix:
# python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
- name: Start Docker Container
run: |
docker pull $CONTAINER
docker run --name build-container -d -e MKL_THREADING_LAYER=GNU -v ${{ github.workspace }}:/workspace $CONTAINER tail -f /dev/null
- name: Install Dependencies
env:
SCRIPT: |
export PATH=$Python_ROOT_DIR/bin:$PATH
conda create -n test python=3.10 -y
conda init && source ~/.bashrc && conda activate
pip install pip wheel --upgrade
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
Expand Down

0 comments on commit 88e07cc

Please sign in to comment.