Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/run_tests_framework_iris.yml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/run_tests_pipelines_iris.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/simple_cupy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Simple cupy script on IRIS

on:
pull_request:
branches:
- main

jobs:
iris-gpu:
runs-on: iris-gpu
container:
image: nvidia/cuda:12.6.3-devel-ubi8
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}

defaults:
run:
shell: bash -l {0}

steps:
- name: Checkout repository code
uses: actions/checkout@v4

- name: Create conda environment
uses: mamba-org/setup-micromamba@v1
with:
environment-name: simple-cupy
create-args: >-
cupy==12.3.0
post-cleanup: 'all'
init-shell: bash

- name: Run simple cupy script
run: python simple-cupy-script.py
6 changes: 6 additions & 0 deletions simple-cupy-script.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import cupy as cp

arr = cp.array([1, 2, 3])
print(f"arr before: {arr}")
arr += 1
print(f"arr after: {arr}")