dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[Feature]: Support Variable Interpolation in env: configuration

Open Bihan opened this issue 8 months ago • 2 comments

Problem

Currently the env: configuration does not support variable interpolation. This means that when we define environment variables like:

env:
  - NUM_SHARD=$DSTACK_GPUS_NUM

The value is not evaluated at runtime. This limitation makes it difficult to define dynamic environment configurations.

Solution

No response

Workaround

No response

Would you like to help us implement this feature by sending a PR?

No

Bihan avatar Apr 16 '25 09:04 Bihan