mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 02:02:46 +00:00
try building ck4inductor and testing it inside a virtual environment (#2142)
use system virtualenv
use python-full ubuntu package in docker image
---------
Co-authored-by: illsilin <Illia.Silin@amd.com>
Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com>
[ROCm/composable_kernel commit: 6601931949]
This commit is contained in:
@@ -49,9 +49,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-
|
||||
mpich \
|
||||
net-tools \
|
||||
pkg-config \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python3-full \
|
||||
redis \
|
||||
rocm-llvm-dev \
|
||||
sshpass \
|
||||
|
||||
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -530,8 +530,11 @@ def Build_CK(Map conf=[:]){
|
||||
if ( params.RUN_INDUCTOR_TESTS && !params.BUILD_LEGACY_OS && arch_type == 1 ){
|
||||
echo "Run inductor codegen tests"
|
||||
sh """
|
||||
pip install --target ${env.WORKSPACE} --break-system-packages --verbose .
|
||||
pytest python/test/test_gen_instances.py
|
||||
python3 -m venv ${env.WORKSPACE}
|
||||
. ${env.WORKSPACE}/bin/activate
|
||||
python3 -m pip install pytest build setuptools setuptools_scm
|
||||
python3 -m pip install .
|
||||
python3 -m pytest python/test/test_gen_instances.py
|
||||
"""
|
||||
}
|
||||
dir("build"){
|
||||
|
||||
Reference in New Issue
Block a user