Skip to content

feature: add makefile - #18

Merged
mudler merged 20 commits into
masterfrom
feature/devcontainer
Apr 15, 2023
Merged

feature: add makefile#18
mudler merged 20 commits into
masterfrom
feature/devcontainer

Conversation

@mkellerman

Copy link
Copy Markdown
Contributor

This helps running the api in debug mode directly inside the docker container.

Added a Makefile (used a template i found online), but i'm not a Golang dev, so no idea if i did it right.

Seems like there are some steps of the build in the Dockerfile that has no influence on the build, so look at the Makefile carefuly before merging. I've tested it, but rather you test it yourself as well.

And found a type (wrong case) for an environment variable.

@mkellerman mkellerman added bug Something isn't working enhancement New feature or request labels Apr 14, 2023
@mkellerman
mkellerman requested a review from mudler April 14, 2023 06:12
@mkellerman

Copy link
Copy Markdown
Contributor Author

Suggestion: To keep the history clean, i'd recommend doing a Squash and merge.

@mudler

mudler commented Apr 14, 2023

Copy link
Copy Markdown
Owner

Thanks!

I've tested it locally, build target works, so that's going in the good direction. There are just small nits that I've commented in the single commits - maybe better to split into separate PRs so we can merge them singularly?

@mudler

mudler commented Apr 14, 2023

Copy link
Copy Markdown
Owner

also.. ❤️ the webui integration!

@mudler
mudler force-pushed the feature/devcontainer branch from e10a895 to 7fdff40 Compare April 15, 2023 22:59
Comment thread .gitignore Outdated
libbinding.a

# llama models
models

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we put that in ignore, than it's more commands for the user to type - my plan was to leave a models folder with a .keep file checked out, so you can just copy the models in

@mudler mudler changed the title feature: add devcontainer & makefile feature: add devcontainer skeleton & makefile Apr 15, 2023
@mudler mudler changed the title feature: add devcontainer skeleton & makefile feature: add makefile Apr 15, 2023

@mudler mudler left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

@mudler
mudler merged commit f33c293 into master Apr 15, 2023
@mudler
mudler deleted the feature/devcontainer branch April 15, 2023 23:28
@mudler
mudler restored the feature/devcontainer branch April 15, 2023 23:35
walcz-de added a commit to walcz-de/LocalAI that referenced this pull request Jul 9, 2026
Runtime-verifiziert: hipengine.SamplingParams(max_tokens, temperature, top_p,
ignore_eos, kv_storage, …) — KEIN top_k/seed/stop. Diese Proto-Felder daher aus
_SAMPLING_MAP entfernt (statt sie zur Laufzeit defensiv zu droppen). Aus dem
Blueprint-Runtime-Durchstich (Task mudler#18).

Signed-off-by: Stefan Walcz <stefan.walcz@walcz.de>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TudBpPAvgnGgWpYwoe7ZZs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants