Skip to content

Commit 6cfa8dc

Browse files
Remove debug print statement and fix Javadoc formatting in GGUF
1 parent 3c8dc02 commit 6cfa8dc

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/org/beehive/gpullama3/tensor

1 file changed

+1
-2
lines changed

src/main/java/org/beehive/gpullama3/tensor/GGUF.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public static GGUF loadGGUFMetadata(Path modelPath) throws IOException {
4949

5050
// Open file
5151
try {
52-
System.out.println("[GGUF] fileChannel = FileChannel.open(modelPath, READ, WRITE);");
5352
fileChannel = FileChannel.open(modelPath, READ, WRITE);
5453
// Ensure we start reading from the beginning of the file
5554
fileChannel.position(0);
@@ -141,7 +140,7 @@ public static Map<String, GGMLTensorEntry> loadTensorsStandard(FileChannel fileC
141140
* Loads GGUF tensor data using a TornadoVM-compatible memory layout.
142141
*
143142
* <p>This method parses the GGUF tensor list and memory-maps each tensor
144-
* in {@link TornadoNativeArray} layout directly from the underlying{@link FileChannel}.
143+
* in {@link TornadoNativeArray} layout directly from the underlying {@link FileChannel}.
145144
* For compatibility with {@link TornadoNativeArray} layout, an additional header is required at
146145
* the start of each tensor region. To satisfy this requirement, each tensor
147146
* is mapped using {@link FileChannel.MapMode#PRIVATE} starting 16 bytes

0 commit comments

Comments
 (0)