Skip to content

Conversation

@svij-sc
Copy link
Collaborator

@svij-sc svij-sc commented Nov 25, 2025

Background Context: #405
Some guidance on stack of PRs: #405 (comment)

Scope of PR

This PR simply removes the existing locked dep files - which will no longer be needed in uv world as uv maintains its own global lock file: https://docs.astral.sh/uv/concepts/projects/sync/

@svij-sc svij-sc changed the title Remove Existing Deps Remove Existing Locked Deps. Nov 25, 2025
This reverts commit 4137907.
This reverts commit 7fbeb58.
@svij-sc svij-sc changed the title Remove Existing Locked Deps. [1/4 Deps Update] Remove Existing Locked Deps. Nov 26, 2025
@svij-sc svij-sc changed the title [1/4 Deps Update] Remove Existing Locked Deps. [1/6 Deps Update] Remove Existing Locked Deps. Nov 26, 2025
Copy link
Collaborator

@kmontemayor2-sc kmontemayor2-sc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also remove the ways to build these files in this PR?

GiGL/Makefile

Lines 97 to 137 in 7a66a06

# Can only be run on an arm64 mac, otherwise generated hashed req file will be wrong
generate_mac_arm64_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/darwin_arm64_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on an arm64 mac, otherwise generated hashed req file will be wrong.
generate_dev_mac_arm64_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_darwin_arm64_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra dev --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_linux_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/linux_cpu_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_dev_linux_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_linux_cpu_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra dev --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_linux_cuda_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/linux_cuda_requirements_unified.txt \
--extra torch25-cuda-121 --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_dev_linux_cuda_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_linux_cuda_requirements_unified.txt \
--extra torch25-cuda-121 --extra transform --extra dev --extra experimental \
./python/pyproject.toml

@svij-sc
Copy link
Collaborator Author

svij-sc commented Dec 2, 2025

@kmontemayor2-sc

Should we also remove the ways to build these files in this PR?

GiGL/Makefile

Lines 97 to 137 in 7a66a06

# Can only be run on an arm64 mac, otherwise generated hashed req file will be wrong
generate_mac_arm64_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/darwin_arm64_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on an arm64 mac, otherwise generated hashed req file will be wrong.
generate_dev_mac_arm64_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_darwin_arm64_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra dev --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_linux_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/linux_cpu_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_dev_linux_cpu_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_linux_cpu_requirements_unified.txt \
--extra torch25-cpu --extra transform --extra dev --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_linux_cuda_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/linux_cuda_requirements_unified.txt \
--extra torch25-cuda-121 --extra transform --extra experimental \
./python/pyproject.toml
# Can only be run on linux, otherwise generated hashed req file will be wrong.
generate_dev_linux_cuda_hashed_requirements:
pip-compile -v --allow-unsafe --generate-hashes --no-emit-index-url --resolver=backtracking \
--output-file=requirements/dev_linux_cuda_requirements_unified.txt \
--extra torch25-cuda-121 --extra transform --extra dev --extra experimental \
./python/pyproject.toml

I did it in 3/6 https://github.com/Snapchat/GiGL/pull/398/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52

Hope thats okay too!

@kmontemayor2-sc
Copy link
Collaborator

I did it in 3/6 https://github.com/Snapchat/GiGL/pull/398/files#diff 76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52

Since we're planning on putting in the whole stack together(?) this is fine with me :)

This PR is fine but holding off on stamping until everything is ready.

@kmontemayor2-sc
Copy link
Collaborator

Actually - is there a reason you don't want to merge this into main?
image

@svij-sc
Copy link
Collaborator Author

svij-sc commented Dec 2, 2025

Actually - is there a reason you don't want to merge this into main?

I may need to address conflicts, and need to do final scale testing. Thus, holding off merging into main.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kyle Montemayor <kmontemayor2@snapchat.com>
@svij-sc svij-sc marked this pull request as ready for review December 13, 2025 01:55
@svij-sc svij-sc merged commit 7b906b4 into svij/feature-uv-update-deps Dec 13, 2025
6 checks passed
@svij-sc svij-sc deleted the svij/remove-existing-deps branch December 13, 2025 01:55
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.

4 participants