NVIDIA / nim-anywhere

Accelerate your Gen AI with NVIDIA NIM and NVIDIA AI Workbench
https://www.nvidia.com/en-us/ai/
Apache License 2.0
114 stars 64 forks source link

Layout of spec.yaml changed in PR 31 and workstation rewrites that file out back in the old format. #42

Closed freemansoft closed 3 months ago

freemansoft commented 3 months ago

Looks like this PR moved the top section of spec.yaml to the bottom.

https://github.com/NVIDIA/nim-anywhere/pull/31/files

AI Workstation loads that file and then writes it out to disk putting the order back to the way it was prior to PR 31. This causes the filesystem to be dirty.

I had to actually delete my clone and recreated it to be able to run the project.

AmeliaYe commented 3 months ago

Hi Joe, to make sure this doesn't happen again, here are some suggestions:

  1. Update workbench to the latest version
  2. Use git update-index --assume-unchanged [<file> ...] to ignore any changes workbench makes to yaml file. We'll report this to the workbench team.