Skip to content

Conversation

makslevental
Copy link
Contributor

@makslevental
Copy link
Contributor Author

@joker-eph does this container get rebuilt each time the bot runs? I would assume so but just double checking there's not another step.

@hawkinsp
Copy link

hawkinsp commented Dec 3, 2024

I'd guess that you may be able to set install_pip_requirements=True on the failing builders in builders.py.

@makslevental
Copy link
Contributor Author

I'd guess that you may be able to set install_pip_requirements=True on the failing builders in builders.py.

ah good catch. There's a comment in the Dockerfile here that the reqs should be pinned so I'll leave this (@joker-eph will comment on how he wants to handle it) but I'll do that for the AMD bot in a separate PR.

@joker-eph
Copy link
Contributor

The comment about pinned revision was about reproducibility of the docker image. That said the same comment could apply to the content of the requirements.txt in the monorepo... If we don't pin revision bisections and other reproduction can become difficult I think.

The install_pip_requirements didn't exist initially, I added it earlier this year to fix similar issue on pre-merge config and enable testing the Python bindings on these bots replicating the pre-merge config.

We could cleanup the docker image for the mlir-nvidia bot and switch to install_pip_requirements, that seems like a net improvement I think.

@makslevental
Copy link
Contributor Author

The comment about pinned revision was about reproducibility of the docker image. That said the same comment could apply to the content of the requirements.txt in the monorepo... If we don't pin revision bisections and other reproduction can become difficult I think.

Yea I don't know why those deps are ranged rather than fixed. I can make a discourse post about it.

We could cleanup the docker image for the mlir-nvidia bot and switch to install_pip_requirements, that seems like a net improvement I think.

The AMD bot does this

ADD "https://raw.githubusercontent.com/llvm/llvm-project/main/mlir/python/requirements.txt" requirements.txt
RUN python3 -m pip install --upgrade pip && python3 -m pip install -r requirements.txt

which can actually be shortened here to just

pip install -r https://raw.githubusercontent.com/llvm/llvm-project/main/mlir/python/requirements.txt

Is this what you had in mind for clean up?

@joker-eph
Copy link
Contributor

What I meant by cleanup is to not install these at all in the image, since the bot will pip install them later.

@makslevental
Copy link
Contributor Author

What I meant by cleanup is to not install these at all in the image, since the bot will pip install them later.

Done

@makslevental
Copy link
Contributor Author

Bump

@joker-eph
Copy link
Contributor

FYI, post merge this will only take effect when the master buildbot restarts.
@gkistanova is handling this is believe.

@makslevental
Copy link
Contributor Author

FYI, post merge this will only take effect when the master buildbot restarts. @gkistanova is handling this is believe.

Good to know - are the bots restarted on a periodic basis or just when someone triggers it?

@makslevental makslevental merged commit 7424d71 into main Dec 5, 2024
3 checks passed
@makslevental makslevental deleted the makslevental/add-nanobind-nvidia-docker branch December 5, 2024 17:44
@joker-eph
Copy link
Contributor

I suspect it is manual, but I am not sure. I usually email/ping @gkistanova :)

@joker-eph
Copy link
Contributor

I think you forgot to update the PR title/description before merging?

@makslevental
Copy link
Contributor Author

Sorry yes that was a mistake on my part.

@hawkinsp
Copy link

hawkinsp commented Dec 5, 2024

@makslevental Do I need to resend you the original nanobind PR or can you reland that without me doing anything?

@makslevental
Copy link
Contributor Author

@makslevental Do I need to resend you the original nanobind PR or can you reland that without me doing anything?

I can reland by reverting the revert (I'll fix up whatever has drifted) but I'll email Galina first to make sure the bots are rebooted.

makslevental added a commit to llvm/llvm-project that referenced this pull request Dec 9, 2024
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 61bf308.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 13, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 61bf308cf2fc32452f14861c102ace89f5f36fec.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 1b84da2.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit b9f038f.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 5f5b11f.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 77c6aeb.
makslevental added a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 2d11d7b.
bump-llvm bot pushed a commit to makslevental/python_bindings_fork that referenced this pull request Aug 14, 2025
Reverts revert #118517 after (hopefully) fixing builders
(llvm/llvm-zorg#328,
llvm/llvm-zorg#327)

This reverts commit 49ee357.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants