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

Develop upstream sync 230731 #2170

Merged
merged 453 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
453 commits
Select commit Hold shift + click to select a range
63abf15
Added attributed to IFRT CallOp that specifies if an atom program is …
tensorflower-gardener Jul 26, 2023
a034b3d
Add python and numpy headers to the local_config_python folder in the…
tensorflower-gardener Jul 26, 2023
daa9a34
Integrate LLVM at llvm/llvm-project@365d6eb1f7d8
tensorflower-gardener Jul 26, 2023
f178576
Update sample_stable_delegate for promotion of experimental/accelerat…
fergushenderson Jul 26, 2023
0ef963c
Increase the memory limit for the dtensor GPU test.
qlzh727 Jul 26, 2023
0321ee1
Remove trigraph
mihaimaruseac Jul 26, 2023
cc5aa34
Remove trigraph
mihaimaruseac Jul 26, 2023
7ba36c1
Remove unnecessary 'const' from pass-by-value function parameters.
fergushenderson Jul 26, 2023
d9ec8c5
Internal visibility change only.
ddunl Jul 26, 2023
cf4afb6
special allocations' aggregated metrics need to consider memory color.
trisolaran Jul 26, 2023
7f8be6e
deprecate instruction name, it is changed over 1 years ago.
trisolaran Jul 26, 2023
0cc2c30
Add macros for working with TF_Status in C++ code
LionOfJewdah Jul 26, 2023
3874ea2
Correct the device assignment for tf._XlaCompile
tensorflower-gardener Jul 26, 2023
69541bb
#tf-data-service Graduate `"data_transfer"` experiment.
mpcallanan Jul 26, 2023
2d04d5c
Merge pull request #60026 from milpuz01:node_rewrite_to_mkl_heuristics
tensorflower-gardener Jul 26, 2023
c2a9dd3
Potential improvement opportunity to eliminate extra transpose op.
tensorflower-gardener Jul 26, 2023
f7e9b91
Merge pull request #61176 from tensorflow:pjpratik-patch-6
tensorflower-gardener Jul 26, 2023
f9e2045
Remove one use of inlining in XlaCallModule shape refinement.
junwhanahn Jul 26, 2023
fe33928
Merge consecutive Pad operators
tensorflower-gardener Jul 26, 2023
1c26b1c
update internal files for release
tensorflower-gardener Jul 26, 2023
0d22c4b
[XLA:Python] Use int64_t instead of ssize_t (part 2) to fix another M…
skye Jul 27, 2023
6021733
Added a workaround for broadcast.
Jul 27, 2023
54eeb2a
[PJRT] Add PjRtDevice::PoisonExecution.
cezheng Jul 27, 2023
333bb69
[IFRT] Update ShardingParam to also support scalars.
tensorflower-gardener Jul 27, 2023
60574d4
Merge pull request #61384 from elfringham:fewer_jobs
tensorflower-gardener Jul 27, 2023
b03ea08
[xla:gpu] Fix the BFS algorithm in dataflow analysis
anlunx Jul 27, 2023
d5422e3
Add uniform quantized `stablehlo.convolution` -> `tfl.conv_2d` conver…
dansuh17 Jul 27, 2023
7d50115
[XLA] Update PatternMatchUnmergeSharding to avoid illegal function ca…
tensorflower-gardener Jul 27, 2023
9b2016c
[XLA:GPU] Enable using region analysis in the CopyInsertion pass.
bchetioui Jul 27, 2023
e5e0228
Add a tflite model containing tensors that store string data.
Jul 27, 2023
f07a290
Update GraphDef version to 1570.
tensorflower-gardener Jul 27, 2023
dab618e
compat: Update forward compatibility horizon to 2023-07-27
tensorflower-gardener Jul 27, 2023
d0d3444
Merge pull request #56813 from Intel-tensorflow:kanvi/support_3d
tensorflower-gardener Jul 27, 2023
2401754
Parse compiler flags passed as string through env_option_overrides.
tensorflower-gardener Jul 27, 2023
703993d
Make oneDNN ACL default on Neoverse V1 cores
cfRod Jul 27, 2023
5a9e625
[XLA:GPU][NFC] Refactor the propagation of dimension orders in the Tr…
Jul 27, 2023
e397708
[XLA:GPU] Fix for "double free in RegisterXlaFfiStreamProvider" when …
tdanyluk Jul 27, 2023
3382f0b
Fix a bug where the XNNPACK delegate plugin wasn't honouring the 'flags'
fergushenderson Jul 27, 2023
3273c45
[Linaro:ARM_CI] Stop using python venv for building and testing
elfringham Jul 27, 2023
4d47879
BatchMatMul implicitly transpose the RHS by changing the order from R…
alankelly Jul 27, 2023
8023633
[FTLite] Fix pthreadpool CMake integration
daniel-lang Jul 27, 2023
cdebcea
In Subgraph::AddTensors, return an error if `tensors_to_add` paramete…
fergushenderson Jul 27, 2023
66f5417
[XLA:GPU] Simplify operand index computations (NFC).
olegshyshkov Jul 27, 2023
3e3e3ca
Integrate LLVM at llvm/llvm-project@4706251a3186
tensorflower-gardener Jul 27, 2023
4ca12e7
This is an internal change.
tensorflower-gardener Jul 27, 2023
f5946e3
Remove a redundant `alwayslink` declaration for the targets
tensorflower-gardener Jul 27, 2023
8d71992
[XLA:GPU][NFC] Cleanup Triton GEMM rewriter.
Jul 27, 2023
5ea4397
Update TFRT dependency to use revision
tensorflower-gardener Jul 27, 2023
7241dde
Merge pull request #60436 from Intel-tensorflow:amin/mkl-eager-fix
tensorflower-gardener Jul 27, 2023
f4330b0
Merge pull request #61391 from Intel-tensorflow:hmap_fix
tensorflower-gardener Jul 27, 2023
48fba8d
Clean up dead launched flag to always enable op by op fallback.
changm Jul 27, 2023
47b65c8
Add type annotations to parameter_server_strategy_v2.
tensorflower-gardener Jul 27, 2023
4765c72
[xla] Do not depend on any iree targets by default
ezhulenev Jul 27, 2023
55368a5
Implement XLA kernel for general Conv Op.
nicolagp Jul 27, 2023
7e48fb0
[Linaro:ARM_CI] Retry flaky tests on AARCH64 as temp measure
elfringham Jul 27, 2023
36747a8
Bump gemm rewrite test tolerance
wenscarl Jul 27, 2023
9da78ff
Temporarily reenable flaky_test_attempts for upcoming TensorFlow 2.14…
MichaelHudgins Jul 27, 2023
b0f659b
Fix typo in error message.
haoyuz Jul 27, 2023
007324c
Disable the failing test for ASAN for now.
qlzh727 Jul 27, 2023
d044bd6
Add EagerWeakTensor and GraphWeakTensor.
tensorflower-gardener Jul 27, 2023
7d5d69a
Merge pull request #61385 from Intel-tensorflow:karen/curl-8.1.2
tensorflower-gardener Jul 27, 2023
d640178
Update image_searcher.md
pjpratik Jul 27, 2023
79f5dee
Update nl_classifier.md
pjpratik Jul 27, 2023
7b9c7e6
Update text_searcher.md
pjpratik Jul 27, 2023
a53ed37
Update bert_nl_classifier.md
pjpratik Jul 27, 2023
4088118
Update bert_question_answerer.md
pjpratik Jul 27, 2023
c2aba63
Move legalize-tf-types pass to MOT directory
tensorflower-gardener Jul 27, 2023
d198343
Update audio_classifier.md
pjpratik Jul 27, 2023
04075f4
Go: Update generated wrapper functions for TensorFlow ops.
tensorflower-gardener Jul 27, 2023
362f2fb
Allow dynamic shaped starting indices when legalizing mhlo.gather op.
yishuangP Jul 27, 2023
97a878f
Move the ComplexType handling into the type lowering pass for collect…
tensorflower-gardener Jul 27, 2023
9c91df1
Update legacy reference to tensor.Tensor.
fionalang Jul 27, 2023
5368a3a
Delete all API exports from the stale tensorflow/python/keras/ direct…
fionalang Jul 27, 2023
78be6ff
Update C++ UnsortedSegmentMin/Max grad tests to avoid potential flaki…
tensorflower-gardener Jul 27, 2023
2dd1d39
Tighten up DVariable constructor.
rainwoodman Jul 27, 2023
5c1559b
Include indirect dependencies check under `DependOn()` in AllReduce c…
tensorflower-gardener Jul 27, 2023
a9e383e
Add mlir tests for the current FFT SPMD expander(CL 550657034).
tensorflower-gardener Jul 27, 2023
94f2933
Fix paths and convert continuous envs from cache to RBE
angerson Jul 27, 2023
c5eb50d
Add C++ gradient for BatchMatMulV3
tensorflower-gardener Jul 27, 2023
98446be
[XLA:Python] Fix build failure on Mac OS.
hawkinsp Jul 27, 2023
a693975
Unique stacks and frames when attaching debug information to graphs.
tensorflower-gardener Jul 27, 2023
d65b9f2
Guard ARM64 CPU info changes when on Apple or OpenBSD.
penpornk Jul 27, 2023
c73eaf4
Removing jit backend from tfrt.
tensorflower-gardener Jul 27, 2023
e57d550
Provide interface to enable XLA outside compilation for Cloud TPU VMs.
LionOfJewdah Jul 27, 2023
ce15c1b
Use VLOG instead of LOG_EVERY_N_SEC for logging the optimal number of…
armandouv Jul 27, 2023
e281561
[PJRT C] Add PJRT_Plugin_Initialize for plugin to provide initializat…
Jul 27, 2023
00cbb02
[TF:PJRT] Set device ordinal in compile option to be physical device …
Jul 27, 2023
dd21cba
Update TFRT dependency to use revision
tensorflower-gardener Jul 27, 2023
2c8505a
Fix comments in .bazelrc
DrMarcII Jul 27, 2023
141bb08
[xla:gpu] Improve the mechanism for terminating the concurrent region
anlunx Jul 27, 2023
17f11ef
Move `TopologicalIterator` to a separate file for reusing.
tensorflower-gardener Jul 27, 2023
e9ab841
Move platform imports in python/__init__.py to modules_with_exports.py.
fionalang Jul 27, 2023
b694605
Add type annotations to the return values of convert_to_tensor_v1* an…
tensorflower-gardener Jul 27, 2023
f4d81e8
Register Iterations automatically when reporting a time
armandouv Jul 27, 2023
766d993
Implementing BEF Generation to saved_model_aot_compile and minima…
IMMZEK Jul 27, 2023
7983c59
Don't add input shardings for conditional statements when generating …
tensorflower-gardener Jul 27, 2023
7e72326
#tf-data Turn down `"file_locality"` (v1) experiment.
mpcallanan Jul 27, 2023
bd2ad32
Add TF::CollectiveReduceV2Op to AllowedTf2XlaFallback so it is not ou…
kenfranko Jul 27, 2023
dd5286e
Merge pull request #61417 from tensorflow:DrMarcII-patch-1
tensorflower-gardener Jul 27, 2023
a08c4bc
When sharding propagation cannot infer shardings for the operand of a…
tensorflower-gardener Jul 27, 2023
4d7ea08
Add type annotations to the return values of convert_to_tensor_v1* an…
Jul 27, 2023
5050599
Add support for mesh shapes with >3 dimensions, but will <3 dimension…
tensorflower-gardener Jul 27, 2023
f433fe3
#tf-data Ramp up `"file_locality_v2"` experiment to 50%.
mpcallanan Jul 27, 2023
7e0eb78
[PJRT:C] Make PjRtCApiBuffer::has_dynamic_dimensions return false if …
skye Jul 27, 2023
9daa492
Remove all dimensions from the mesh shape with a length of 1. This si…
tensorflower-gardener Jul 27, 2023
222a63c
[Refactoring] Replace `absl::optional`, `absl::variant`, and related …
LionOfJewdah Jul 27, 2023
1256c03
[XLA] Allow mixed precision types for all-gather in HLO verifier
jurahul Jul 27, 2023
6ecdacc
Allow DEVICE_GPU to use PJRT for XlaCompile+Run ops.
swachhandl Jul 28, 2023
79eccca
Integrate LLVM at llvm/llvm-project@2854852f4f0f
tensorflower-gardener Jul 28, 2023
4741d07
[XLA] Turn
amitsabne1 Jul 28, 2023
b644c21
Update TFRT dependency to use revision
tensorflower-gardener Jul 28, 2023
7677b1b
Target Monterey (12.0) as the minimum compatible os for arm64 wheels
nitins17 Jul 28, 2023
b0d2cb4
Add MLIR op definition for VirtualInfeedEnqueue op and VirtualInfeedD…
tensorflower-gardener Jul 28, 2023
b8cc608
Add a command line flag to provide a path to a file containing compil…
tensorflower-gardener Jul 28, 2023
bd083e3
Prevent redundant and excessive HLO dumps from the auto-sharding pass.
tensorflower-gardener Jul 28, 2023
0f91246
Support preserving function alias in QuantizePtqDynamicRange
sngyhan Jul 28, 2023
9a6fd5c
Merge pull request #61414 from elfringham:flay_retries
tensorflower-gardener Jul 28, 2023
1c6adc0
Merge pull request #61412 from daniel-lang:fix-pthreadpool
tensorflower-gardener Jul 28, 2023
81109af
Let the raw-ops page changes apply for dev (tf-nightly) and rc builds.
MarkDaoust Jul 28, 2023
ab8c59c
Internal cleanup of an incorrect patch
tensorflower-gardener Jul 28, 2023
00101ba
Internal Code Change
tensorflower-gardener Jul 28, 2023
7a1c8e0
[xla:gpu] Add lmhlo_gpu.gemm (cuBLAS) support
ezhulenev Jul 28, 2023
de1024a
Merge pull request #61413 from elfringham:no_venv
tensorflower-gardener Jul 28, 2023
a1e9623
Merge pull request #61415 from wenscarl:bump_gemm_rew_test_tol
tensorflower-gardener Jul 28, 2023
5bb35d2
[XLA:GPU] Bubble up triton autotuner error messages.
chsigg Jul 28, 2023
158426a
[xla:gpu] Add HLO tracing support
ezhulenev Jul 28, 2023
97d1bc2
[XLA] NFC: simplify shape util's `ElementsIn()`, and some IWYU.
chsigg Jul 28, 2023
dcbb4e2
Update GraphDef version to 1571.
tensorflower-gardener Jul 28, 2023
e1089d6
compat: Update forward compatibility horizon to 2023-07-28
tensorflower-gardener Jul 28, 2023
a868ab2
[xla:gpu] Add StreamExecutor backend
ezhulenev Jul 28, 2023
6d13c55
[xla:gpu] NFC: Use single flag to control experimental compiler/runti…
ezhulenev Jul 28, 2023
8ba454c
[XLA:GPU] Limit the use of split-K in Triton GEMMs.
Jul 28, 2023
0967a0f
PR #61110: Adds matmul heuristic for oneDNN ACL builds on AArch64
cfRod Jul 28, 2023
f3034f9
[XLA:GPU] Enable by default more fusions in Triton GEMMs.
Jul 28, 2023
f374749
XlaCallModule: Increase limit of number of error message inputs for s…
gnecula Jul 28, 2023
d84a2cf
Remove duplicate random dependency from ROCM build.
jreiffers Jul 28, 2023
d672b2c
Merge pull request #60353 from cfRod:make_onednn_acl_default
tensorflower-gardener Jul 28, 2023
0f3da2e
Introduce the DynamicTopKOp experiment
gnecula Jul 28, 2023
f1759fd
Fix typo in test name.
fergushenderson Jul 28, 2023
e3902ad
IF STATIC: sharing node inputs and outputs with subgraph inputs and o…
alankelly Jul 28, 2023
d781442
Sync 61415
wenscarl Jul 28, 2023
9bc986c
Change log to only report every 10 seconds to reduce frequency of thi…
tensorflower-gardener Jul 28, 2023
7636f9c
Avoid collision of channel_ids for send/recv and collectives.
kenfranko Jul 28, 2023
d43e620
Some CustomCalls may wish their called_computation to be sharded, too.
tensorflower-gardener Jul 28, 2023
059fab8
Allow the use of different sized program keys for _XlaSendFromHost an…
kenfranko Jul 28, 2023
1631dad
Integrate LLVM at llvm/llvm-project@cb924ddca514
tensorflower-gardener Jul 28, 2023
b11800d
Merge pull request #61400 from nluehr:cusparse-12.2-fix
tensorflower-gardener Jul 28, 2023
c28b940
Update TFRT dependency to use revision
tensorflower-gardener Jul 28, 2023
0866c16
#tf-data-service Make data transfer server port function const and re…
mpcallanan Jul 28, 2023
b4edcee
#tf-data-service Rename data transfer client compatibility parameter …
mpcallanan Jul 28, 2023
d53dc92
memory viewer peak memory take into account fragmentation in HLO temp…
trisolaran Jul 28, 2023
7334d9e
Merge pull request #61418 from tensorflow:srnitin-patch-macos_arm64-ci
tensorflower-gardener Jul 28, 2023
db68386
Fix type annotations and add more to parameter_server_strategy_v2.
tensorflower-gardener Jul 28, 2023
e98eadb
[XLA/debuggability] Add features to `hlo_slicer` that slice to the ne…
tensorflower-gardener Jul 28, 2023
8c7e187
Fix up wheel verification test
angerson Jul 28, 2023
0aed5ef
[XLA:Python] Remove code that existed to support ml_dtypes < 0.2.
hawkinsp Jul 28, 2023
67b7e02
Take conditionals into account when estimate instruction execution
tensorflower-gardener Jul 28, 2023
7e31270
[xla:gpu] Make StreamAssignmentPass a module pass
anlunx Jul 28, 2023
83f43a3
Change sharding from binary to human readable while importing graphdef.
tensorflower-gardener Jul 28, 2023
152dc61
Fix math_grad_test build break on mac
tensorflower-gardener Jul 28, 2023
f0fdcc1
[xla:gpu] NFC: Extract xla_gpu_api library + pass shared state by ref…
ezhulenev Jul 28, 2023
1a72f09
[IFRT] Define MemoryKind and add it to Sharding
hyeontaek Jul 28, 2023
27c3996
[XLA] Turn
bloops Jul 28, 2023
ebb292f
Fix boosted trees shape function issue.
cantonios Jul 28, 2023
7d8e658
[IFRT] Rewrite PjRtArray::CopyToHostBuffer to use more specific shape…
skye Jul 28, 2023
631bbed
Merge pull request #60807 from philipphack:u_fp8_conv_xla
tensorflower-gardener Jul 28, 2023
43c256c
[jax] Rewrite IfrtHelpers::xla_dynamic_shape to use more specific sha…
skye Jul 28, 2023
c86bdac
Allow public linking against TSL_Status internal
hhb Jul 29, 2023
f826bad
Remove constant and use full path to export symbols.
DrMarcII Jul 29, 2023
02a7b5f
Use TSL_Status directly inside Tensorflow
hhb Jul 29, 2023
e6fb864
Add support for assign/assign_add/assign_sub methods of ResourceVaria…
JW1992 Jul 29, 2023
53cee0b
Integrate LLVM at llvm/llvm-project@5d976edd3f2a
tensorflower-gardener Jul 29, 2023
29e38e0
Update TFRT dependency to use revision
tensorflower-gardener Jul 29, 2023
34db316
Replace legacy TpuStatus_ methods with TSL_Status
LionOfJewdah Jul 29, 2023
9a96ad2
Update GraphDef version to 1572.
tensorflower-gardener Jul 29, 2023
07ecbda
Internal Code Change
tensorflower-gardener Jul 29, 2023
23abe15
compat: Update forward compatibility horizon to 2023-07-29
tensorflower-gardener Jul 29, 2023
0440b9d
Update Eigen to commit:d4ae542ed1c6f3eaad29445100052489471e38ea
tensorflower-gardener Jul 29, 2023
5379fe7
Fix deps issues that are preventing targets from building.
DrMarcII Jul 29, 2023
6933bb5
Replace legacy TpuStatus_ methods with TSL_Status
hhb Jul 29, 2023
27c7c96
Add an AoT compilation API to HLO runner.
jinliangwei Jul 30, 2023
3cf13ce
Update GraphDef version to 1573.
tensorflower-gardener Jul 30, 2023
3d69caf
compat: Update forward compatibility horizon to 2023-07-30
tensorflower-gardener Jul 30, 2023
4ca0410
Add TfLiteTypeSizeOf to test_utils.
LukeBoyer Jul 30, 2023
9a7a2f3
log raw memory allocation inside TfAllocatorAdapter::Allocate
tensorflower-gardener Jul 30, 2023
8e4cd1d
Merge pull request #61416 from pjpratik:master
tensorflower-gardener Jul 31, 2023
d5c0d40
Rolls back log raw memory allocation inside TfAllocatorAdapter::Allocate
tensorflower-gardener Jul 31, 2023
fee6d2d
Update TFRT dependency to use revision
tensorflower-gardener Jul 31, 2023
53812fc
Add dot general quantization conversion pattern to `ComposeUniformQua…
dansuh17 Jul 31, 2023
078045d
Internal Code Change
tensorflower-gardener Jul 31, 2023
d7c7408
Fix unable to find lit module for xla unit tests
elfringham Jul 31, 2023
4ee5f59
compat: Update forward compatibility horizon to 2023-07-31
tensorflower-gardener Jul 31, 2023
599baef
[TFLite] Fix gemmlowp CMake integration
daniel-lang Jul 27, 2023
305c2c0
Update GraphDef version to 1574.
tensorflower-gardener Jul 31, 2023
fb51545
[mhlo, stablehlo] Prevent invalid indexing in Attribute pretty printers.
GleasonK Jul 31, 2023
b13d24f
PR #4603: [ROCm] fixed rocm build error
i-chaochen Jul 31, 2023
7f6f500
[XLA:GPU][NFC] Shorten access to frequently used MLIR types.
Jul 31, 2023
6d2f5ac
Merge pull request #60319 from wenscarl:rank3_biasadd
tensorflower-gardener Jul 31, 2023
412df1a
Integrate LLVM at llvm/llvm-project@41895843b591
d0k Jul 31, 2023
f1108d5
Update TFRT dependency to use revision
tensorflower-gardener Jul 31, 2023
a880358
[XLA:GPU] Simplify bool expression in ReductionIsRaceFree.
olegshyshkov Jul 31, 2023
a783e84
[XLA:GPU] Make Triton GEMM autotuner skip fusions with already assign…
Jul 31, 2023
af4c2ae
Move module import from python/__init__.py to python/modules_with_exp…
fionalang Jul 31, 2023
5b275d6
[xla:gpu] Use profiler lock to detect active profiling sessions
ezhulenev Jul 31, 2023
85db97c
[XLA] Fix 2 bugs in collective permute motion.
Jul 31, 2023
39af5a5
[TF:PJRT] Relax the required byte size check when the input shape is …
Jul 31, 2023
b63d1b6
Add release notes for bugs fixed for *FFT* ops in DTensor.
tensorflower-gardener Jul 31, 2023
cef42dc
Integrate LLVM at llvm/llvm-project@2dc1a27449a9
durin42 Jul 31, 2023
b276e31
Merge pull request #61409 from daniel-lang:fix-glemmlowp-cmake
tensorflower-gardener Jul 31, 2023
bbcff12
removing erroneous documentation
tensorflower-gardener Jul 31, 2023
3f13278
[sharding propagation] Support propagating across call boundaries
tensorflower-gardener Jul 31, 2023
80090b7
Update TFRT dependency to use revision
tensorflower-gardener Jul 31, 2023
81cb103
Merge pull request #61399 from daniel-lang:fix-flatbuffer-cmake-config
tensorflower-gardener Jul 31, 2023
26ab75c
Add type annotations to the return values of convert_to_tensor_v1* an…
tensorflower-gardener Jul 31, 2023
4d2373a
Include the program key in the rendezvous key for host-callback in Xl…
kenfranko Jul 31, 2023
8032cd2
The synchronization among the group of participants for acquiring
bixia1 Jul 31, 2023
4282c5f
Add shim for signature_runner.
fergushenderson Jul 31, 2023
43f97d5
[xla:gpu][iree] Add support for compiled ops with multiple kernels + …
ezhulenev Jul 31, 2023
2a0b819
Change `CHECK` to explicit error.
jszaday Jul 31, 2023
39c23eb
[xla:runtime] Fix a bug in encoding memrefs with dynamic offset
ezhulenev Jul 31, 2023
ea3b03a
Merge pull request #60898 from psunn:matmul_psunn
tensorflower-gardener Jul 31, 2023
3cdfbc6
Cleanup for XLA Outside Compilation in Cloud TPU VMs
LionOfJewdah Jul 31, 2023
c265e85
[XLA:TPU] HLO flattening fix for SPMD graphs that have outfeed.
tayo Jul 31, 2023
691b916
[XLA] Make PatternMatchMergeSharding and PatternMatchUnmergeSharding …
tensorflower-gardener Jul 31, 2023
08a1842
[TF:PJRT] Allow DEVICE_GPU to use PJRT for XlaCompileOnDemand op.
chuanhaozhuge Jul 31, 2023
915d0fb
Add sample stable delegate code for nested control flow support.
JunyoungLim Jul 31, 2023
d1c9b06
Support executing multi partition GPU programs using PJRT. It mainly …
qqfish Jul 31, 2023
fbe8e76
Add predicate-based `wait` method to tsl::condition_variable.
cantonios Jul 31, 2023
9a389b7
[XLA] Add `device_memory_size` option to ExecutableBuildOptions.
jurahul Jul 31, 2023
872f84d
[xla:gpu] Add readme + style recommendation for experimental backend
ezhulenev Jul 31, 2023
bfc143e
Adds saved model default input support in TF.
tensorflower-gardener Jul 31, 2023
82077d5
Remove reference to deprecated "long" type.
jam14j Jul 31, 2023
04465a6
#tf-data Promote `"file_locality_v2"` experiment to job-level.
mpcallanan Jul 31, 2023
bc68c98
[xla] Make Send a control predecessor of Recv-done in the generated S…
bixia1 Jul 31, 2023
cd1cdc8
Fixed conflict in graph_execution_options wrapper.
IMMZEK Jul 31, 2023
3c4627f
Remove setting up GCS in FindAndLoadTpuLibrary.
Jul 31, 2023
73a54a8
[XLA:GPU] Update intercept check of DUS and Copy in LiveRangeRegion A…
tensorflower-gardener Jul 31, 2023
0eed700
Merge pull request #61428 from elfringham:fix_xla_lit
tensorflower-gardener Jul 31, 2023
b769fc4
Update Rendezvous API to not depend on `:tf_status`
hhb Jul 31, 2023
67dbc78
Add a device count cache to CudaPlatform.
tensorflower-gardener Aug 1, 2023
32803d8
Add input type inference, conversion and WeakTensor construction logi…
tensorflower-gardener Aug 1, 2023
9d0fea2
Creates an optimization to fuse transpose and reshape into batch_ma…
chhe7 Aug 1, 2023
d1280be
When sharding propagation does not return an input sharding for opera…
tensorflower-gardener Aug 1, 2023
e1de22b
weekly sync 230731 before solving conflicts
weihanmines Aug 1, 2023
da2cefb
weekly sync 230731 after solving conflicts
weihanmines Aug 1, 2023
24ddcca
remove intel's rules
weihanmines Aug 1, 2023
110b0d8
turn on gpu graph and triton softmax fusion
weihanmines Aug 1, 2023
0b22eac
disable float_support_test which targets for sm80
weihanmines Aug 1, 2023
3131c3a
fix the tag issue
weihanmines Aug 1, 2023
6dd08fb
turn off hlo_op_profiler_test for now
weihanmines Aug 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@ build:monolithic --define framework_shared_object=false
build:monolithic --define tsl_protobuf_header_only=false
build:monolithic --experimental_link_static_libraries_once=false # b/229868128

build:linux --define=build_with_onednn_v2=true

# Please note that MKL on MacOS is still not supported.
# If you would like to use a local MKL instead of downloading, please set the
# environment variable "TF_MKL_ROOT" every time before build.
Expand Down Expand Up @@ -417,6 +415,8 @@ build:rbe --google_default_credentials
build:rbe --bes_backend=buildeventservice.googleapis.com
build:rbe --bes_results_url="https://source.cloud.google.com/results/invocations"
build:rbe --bes_timeout=600s
# TODO(b/290857564): Remove from mainline after 2.14 branch cut
build:rbe --flaky_test_attempts=3
build:rbe --define=EXECUTOR=remote
build:rbe --jobs=800
build:rbe --remote_executor=grpcs://remotebuildexecution.googleapis.com
Expand Down Expand Up @@ -557,6 +557,8 @@ try-import %workspace%/.bazelrc.user
# Here are bazelrc configs for release builds
build:release_base --config=v2
test:release_base --test_size_filters=small,medium
# TODO(b/290857564): Remove from mainline after 2.14 branch cut
test:release_base --flaky_test_attempts=3

build:release_cpu_linux --config=release_base
build:release_cpu_linux --config=avx_linux
Expand Down
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
relayouting a tensor according to the layout of another tensor.
* Added `dtensor.get_default_mesh`, for retrieving the current default
mesh under the dtensor context.
* \*fft\* ops now support dtensors with any layout. Fixed bug in 'fft2d/
fft3d', 'ifft2d/ifft3d', 'rfft2d/rfft3d', and 'irfft2d/irfft3d' for
sharded input.

* `tf.experimental.strict_mode`
* Added a new API, `strict_mode`, which converts all deprecation warnings
Expand Down
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cpu_py310
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu)
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=()
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cpu_py311
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu)
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=()
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.11
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cpu_py39
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu)
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=()
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.9
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cuda_py310
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=()
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=(--gpus all)
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cuda_py311
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=()
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=(--gpus all)
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.11
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/continuous_linux_x86_cuda_py39
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config rbe)
TFCI_BUILD_PIP_PACKAGE_ARGS=()
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=(--gpus all)
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.9
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI=
TFCI_UPLOAD_LIB_URI=
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
23 changes: 23 additions & 0 deletions ci/official/envs/nightly_libtensorflow_linux_x86_cpu
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cpu.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config sigbuild_remote_cache_push)
TFCI_BUILD_PIP_PACKAGE_ARGS=(--cpu --nightly_flag)
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=()
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest"
TFCI_UPLOAD_LIB_URI="gs://libtensorflow-nightly/$(date -I)"
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=
TFCI_UPLOAD_WHL_PYPI_ENABLE=
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-cpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest"
Expand Down
23 changes: 23 additions & 0 deletions ci/official/envs/nightly_linux_x86_cuda_py310
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#TFCI_UPLOAD_LIB_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
#TFCI_UPLOAD_WHL_GCS_URI="gs://tensorflow-release-packages/$RELEASE_VERSION/$KOKORO_GIT_COMMIT_tensorflow"
TFCI_BAZEL_BAZELRC_ARGS=(--bazelrc ./ci/official/bazelrcs/cuda.bazelrc)
TFCI_BAZEL_COMMON_ARGS=(--config sigbuild_remote_cache_push)
TFCI_BUILD_PIP_PACKAGE_ARGS=(--nightly_flag)
TFCI_COPYBARA_ENABLE=0
TFCI_DOCKER_ENABLE=1
TFCI_DOCKER_GPU_ARGS=(--gpus all)
TFCI_DOCKER_IMAGE=tensorflow/build:latest-python3.10
TFCI_DOCKER_PULL_ENABLE=1
TFCI_GIT_DIR=$KOKORO_ARTIFACTS_DIR/github/tensorflow
TFCI_INDEX_HTML_ENABLE=1
TFCI_LIB_SUFFIX="-gpu-linux-x86_64"
TFCI_NIGHTLY_UPDATE_VERSION_ENABLE=1
TFCI_NVIDIA_SMI_ENABLE=1
TFCI_UPLOAD_LIB_ENABLE=
TFCI_UPLOAD_LIB_LATEST_ENABLE=
TFCI_UPLOAD_LIB_LATEST_URI="gs://libtensorflow-nightly/latest"
TFCI_UPLOAD_LIB_URI="gs://libtensorflow-nightly/$(date -I)"
TFCI_UPLOAD_WHL_GCS_ENABLE=
TFCI_UPLOAD_WHL_GCS_URI=
TFCI_UPLOAD_WHL_PYPI_ARGS=( --config-file "$KOKORO_KEYSTORE_DIR/73361_tensorflow_pypirc_using_global_api_token" --repository testpypi )
TFCI_UPLOAD_WHL_PYPI_ENABLE=
44 changes: 36 additions & 8 deletions ci/official/requirements_updater/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,10 @@
# limitations under the License.
# ==============================================================================

load("@python//3.8:defs.bzl", compile_pip_requirements_3_8 = "compile_pip_requirements")
load("@python//3.9:defs.bzl", compile_pip_requirements_3_9 = "compile_pip_requirements")
load("@python//3.10:defs.bzl", compile_pip_requirements_3_10 = "compile_pip_requirements")
load("@python//3.11:defs.bzl", compile_pip_requirements_3_11 = "compile_pip_requirements")

compile_pip_requirements_3_8(
name = "requirements_3_8",
extra_args = ["--allow-unsafe"],
requirements_in = "requirements.in",
requirements_txt = "requirements_lock_3_8.txt",
)

compile_pip_requirements_3_9(
name = "requirements_3_9",
extra_args = ["--allow-unsafe"],
Expand All @@ -45,3 +37,39 @@ compile_pip_requirements_3_11(
requirements_in = "requirements.in",
requirements_txt = "requirements_lock_3_11.txt",
)

compile_pip_requirements_3_9(
name = "requirements_3_9_release",
extra_args = [
"--allow-unsafe",
"-P keras-nightly",
"-P tb-nightly",
"-P tf-estimator-nightly",
],
requirements_in = "requirements.in",
requirements_txt = "requirements_lock_3_9.txt",
)

compile_pip_requirements_3_10(
name = "requirements_3_10_release",
extra_args = [
"--allow-unsafe",
"-P keras-nightly",
"-P tb-nightly",
"-P tf-estimator-nightly",
],
requirements_in = "requirements.in",
requirements_txt = "requirements_lock_3_10.txt",
)

compile_pip_requirements_3_11(
name = "requirements_3_11_release",
extra_args = [
"--allow-unsafe",
"-P keras-nightly",
"-P tb-nightly",
"-P tf-estimator-nightly",
],
requirements_in = "requirements.in",
requirements_txt = "requirements_lock_3_11.txt",
)
1 change: 0 additions & 1 deletion ci/official/requirements_updater/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ python_register_multi_toolchains(
default_version = default_python_version,
ignore_root_user_error = True,
python_versions = [
"3.8",
"3.9",
"3.10",
"3.11",
Expand Down
33 changes: 33 additions & 0 deletions ci/official/requirements_updater/release_updater.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
# Copyright 2023 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

# script to run pip-compile for keras, tensorboard, estimator deps.
# if there is a change in requirements.in then all lock files will be updated
# accordingly.

mv BUILD.bazel BUILD

SUPPORTED_VERSIONS=("3_9" "3_10" "3_11")

for VERSION in "${SUPPORTED_VERSIONS[@]}"
do
cp ../../../requirements_lock_"$VERSION".txt "requirements_lock_"$VERSION".txt"
bazel run --experimental_convenience_symlinks=ignore //:requirements_"$VERSION"_release.update
sed -i '/^#/d' requirements_lock_"$VERSION".txt
mv "requirements_lock_"$VERSION".txt" ../../../requirements_lock_"$VERSION".txt
done

mv BUILD BUILD.bazel
2 changes: 1 addition & 1 deletion ci/official/requirements_updater/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

mv BUILD.bazel BUILD

SUPPORTED_VERSIONS=("3_8" "3_9" "3_10" "3_11")
SUPPORTED_VERSIONS=("3_9" "3_10" "3_11")

for VERSION in "${SUPPORTED_VERSIONS[@]}"
do
Expand Down
6 changes: 3 additions & 3 deletions ci/official/utilities/rename_and_verify_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
# "manylinux_xyz" into the wheel filename.
set -euxo pipefail

cd $1
for wheel in build/*.whl; do
DIR=$1
for wheel in $DIR/*.whl; do
echo "Checking and renaming $wheel..."
time python3 -m auditwheel repair --plat manylinux2014_x86_64 "$wheel" --wheel-dir build 2>&1 | tee check.txt

# We don't need the original wheel if it was renamed
new_wheel=$(grep --extended-regexp --only-matching '/tf/pkg/\S+.whl' check.txt)
new_wheel=$(grep --extended-regexp --only-matching '\S+.whl' check.txt | tail -n 1)
if [[ "$new_wheel" != "$wheel" ]]; then
rm "$wheel"
wheel="$new_wheel"
Expand Down
Loading