Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
fengzch-das
nunchaku
Commits
2b722e52
Commit
2b722e52
authored
May 20, 2025
by
muyangli
Browse files
fix: fix the compilation
parent
eea51ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/FluxModel.cpp
src/FluxModel.cpp
+1
-1
No files found.
src/FluxModel.cpp
View file @
2b722e52
...
...
@@ -924,7 +924,7 @@ std::tuple<Tensor, Tensor> FluxModel::forward_layer(size_t layer,
hidden_states
,
encoder_hidden_states
,
temb
,
rotary_emb_img
,
rotary_emb_context
,
0.0
f
);
}
else
{
std
::
tie
(
hidden_states
,
encoder_hidden_states
)
=
single_
transformer_blocks
.
at
(
layer
-
transformer_blocks
.
size
())
transformer_blocks
.
at
(
layer
-
transformer_blocks
.
size
())
->
forward
(
hidden_states
,
encoder_hidden_states
,
temb
,
rotary_emb_img
,
rotary_emb_context
,
0.0
f
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment