Skip to content

Commit f382f38

Browse files
committed
update
1 parent 1f9a56e commit f382f38

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/testing_latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Run tests
7171
if: steps.changed-files-specific.outputs.only_changed != 'true'
72-
timeout-minutes: 20
72+
timeout-minutes: 25
7373
run: |
7474
uv run --no-project pytest --cov --cov-report=xml --durations 10
7575

examples/llm/molecule_gpt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ def get_clippable_params(params):
9393
# Create model ===============================================
9494
llm = LLM(
9595
# model_name='lmsys/vicuna-7b-v1.5',
96-
model_name='TinyLlama/TinyLlama-1.1B-Chat-v0.1',
96+
model_name='Qwen/Qwen3-0.6B',
9797
num_params=1,
9898
dtype=torch.bfloat16,
99+
sys_prompt='You are an agent, answer my questions.',
99100
)
100101

101102
graph_encoder = GINEConv(

torch_geometric/llm/models/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def get_llm_kwargs(required_memory: int, dtype=torch.dtype) -> Dict[str, Any]:
4343
}
4444
kwargs['low_cpu_mem_usage'] = True
4545
kwargs['device_map'] = 'auto'
46-
kwargs['dtype'] = dtype
46+
kwargs['torch_dtype'] = dtype
4747

4848
return kwargs
4949

0 commit comments

Comments
 (0)