Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit bd42230

Browse files
committed
nightlies URL: s4tf-kokoro-artifact-testing => swift-tensorflow-artifacts
1 parent d6f4496 commit bd42230

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Transformer/Model.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func _vjpCausallyMasked(_ dotProducts: Tensor<Float>, enable: Bool)
105105
return (causallyMasked(dotProducts), identity)
106106
}
107107

108-
struct Attention: Layer {
108+
struct Attention: ParameterlessLayer {
109109
@noDerivative let dropout: Dropout<Float>
110110
@noDerivative let scale: Tensor<Float>
111111
@noDerivative let causal: Bool
@@ -177,7 +177,7 @@ func _vjpSplitQKV(_ input: Tensor<Float>)
177177
})
178178
}
179179

180-
struct MultiHeadAttention: Layer {
180+
struct MultiHeadAttention: ParameterlessLayer {
181181
var attention: Attention
182182
var wqkv: TimeDistributed
183183
var wo: TimeDistributed
@@ -213,7 +213,7 @@ struct MultiHeadAttention: Layer {
213213
}
214214
}
215215

216-
struct EncoderLayer: Layer {
216+
struct EncoderLayer: ParameterlessLayer {
217217
var selfAttention: MultiHeadAttention
218218
var selfAttentionDropout: Dropout<Float>
219219
var selfAttentionNorm: LayerNorm<Float>

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
FROM nvidia/cuda:9.2-cudnn7-devel-ubuntu18.04
44

55
# Allows the caller to specify the toolchain to use.
6-
ARG swift_tf_url=https://storage.googleapis.com/s4tf-kokoro-artifact-testing/latest/swift-tensorflow-DEVELOPMENT-ubuntu18.04.tar.gz
6+
ARG swift_tf_url=https://storage.googleapis.com/swift-tensorflow-artifacts/nightlies/latest/swift-tensorflow-DEVELOPMENT-ubuntu18.04.tar.gz
77

88
# Install Swift deps.
99
ENV DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)