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

Create cluster descriptor yaml in hidden folder #299

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Nov 13, 2024

Issue

Fixes #298

Description

After #245 the default location of cluster_descriptor.yaml creation has changed. There were some comments from metal and debuda team around this. Mainly, this file is not hidden anymore.
On the suggestion from @tt-vjovanovic , I've changed the code to create this file in OS provided temporary directory.

List of the changes

  • Put newly created cluster_descriptor.yaml in a temp folder. This won't be relative to working dir anymore.

Testing

CI tests touch this codepath

API Changes

There are no API changes in this PR.

@broskoTT
Copy link
Contributor Author

@broskoTT
Copy link
Contributor Author

@tt-vjovanovic and @abhullar-tt, please suggest how can we do this in other ways if this is not acceptable.

@broskoTT broskoTT changed the title init Create cluster descriptor yaml in hidden folder Nov 13, 2024
@broskoTT
Copy link
Contributor Author

Chatted offline with @tt-vjovanovic , and I changed the code as it is in tt-debuda, created in temp dir: https://github.com/tenstorrent/tt-debuda/blob/main/ttlens/server/lib/src/umd_with_open_implementation.cpp#L35

@broskoTT broskoTT merged commit 924e07f into main Nov 13, 2024
19 checks passed
@broskoTT broskoTT deleted the brosko/cluster_desc_yaml branch November 13, 2024 16:16
broskoTT added a commit that referenced this pull request Nov 13, 2024
### Issue
Fixes #298 

### Description
After #245 the default location of cluster_descriptor.yaml creation has
changed. There were some comments from metal and debuda team around
this. Mainly, this file is not hidden anymore.
On the suggestion from @tt-vjovanovic , I've changed the code to create
this file in OS provided temporary directory.

### List of the changes
- Put newly created cluster_descriptor.yaml in a temp folder. This won't
be relative to working dir anymore.

### Testing
CI tests touch this codepath

### API Changes
There are no API changes in this PR.
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.

Default location of cluster_descriptor.yaml has changed
2 participants