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

Add reusable test workflow #202

Closed
wants to merge 5 commits into from

Conversation

jwallwork23
Copy link
Collaborator

Closes #201.

fixes [#183](#183)

There is an issue when building on mac (arm_64) or windows. The version
of `libtorch` exposes a torch tensors shape (`t->sizes().data()`) as a
`const long long int*` instead of just a `const long int*` like on linux
and mac (x86).

This commit adds preprocessor macro to switch between implementations
automatically detecting the correct version at CMake build stage.
@jwallwork23 jwallwork23 added the testing Related to FTorch testing label Dec 9, 2024
@jwallwork23 jwallwork23 self-assigned this Dec 9, 2024
@jwallwork23 jwallwork23 force-pushed the 201_reusable-workflow branch 2 times, most recently from 485a58a to 5ada566 Compare December 9, 2024 11:29
@jwallwork23
Copy link
Collaborator Author

Hm the workflows are sufficiently different that I don't think this would be worth it at this stage.

@jwallwork23 jwallwork23 deleted the 201_reusable-workflow branch January 14, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Related to FTorch testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants