Skip to content

feat: Better envdlib syntax support #1132

@lalawuu

Description

@lalawuu

Description

When I am working on writing envdlib for supporting tensorRT, I found some points we need for better use of envdlib:

  • Branch Judgment: we need judge wether current condition like os version and cuda version supported by tensorRT
  • Print: sometimes we should print some information for user's to use such as the location of sdk or agreement default to accept.
  • Context Varibles: we need context varibales such as os version to decide how to install

We still need to some work to implement composable image building. We still use the process-oriented pattern to acheive my goal. Maybe it is not a good idea in the future. https://nixos.org/ can give us some guides.


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions