Skip to content

Commit d8515db

Browse files
authored
Enable Dependabot. (#181)
Also remove unneeded Python packages versions as much as possible.
1 parent cd2233c commit d8515db

File tree

5 files changed

+34
-8
lines changed

5 files changed

+34
-8
lines changed

.github/dependabot.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"
12+
groups:
13+
github-actions:
14+
patterns:
15+
- "*"
16+
- package-ecosystem: "pip"
17+
directory: "/"
18+
schedule:
19+
interval: "monthly"
20+
groups:
21+
python:
22+
patterns:
23+
- "*"
24+
ignore:
25+
# 2.19.1 is the last version of the TensorFlow that supports TPUs.
26+
- dependency-name: "tensorflow-tpu"

requirements-jax-cuda.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Tensorflow cpu-only version.
2-
tensorflow-cpu>=2.20.0
2+
tensorflow-cpu
33

44
# Torch cpu-only version.
55
--extra-index-url https://download.pytorch.org/whl/cpu
6-
torch>=2.1.0
6+
torch
77

88
# Jax with cuda support.
99
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

requirements-jax-tpu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Tensorflow cpu-only version.
2-
tensorflow-cpu>=2.20.0
2+
tensorflow-cpu
33

44
# Jax with TPU support.
55
jax[tpu]

requirements-tensorflow-cuda.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ tensorflow[and-cuda]
33

44
# Torch cpu-only version.
55
--extra-index-url https://download.pytorch.org/whl/cpu
6-
torch>=2.1.0
6+
torch
77

88
# Jax cpu-only version.
99
jax[cpu]

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Tensorflow.
2-
tensorflow-cpu>=2.20.0;sys_platform != 'darwin'
3-
tensorflow>=2.20.0;sys_platform == 'darwin'
2+
tensorflow-cpu;sys_platform != 'darwin'
3+
tensorflow;sys_platform == 'darwin'
44

55
# Torch.
66
--extra-index-url https://download.pytorch.org/whl/cpu
7-
torch>=2.9.0
7+
torch
88

99
# Jax.
10-
jax[cpu]>=0.7.0
10+
jax[cpu]
1111
jax-tpu-embedding;sys_platform == 'linux' and platform_machine == 'x86_64'
1212

1313
# pre-commit checks (formatting, linting, etc.)

0 commit comments

Comments
 (0)