This is probably a consequence of my slow network, but I switched
to smollm:135m, it's easier for demos. tiny was taking too long
to download.
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
Split make target lint into lint, format and check-format
and updated the CI steps accordingly. Also moved configuration
of black to pyproject.toml and flake8 to .flake8 file.
Signed-off-by: Michael Engel <mengel@redhat.com>
By pinning the version of the development tools, the risk of
accidental upgrades and breaking changes leading are mitigated.
Signed-off-by: Michael Engel <mengel@redhat.com>
Building Pragmatic into a container image is fairly easy.
podman build --build-arg IMAGE=quay.io/ramalama/rocm -t quay.io/ramalama/rocm-rag container-images/pragmatic
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Also Simplify Spec File
Fedora 39 is no longer supported, so remove checks in spec file.
More Podman to Recommends, You can run RamaLama with no container engine or with Docker.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Update CUDA base image from version to 12.6.3 for both builder
and runtime stages. Update UBI base image to 9.5. Update ROCm
version in to 6.3.1.
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
- Modified `Makefile` to pass the 'build' command to `container_build.sh`.
- Refactored `container_build.sh` to:
- Use `case` statements for command handling.
- Add `determine_platform` function to determine the platform.
- Add `parse_arguments` function for better argument parsing.
- Add `process_all_targets` function to handle all container images.
- Add `print_usage` function to display usage information.
- Enhance the `main` function to use the new functions and handle errors.
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
NO need to leak ramalama storage into container any longer.
Since we are disabling SELinux don't add Z.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
I found that the fix in the Makefile still broke on f39, and having
the line just ignore if it fails worked.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
Currently we are not installing command completions via PyPi.
For some reason python is ignoring the build directory.
Moving the completions from build to completions fixes the issue.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Add pyproject.toml, setup.cfg
Add new target make pypi.
fix up requirements.txt
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Update
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
No reason to leak /tmp, $HOME into the container.
The container is not run interactively, so we should not use --it
Always name the container
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>