Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge cog-trt-llm into this repo #38

Merged
merged 79 commits into from
May 17, 2024
Merged

Conversation

yorickvP
Copy link
Contributor

  • subtree merge cog-trt-llm
  • ignore cog-trt-llm subdir in runners
  • use cog-trt-llm as root dir in builder

joehoover and others added 30 commits January 2, 2024 11:33
Comment on lines -41 to +42
# copy cog-trt-llm source into /src
cognix.postCopyCommands = ''
cp ${config.deps.cog-trt-llm}/{*.py,cog-trt-llm-config.yaml} $out/src/
'';
cognix.rootPath = lib.mkForce "${./cog-trt-llm}";
Copy link
Contributor

Choose a reason for hiding this comment

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

doesn't this result in a pretty different image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

/src will be different, just containing the data from cog-trt-llm instead of a weird merge. But that should be it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like I'd prefer to keep the weird merge as it is, I think

Copy link
Contributor

Choose a reason for hiding this comment

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

@technillogue, could you tldr the costs/benefits as you see them? I don't think I understand your preference, but I'd like to :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I was just thinking of keeping the output images the way things are now, but I don't actually care that much

@joehoover
Copy link
Contributor

This seems good to me. Presumably you've tested the builds?

Comment on lines +1 to +3
[submodule "tensorrtllm_backend"]
path = tensorrtllm_backend
url = https://github.com/triton-inference-server/tensorrtllm_backend.git
Copy link
Contributor

Choose a reason for hiding this comment

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

we should probably drop this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haven't dropped it because that would break the 'legacy' dockerfile cog-trt-llm build

Comment on lines +1 to +8
*.bin
*.safetensors
*.cog
*.hypothesis
*.pytest_cache
__pycache__/
*.pyc
models/*
Copy link
Contributor

Choose a reason for hiding this comment

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

this doesn't do anything

@technillogue technillogue merged commit 2421897 into main May 17, 2024
1 check passed
@technillogue technillogue deleted the yorickvp/merge-cog-trt-llm branch May 17, 2024 23:04
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.

6 participants