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

Fix colliding files #815

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Fix colliding files #815

merged 1 commit into from
Mar 6, 2025

Conversation

acirikTT
Copy link
Collaborator

@acirikTT acirikTT commented Mar 5, 2025

Ticket

N/A

Problem description

There are dupliced files that differ by upper/lower case file names or paths. This makes the repo hard to use - even unusable in mac. See the git clone log below

Cloning into 'pytorch2.0_ttnn'...
remote: Enumerating objects: 30578, done.
remote: Counting objects: 100% (14823/14823), done.
remote: Compressing objects: 100% (1778/1778), done.
remote: Total 30578 (delta 14234), reused 13053 (delta 13045), pack-reused 15755 (from 4)
Receiving objects: 100% (30578/30578), 154.22 MiB | 26.38 MiB/s, done.
Resolving deltas: 100% (23768/23768), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'docs/models/Mnist (Eval)/input_variations.md'
  'docs/models/Mnist (eval)/input_variations.md'
  'docs/models/Mnist (Train)/input_variations.md'
  'docs/models/Mnist (train)/input_variations.md'
  'docs/models/ResNet18/input_variations.md'
  'docs/models/resnet18/input_variations.md'
  'docs/models/ResNet50/input_variations.md'
  'docs/models/resnet50/input_variations.md'
  'tests/autogen_op/ResNet18/test_ResNet18_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_add_Tensor.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_add_Tensor.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_addmm_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_addmm_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_convolution_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_convolution_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_mean_dim.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_mean_dim.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_relu_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_relu_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_t_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_t_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_view_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_view_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_add_Tensor.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_add_Tensor.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_addmm_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_addmm_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_convolution_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_convolution_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_mean_dim.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_mean_dim.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_relu_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_relu_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_t_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_t_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_view_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_view_default.py'

What's changed

This PR:

  1. Fixes this issue by deleting duplicated files
  2. Adds test_fixture.log file to .gitignore

There are dupliced files that differ by upper/lower case file names or paths.
This makes the repo hard to use - even unusable in mac. See the git clone log below

```
Cloning into 'pytorch2.0_ttnn'...
remote: Enumerating objects: 30578, done.
remote: Counting objects: 100% (14823/14823), done.
remote: Compressing objects: 100% (1778/1778), done.
remote: Total 30578 (delta 14234), reused 13053 (delta 13045), pack-reused 15755 (from 4)
Receiving objects: 100% (30578/30578), 154.22 MiB | 26.38 MiB/s, done.
Resolving deltas: 100% (23768/23768), done.
warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'docs/models/Mnist (Eval)/input_variations.md'
  'docs/models/Mnist (eval)/input_variations.md'
  'docs/models/Mnist (Train)/input_variations.md'
  'docs/models/Mnist (train)/input_variations.md'
  'docs/models/ResNet18/input_variations.md'
  'docs/models/resnet18/input_variations.md'
  'docs/models/ResNet50/input_variations.md'
  'docs/models/resnet50/input_variations.md'
  'tests/autogen_op/ResNet18/test_ResNet18_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_add_Tensor.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_add_Tensor.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_addmm_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_addmm_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_convolution_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_convolution_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_mean_dim.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_mean_dim.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_relu_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_relu_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_t_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_t_default.py'
  'tests/autogen_op/ResNet18/test_ResNet18_aten_view_default.py'
  'tests/autogen_op/resnet18/test_resnet18_aten_view_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten__native_batch_norm_legit_no_training_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_add_Tensor.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_add_Tensor.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_addmm_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_addmm_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_convolution_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_convolution_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_max_pool2d_with_indices_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_mean_dim.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_mean_dim.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_relu_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_relu_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_t_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_t_default.py'
  'tests/autogen_op/ResNet50/test_ResNet50_aten_view_default.py'
  'tests/autogen_op/resnet50/test_resnet50_aten_view_default.py'
```

This PR:

  1. Fixes this issue by deleting duplicated files
  2. Adds `test_fixture.log` file to `.gitignore`
@acirikTT acirikTT added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Mar 6, 2025
@acirikTT acirikTT added this pull request to the merge queue Mar 6, 2025
Merged via the queue into main with commit 1969ca7 Mar 6, 2025
1 check passed
@acirikTT acirikTT deleted the ali/fix-colliding-files branch March 6, 2025 21:10
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.

2 participants