20 Commits

Author SHA1 Message Date
Amir Sadoughi
7e8f65ee22 wrong string 2024-08-26 15:29:48 -04:00
Amir Sadoughi
5d9d527ec5 quote escape 2024-08-26 14:59:21 -04:00
Amir Sadoughi
82088e77a3 bump pytorch to >=2 2024-08-26 13:39:43 -04:00
Amir Sadoughi
8661c2381b upgrade to 2.1.0 2024-08-23 12:46:08 -04:00
Amir Sadoughi
37dd003253 numpy version 2024-08-23 12:04:41 -04:00
Ramil Bakhshyiev
924c24db23 Enable Python tests for ROCm (#3763)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3763

This change enables Python version of tests for ROCm builds.

Reviewed By: asadoughi

Differential Revision: D61366282

fbshipit-source-id: c2fd688db42d63946f1c5ca7d50f0a1c4d4a33cd
2024-08-16 12:01:50 -07:00
Ramil Bakhshyiev
ac18577482 Install gpg for ROCm builds (#3744)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3744

gpg is needed for ROCm builds but does not come with containerized builds. This change add installation of gpg.

Reviewed By: junjieqi

Differential Revision: D61007840

fbshipit-source-id: 6322112803866dff57637bea290dc032e2bf41ad
2024-08-09 02:04:53 -07:00
Ramil Bakhshyiev
9f9b53b3c7 Use $HOME variable to find Conda binaries instead of hard-coded path (#3743)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3743

This fixes containerized builds that will be needed for ROCm.

Reviewed By: junjieqi

Differential Revision: D61007764

fbshipit-source-id: 11fa8dc3641a85d4c220832bedf0f6d62ae49426
2024-08-09 02:04:53 -07:00
Ramil Bakhshyiev
acc3a97e3d Add labels to test-results file and include ROCm flag (#3738)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3738

Reviewed By: gtwang01

Differential Revision: D60977946

fbshipit-source-id: f13bfd909b689300ec765fa15d850ef3701bbf37
2024-08-08 13:02:37 -07:00
gtwang01
e5f4647f15 Unpin gxx_linux-64 requirement (#3655)
Summary:
The TestPartitioning.TestPartitioningBigRange test case fails on gcc version 13.2. We can avoid this by requiring gcc version 11.2 where the test case works.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3655

Test Plan: Check github workflows and test branches

Reviewed By: ramilbakhshyiev

Differential Revision: D59988036

Pulled By: gtwang01

fbshipit-source-id: ae6d7f7888c9d7a2e59f557e05dbd4f318983668
2024-08-07 16:17:33 -07:00
Ramil Bakhshyiev
85df0e0a8d CMake step to symlink system libraries for RAFT and ROCm (#3725)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3725

This step is necessary for both of the builds with newer gxx_linux package version. ROCm is already using this symlinking and this change expands it to RAFT as well.

Reviewed By: mengdilin

Differential Revision: D60830977

fbshipit-source-id: fe95a6580b3866e17b56d542509405e93a3ff453
2024-08-06 10:22:06 -07:00
Ramil Bakhshyiev
4e2aead378 Enable ROCm in build-only mode (#3713)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3713

Enable ROCm in CI

Reviewed By: asadoughi

Differential Revision: D60598458

fbshipit-source-id: f95d9a2b0b894c3f7272d4f1963d9230e1069bf8
2024-08-01 14:47:56 -07:00
Ramil Bakhshyiev
28f7d3a153 Merge cmake command in the cmake build action (#3702)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3702

Simplify the cmake command in the cmake build action

Reviewed By: mengdilin

Differential Revision: D60427830

fbshipit-source-id: 0e89068649a61e2df3889de69e4d3fa13de0442f
2024-07-30 10:50:13 -07:00
mengdilin
34bbe5e540 Add ARM64 build to build_cmake actions for SVE (#3653)
Summary:
Add instructions to download arm64 specific conda dependencies and cmake command and run it on CI. This should prepare us to turn on CI with SVE optimization

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3653

Reviewed By: ramilbakhshyiev

Differential Revision: D60043435

Pulled By: mengdilin

fbshipit-source-id: d81bb1c1022681c3da8f98bbf080d5e1d65d6b80
2024-07-26 17:27:39 -07:00
Ramil Bakhshyiev
44d21eedb6 Consolidate build environment configuration steps in cmake builds (#3516)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3516

This diff seeks to simplify the steps that install conda packages and environment configuration into a single step at the start of the cmake build action.

Reviewed By: mnorris11

Differential Revision: D58560454

fbshipit-source-id: ee2c6b36865809f31eb335cfb3c2fffdccaa318d
2024-06-13 22:30:28 -07:00
Ramil Bakhshyiev
d45f78b1e1 Add conda bin to path early in the cmake GitHub action (#3512)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3512

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3510

GitHub hosted runners some with the build-essentials package pre-installed, self-hosted runners on AWS do not have this package. This made it all steps other than the `all targets` one fall back to the system executables which unintentially worked on GitHub hosted runners but not on the self-hosted ones. This diff fixes it by pulling the line that adds conda bin to path early in the cmake build action.

Reviewed By: asadoughi

Differential Revision: D58513853

fbshipit-source-id: 23e95459e0031c96bd142515db07d1b700d713cf
2024-06-13 08:14:38 -07:00
Ramil Bakhshyiev
7fc81841a2 Relax version requirements for action steps (#3461)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3461

Migration to GitHub Actions

Reviewed By: junjieqi

Differential Revision: D57545814

fbshipit-source-id: a3d08f8cf516ce26f8f16892eceef9e36bfe9f05
2024-05-20 12:50:08 -07:00
Ramil Bakhshyiev
e822a8c152 GitHub Actions files cleanup (#3454)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3454

Removing commented out lines and adding proper descriptions and comments where appropriate.

Reviewed By: junjieqi

Differential Revision: D57501602

fbshipit-source-id: 0202ff73b7a83158808affba9b98b96dff569457
2024-05-17 12:02:55 -07:00
Ramil Bakhshyiev
b487c62a1e Update system dependencies to enable CUDA builds on v6 kernel and newer libc (#3426)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3426

GitHub Actions only supports Ubuntu 22 and newer and this change is necessary to enable CUDA builds to complete the migration.

Reviewed By: algoriddle

Differential Revision: D57261685

fbshipit-source-id: 34467f57426864ffa8b32f6018ccdc7bb4424b57
2024-05-13 09:54:41 -07:00
Ramil Bakhshyiev
7e1d2b1f55 Initial config and linux-x86_64-cmake build job only
Summary:
This commit is the first in a series in an attempt to incrementally enable all jobs currenlty performed by CircleCI. It includes the main configuration files provided by GitHub team + 1 build.

Original PR: https://github.com/facebookresearch/faiss/pull/3325

Reviewed By: junjieqi

Differential Revision: D56671582

fbshipit-source-id: c8a21cd69aabaf86134eb86753e90b1facf51bc3
2024-04-29 10:48:52 -07:00