Skip to content

Commit

Permalink
refactor: estimate result
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <[email protected]>
  • Loading branch information
thxCode committed Aug 20, 2024
1 parent 04859cd commit eba88cd
Show file tree
Hide file tree
Showing 8 changed files with 834 additions and 669 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ gguf-parser:
GOBIN="$(SRCDIR)/.sbin" go install github.com/konoui/[email protected]; \
"$(SRCDIR)/.sbin/lipo" -create -output $(SRCDIR)/.dist/gguf-parser-darwin-universal $(SRCDIR)/.dist/gguf-parser-darwin-amd64 $(SRCDIR)/.dist/gguf-parser-darwin-arm64; \
fi;\
if [[ $$os == "$(GOOS)" ]] && [[ $$arch == "$(GOARCH)" ]]; then \
cp -rf $(SRCDIR)/.dist/gguf-parser-$$os-$$arch$$suffix $(SRCDIR)/.dist/gguf-parser$$suffix; \
fi; \
done

build: gguf-parser
Expand Down
483 changes: 386 additions & 97 deletions README.md

Large diffs are not rendered by default.

346 changes: 8 additions & 338 deletions cmd/gguf-parser/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cmd/gguf-parser/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/gpustack/gguf-parser-go => ../../

require (
github.com/gpustack/gguf-parser-go v0.6.0
github.com/olekukonko/tablewriter v0.0.5
github.com/jedib0t/go-pretty/v6 v6.5.9
github.com/urfave/cli/v2 v2.27.3
)

Expand Down
5 changes: 2 additions & 3 deletions cmd/gguf-parser/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eba88cd

Please sign in to comment.