Skip to content
Open
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
3 changes: 2 additions & 1 deletion .github/workflows/atom-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ jobs:
cd /app/aiter-test && \\
git checkout ${{ env.GITHUB_COMMIT_SHA }} && \\
git submodule sync && git submodule update --init --recursive && \\
MAX_JOBS=64 PREBUILD_KERNELS=0 GPU_ARCHS=gfx950 pip install -e . && \\
pip install -r requirements.txt && \\
MAX_JOBS=64 PREBUILD_KERNELS=0 GPU_ARCHS=gfx950 pip install --no-build-isolation -e . && \\
./.github/scripts/install_triton.sh
RUN echo "=== amd-triton version ===" && pip show amd-triton || true
RUN echo "=== Aiter version AFTER installation ===" && pip show amd-aiter || true
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/flash_attention_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ jobs:

# Override with PR aiter
COPY . /aiter
RUN pip uninstall -y amd-aiter && pip install --no-build-isolation -e /aiter
RUN pip uninstall -y amd-aiter && \
cd /aiter && pip install -r requirements.txt && \
pip install --no-build-isolation -e /aiter

# Verify aiter is installed from PR branch
RUN pip show flash-attn && pip show amd-aiter && pip show triton && \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sglang_downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ jobs:
git checkout '${GITHUB_COMMIT_SHA}'
git submodule sync --recursive
git submodule update --init --recursive
pip install -e .
pip install -r requirements.txt
pip install --no-build-isolation -e .
# ./.github/scripts/install_triton.sh
pip show amd-triton || true
pip show triton || true
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requires = [
"psutil",
"ninja",
"pandas",
"flydsl==0.1.5"
"flydsl>=0.1.5"
]

[tool.setuptools_scm]
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ pyyaml
einops
pybind11>=3.0.1
ninja
flydsl==0.1.5
--find-links https://rocm.frameworks-devreleases.amd.com/whl/gfx942-gfx950/flydsl/
flydsl==0.1.6.dev20260508+05f188b
39 changes: 27 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
OPT_COMPILER_CONFIG = os.path.join(this_dir, "aiter", "jit", "optCompilerConfig.json")
PACKAGE_NAME = "amd-aiter"

FLYDSL_VERSION = "flydsl==0.1.5"
FLYDSL_VERSION = "flydsl==0.1.6.dev20260508+05f188b"
FLYDSL_FIND_LINKS = (
"https://rocm.frameworks-devreleases.amd.com/whl/gfx942-gfx950/flydsl/"
)

BUILD_TARGET = os.environ.get("BUILD_TARGET", "auto")
PREBUILD_KERNELS = int(os.environ.get("PREBUILD_KERNELS", 0))
Expand Down Expand Up @@ -58,18 +61,30 @@ def is_develop_mode():
try:
from importlib.metadata import version as pkg_version

if pkg_version("flydsl") != FLYDSL_VERSION.split("==")[1]:
_installed = pkg_version("flydsl")
_required_base = FLYDSL_VERSION.split("==")[1].split("+")[0]
if not _installed or not _installed.startswith(_required_base):
raise ImportError("version mismatch")
except Exception:
subprocess.check_call(
[
sys.executable,
"-m",
"pip",
"install",
FLYDSL_VERSION,
]
)
try:
subprocess.check_call(
[
sys.executable,
"-m",
"pip",
"install",
"--force-reinstall",
"--no-deps",
FLYDSL_VERSION,
"--find-links",
FLYDSL_FIND_LINKS,
]
)
except Exception:
print(
f"[aiter] Warning: could not install {FLYDSL_VERSION}, "
"assuming it was pre-installed via requirements.txt"
)


def _is_triton_installed():
Expand Down Expand Up @@ -433,7 +448,7 @@ def has_ext_modules(self):
"einops",
"psutil",
"packaging",
FLYDSL_VERSION,
"flydsl>=0.1.5",
]

setup(
Expand Down
Loading