| import unittest | |
| from deepseek_vision.components import component_shards | |
| class ComponentTests(unittest.TestCase): | |
| def test_selects_only_matching_shards(self): | |
| index = {"weight_map": {"vision.a": "one", "vision.b": "two", "text.a": "three"}} | |
| self.assertEqual(component_shards(index, "vision."), ["one", "two"]) | |
| if __name__ == "__main__": | |
| unittest.main() | |
Xet Storage Details
- Size:
- 381 Bytes
- Xet hash:
- 723aff35e14811c6b2620a649b6726850a38f6b830827209b151a27caaa721f9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.