asagi4
cea1e5b30f
Initial embedded documentation
2025-06-21 13:15:58 +03:00
asagi4
55f0574ac7
Clarification
2025-06-21 12:22:05 +03:00
asagi4
167689cb8b
Add some explanations, see #121
2025-06-21 12:18:01 +03:00
asagi4
2be3abed44
Fix graph expansion node
2025-06-21 11:32:51 +03:00
asagi4
f86abb0816
Add tool for expanding lazy graphs
2025-06-21 11:19:40 +03:00
asagi4
a3537a5b2f
Some progress...
2025-06-13 21:55:17 +03:00
asagi4
af7e4542d1
Let's just bruteforce it
2025-06-13 21:49:59 +03:00
asagi4
f37f14b2a2
Does this work?
2025-06-13 21:33:51 +03:00
asagi4
7b8231d36b
...
2025-06-13 21:16:50 +03:00
asagi4
9b5e15fde3
Forgot to import mock
2025-06-13 21:06:14 +03:00
asagi4
d97d30074f
Encoder tests need a CPU mock too for CI
2025-06-13 21:03:52 +03:00
asagi4
b2eb9b88ba
Try running encoder tests in CI
2025-06-13 20:59:37 +03:00
asagi4
c9459e39f9
Fix #120 and add a test
2025-06-13 09:08:04 +03:00
asagi4
7507b2b55f
Also strip comments if they're at the start of a line
2025-06-12 23:30:54 +03:00
asagi4
cf1efecf4c
Fix minor mistake in doc
2025-06-12 23:12:13 +03:00
asagi4
ffcf94bcaa
Syntax
2025-06-12 23:05:44 +03:00
asagi4
ec8c40355c
Split documentation
2025-06-12 23:03:39 +03:00
asagi4
6e538e0abc
Fix markdown syntax
2025-06-12 22:42:45 +03:00
asagi4
25c44a1fbb
Documentation
2025-06-12 22:41:31 +03:00
asagi4
72d5490498
Add support for commenting out things with #
...
You can escape it with \#
Fixes #105
2025-06-12 22:26:34 +03:00
asagi4
3de4538326
Test cleanup
2025-06-12 21:38:56 +03:00
asagi4
f61af15d52
Update the description a bit
2025-06-10 19:05:52 +03:00
asagi4
8e59f140ff
v2.0.0-rc.8
v2.0.0-rc.8
2025-06-09 20:07:54 +03:00
asagi4
44044e962c
Very basic test for COUPLE
2025-06-09 20:06:25 +03:00
asagi4
04f36687c5
Fix skipping prompt segments by setting weight to 0
2025-06-09 20:05:50 +03:00
asagi4
3a8a360d03
Make testing less stupid
2025-06-09 19:53:05 +03:00
asagi4
d76331315a
Deduplicate tests
2025-06-09 19:15:55 +03:00
asagi4
e3a6050536
Don't call to() on every iteration
2025-06-09 18:37:53 +03:00
asagi4
7b001ace7b
Fix Attention Couple when combined with hooks on the CLIP (eg. LoRAs)
...
All clones of the AC hook must maintain the same state. This feels
a bit hacky though; there should be a better way
Fixes #119
2025-06-09 17:25:26 +03:00
asagi4
f1de65f257
Don't override existing hooks. Unfortunately, this doesn't make things quite work; hmm.
2025-06-09 16:22:25 +03:00
asagi4
11aaa0ac7b
Fix indexing error
2025-06-09 01:06:44 +03:00
asagi4
85de3ef0d3
Fix links
2025-06-08 23:09:16 +03:00
asagi4
a73260ff34
Split t5 tests
2025-06-08 23:05:11 +03:00
asagi4
50a2e0abbf
Change ATTN() to COUPLE() and remove need for AND
2025-06-08 23:01:59 +03:00
asagi4
5cf45ca264
Make functions generally callable without argument lists
2025-06-08 18:57:25 +03:00
asagi4
bd4a787400
Use a helper function to parse function splits
2025-06-08 18:56:30 +03:00
asagi4
c9e5bc25c3
Need to do imports after torch mock, otherwise running tests on CPU torch fails
2025-06-08 17:22:54 +03:00
asagi4
d11ffa6e25
Don't pass in a custom prefix to GraphBuilder
...
It breaks when PCLazyTextEncode etc. are called with list inputs.
Tests needed adjusting after the change.
Fixes #117
2025-06-08 16:49:37 +03:00
asagi4
8cc73a2e49
v2.0.0-rc.7
v2.0.0-rc.7
2025-06-08 01:17:08 +03:00
asagi4
27ae5f683e
Of course I forgot to test NegPiP
2025-06-08 01:15:16 +03:00
asagi4
68cda3663e
v2.0.0-rc.6
v2.0.0-rc.6
2025-06-08 01:02:16 +03:00
asagi4
3d46f705b6
Test downweighting too, and normalizations
2025-06-08 01:01:57 +03:00
asagi4
eec4bc4da9
Split old code into its own file for easy removal later
2025-06-08 00:55:43 +03:00
asagi4
3d3218e831
Tests for verifying refactor
2025-06-08 00:55:43 +03:00
asagi4
f4e57ec514
Switch on new implementation by default
2025-06-08 00:55:40 +03:00
asagi4
74f65c1b31
Use old from_masked batching for now
...
I can't figure out why from_masked works differently from down_weight
which also used that batching function but could be replaced with a simple
torch.cat
2025-06-08 00:50:26 +03:00
asagi4
4d94cca88f
Restore adv_encoding to original implementation to compare them
2025-06-08 00:44:56 +03:00
asagi4
4569ecccf9
Manual testing...
2025-06-08 00:44:31 +03:00
asagi4
192e6d30d4
refactor adv_encode
2025-06-07 21:41:13 +03:00
asagi4
67112f11e0
T5 makes STYLE(perp) return NaNs. Just replace them with 0
2025-06-07 21:41:13 +03:00