Skip to content

Commit

Permalink
Updated gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Devesh Sarda committed Jan 20, 2024
1 parent c04d75a commit 2b8dac8
Show file tree
Hide file tree
Showing 33 changed files with 64 additions and 864 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,6 @@ Thumbs.db


# End of https://www.toptal.com/developers/gitignore/api/python

src/cpp/third_party
test_datasets
11 changes: 0 additions & 11 deletions docs/python_api/data/batch.rst

This file was deleted.

17 changes: 0 additions & 17 deletions docs/python_api/data/dataloader.rst

This file was deleted.

19 changes: 0 additions & 19 deletions docs/python_api/data/dense_graph.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/python_api/data/graph.rst

This file was deleted.

13 changes: 0 additions & 13 deletions docs/python_api/data/index.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/python_api/data/samplers/edge.rst

This file was deleted.

11 changes: 0 additions & 11 deletions docs/python_api/data/samplers/index.rst

This file was deleted.

9 changes: 0 additions & 9 deletions docs/python_api/data/samplers/negative.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/python_api/data/samplers/neighbor.rst

This file was deleted.

4 changes: 3 additions & 1 deletion src/cpp/include/configuration/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ struct TrainingConfig {
int batch_size;
shared_ptr<NegativeSamplingConfig> negative_sampling = nullptr;
int num_epochs;
int batches_per_epoch;
shared_ptr<PipelineConfig> pipeline = nullptr;
int epochs_per_shuffle;
int logs_per_epoch;
Expand All @@ -157,6 +158,7 @@ struct EvaluationConfig {
shared_ptr<NegativeSamplingConfig> negative_sampling = nullptr;
shared_ptr<PipelineConfig> pipeline = nullptr;
int epochs_per_eval;
int batches_per_epoch;
string checkpoint_dir;
bool full_graph_evaluation;
};
Expand Down Expand Up @@ -210,4 +212,4 @@ PYBIND11_EXPORT shared_ptr<MariusConfig> initMariusConfig(pyobj python_config);

shared_ptr<MariusConfig> loadConfig(string config_path, bool save = false);

#endif // MARIUS_CONFIG_H
#endif // MARIUS_CONFIG_H
2 changes: 1 addition & 1 deletion src/cpp/include/data/dataloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class DataLoader {

void setActiveNodes();

void initializeBatches(bool prepare_encode = false);
void initializeBatches(bool prepare_encode = false, bool in_training_mode = true);

void clearBatches();

Expand Down
6 changes: 4 additions & 2 deletions src/cpp/include/storage/graph_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

struct GraphModelStoragePtrs {
shared_ptr<Storage> edges = nullptr;
shared_ptr<Storage> edges_weights = nullptr;
shared_ptr<Storage> train_edges = nullptr;
shared_ptr<Storage> train_edges_dst_sort = nullptr;
shared_ptr<Storage> train_edges_weights = nullptr;
shared_ptr<Storage> train_edges_dst_sort = nullptr;
shared_ptr<Storage> train_edges_dst_sort_weights = nullptr;
shared_ptr<Storage> validation_edges = nullptr;
shared_ptr<Storage> validation_edges_weights = nullptr;
shared_ptr<Storage> test_edges = nullptr;
Expand Down Expand Up @@ -311,4 +313,4 @@ class GraphModelStorage {
void addFilterEdges(shared_ptr<Storage> filter_edges) { storage_ptrs_.filter_edges.emplace_back(filter_edges); }
};

#endif // MARIUS_SRC_CPP_INCLUDE_GRAPH_STORAGE_H_
#endif // MARIUS_SRC_CPP_INCLUDE_GRAPH_STORAGE_H_
55 changes: 0 additions & 55 deletions src/cpp/python_bindings/data/batch_wrap.cpp

This file was deleted.

Loading

0 comments on commit 2b8dac8

Please sign in to comment.