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

tests: force snapshots to have LF line-endings #110

Merged
merged 1 commit into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.ambr text eol=lf
70 changes: 35 additions & 35 deletions tests/__snapshots__/test_Compact.ambr
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# serializer version: 1
# name: test_Compact_community
ImageModelDescriptor(
architecture='RealESRGAN Compact',
input_channels=3,
output_channels=3,
purpose='SR',
scale=2,
size_requirements=SizeRequirements(minimum=0, multiple_of=1, square=False),
supports_bfloat16=True,
supports_half=True,
tags=list([
'64nf',
'16nc',
]),
tiling=<ModelTiling.SUPPORTED: 1>,
)
# ---
# name: test_Compact_realesr_general_x4v3
ImageModelDescriptor(
architecture='RealESRGAN Compact',
input_channels=3,
output_channels=3,
purpose='SR',
scale=4,
size_requirements=SizeRequirements(minimum=0, multiple_of=1, square=False),
supports_bfloat16=True,
supports_half=True,
tags=list([
'64nf',
'32nc',
]),
tiling=<ModelTiling.SUPPORTED: 1>,
)
# ---
# serializer version: 1
# name: test_Compact_community
ImageModelDescriptor(
architecture='RealESRGAN Compact',
input_channels=3,
output_channels=3,
purpose='SR',
scale=2,
size_requirements=SizeRequirements(minimum=0, multiple_of=1, square=False),
supports_bfloat16=True,
supports_half=True,
tags=list([
'64nf',
'16nc',
]),
tiling=<ModelTiling.SUPPORTED: 1>,
)
# ---
# name: test_Compact_realesr_general_x4v3
ImageModelDescriptor(
architecture='RealESRGAN Compact',
input_channels=3,
output_channels=3,
purpose='SR',
scale=4,
size_requirements=SizeRequirements(minimum=0, multiple_of=1, square=False),
supports_bfloat16=True,
supports_half=True,
tags=list([
'64nf',
'32nc',
]),
tiling=<ModelTiling.SUPPORTED: 1>,
)
# ---
Loading